Modify thrust_commander to only publish PWM on timer callback
Closed this issue · 0 comments
toyat522 commented
Currently, PWM values are sent whenever the thruster inputs are received. However, when thruster inputs are received over a certain rate, MAVROS sometimes gets overloaded. We can try to limit this by separating out the service call into a timer callback with timer period 1/8 (I think this is what we previously decided as the maximum rate of the pixhawk).