beagleboard / librobotcontrol

Robotics Focused library for embedded Linux computers. Mirror of https://git.beagleboard.org/beagleboard/librobotcontrol
https://beagleboard.org/librobotcontrol
MIT License
194 stars 154 forks source link

Request for rc_dsm_passthrough example that utilizes the h bridge motor drivers #193

Open ninjatrent opened 3 years ago

ninjatrent commented 3 years ago

This is a request for a rc_dsm_passthrough example that uses the h bridge motor drivers in place of the servo outputs.

I've tried unsuccessfully (for about two years) to create a working file from the project template, rc_dsm_passthrough, and rc_test_motors examples.

I would like to use one of the sticks on a transmitter to manually control the motor outputs m1 and m2 for skid-steer control of a tracked chassis. Ideally the control would be: Up on the stick, both motors move forward. Down on stick, motors move in reverse. Left on stick, right motor forward and left motor reverse. Right on stick, right motor reverse and left motor forward.

I am very inexperienced with programming in C and despite my attempts to learn, it's been difficult to apply what little I've learned to writing code that works.

Thank you for your time reading this request and for any help you may be able to offer.