uzh-rpg / rpg_quadrotor_control

Quadrotor control framework developed by the Robotics and Perception Group
Other
582 stars 183 forks source link

Write Sbus message #85

Open Pratiquea opened 5 years ago

Pratiquea commented 5 years ago

I have tried executing the sbus using launch file using the command roslaunch sbus_bridge sbus_bridge.launch The transmitter works fine with the sbus node, but I am not able to figure out the function to write sbus message to flight controller. Is there a function to directly write the values (channel, failsafe and lostframe) to sbus?

foehnx commented 5 years ago

Hi @Pratiquea The wiki page SBUS Bridge Overview gives a short overview and mentions that you can send ControlCommand messages to the bridge and it forwards them to the flight controller.

It is not made to send arbitrary messages and right now, but if you implement this we would be happy if you contribute it to our repository. I'm assigning @kohlerj and @mfaessle since they might have more insight on this and could correct me if I'm wrong.