Arm the RB5 drone with Mavros only
-
Dear SIr or Madam,
I wish to use the mocap data instead of the GPS for telling the drone's position to use it indoor.
I wish to arm the drone with mavros or QGC settings. I have tried setting parameter COM_RC_IN_MODE and COM_ARM_WO_GPS to 4 and 1. Also I want to use the mode OFFBOARD. The QGC fails so I turned to Mavros instead.
I calibrate the senson in QGC beforehand and now I wish to arm the drone via:
ros2 service call /mavros/cmd/arming mavros_msgs/srv/CommandBool "{value: true}"
The status of the drone is always "STANDBY" but not "ACTIVE".
Could the drone be armed with Mavros only? Or is there anything I ignored?
Best wishes,
Selina -
@selina QGC fails to arm in offboard mode or fails to go into offboard mode at all? What version of VOXL SDK are you using?
-
QGC could go into offboard mode. I can also make the drone into offboard mode via mavros. But the problem is that it still cannot arm and then takeoff through mavros control (udp connection).
I am using qualcomm flight rb5 drone with default settings. Do I need to consider the specific version of VOXL SDK in my drone?
I have changes the COM_ARM_WO_GPS to 1 for not using GPS.
QGC complains about Not Ready still.
-
@selina Can you get a PX4 log? You would need to, from the command line, issue
px4-logger on
, wait a couple of seconds, try to arm, then issuepx4-logger off
. You should now see a new log in/data/px4/log
somewhere. -
Thanks for answering! I have managed to solved this problem by using proper MOCAP data instead of GPS.
I did not test in the QGC. But for mavros I succesfully armed the drone, which is what I really want for doing more control.
I wonder if there is any tutorial or documentation for doing low-level control, such as to do control specifically on motors, PWM, instead of using PX4 to do high-level control.
Thanks for your help again!