Custom made actuator

Hi all,

I have a pixracer in my ground vehicle(steering and throttle). I have read through https://dev.px4.io/en/flight_controller/pixracer.html as well as https://docs.px4.io/en/getting_started/flight_controller_selection.html without finding out how to solve my problem.

For the steering I have made a custom actuator, which consist of a brushless motor operated by an esc, then I have 10 turn potentiometer as feedback giving me the position of the steering shaft. I have written an arduino code running on a nano board which then takes in the pwm signal (1150ms full left,1870ms full right). 

But instead of having an extra board(the nano) I was wondering if I could implement my code inside the px4 software instead.

Is this possible, which code block should I modify?

Note: I can post my arduino code her if neccesary.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity