Closed jsoone24 closed 3 years ago
Through simulation(SITL), it is checked gps value, velocity, altitude, battery voltage, and waypoint index being gathered correctly. Should change to mode "GUIDED" to takeoff using rosservice takeoff. If want to use battery percentage, should be subscribe /mavros/battery and multiply 100 GPS value from /mavros/global_position/raw/gps_vel is ellipsoid height. So use /mavros/global_position/rel_alt for relative altitude.
useful mavros commands
GCS is receiving information correctly, but not mavros. Mavros topic is not published. To solve. make sure run in terminal "rosservice call /mavros/set_stream_rate 0 10 1"