First time posting something here! Thanks in advance for any help!
Background: I'm working on a senior design project to create a motion sensing board that will act as a controller for a quadcopter. So when the board tilts, the quadcopter tilts in that same direction.
My choice of uC with autopilot software on it is going to be the PX4 I believe.
The PX4 says it expects some CPPM signal from the receiver. Because I won't be using a typical receiver, I will have some uC onboard the quadcopter (arduino probably) that will take the data from my own receiver and translate it into CPPM for the PX4.
My question: What does the PX4 believe the CPPM to be? Does it think that the CPPM signal is the power that should be sent to the motors? Or does it believe that signal to be sort of like a servo position...i.e. the qaudcopter should be tilted sideways if two of the PPM's are larger that the other two?
Thanks again for any assistance,
CPPM represents the position of the control sticks and switches on the users RC transmitter.
you don't even need to do that, It's not easy to do the timings for PPM. You can just send the MAVLINK commands to the serial port on the Pixhawk. For APM you can use RC_OVERIDE. for PX4 you should ask them which MAVLink control messages they support
see https://gitter.im/PX4/Firmware to chat with them
Thanks for the replies so far guys. On my lunch break right now for work, later this evening though I'll check out that link Bill.
I've looked into the MAVLINK commands a little bit and it seems pretty difficult.
Out of curiosity, why do you think it would be difficult to do the timings for the ppm? I'm pretty well versed in programming, and this seems like a simple bit-banging practice.