• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

    Arm the RB5 drone with Mavros only

    Ask your questions right here!
    2
    5
    163
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      selina
      last edited by 13 Feb 2025, 20:48

      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

      E 1 Reply Last reply 14 Feb 2025, 00:05 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @selina
        last edited by 14 Feb 2025, 00:05

        @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?

        S 1 Reply Last reply 16 Feb 2025, 19:50 Reply Quote 0
        • S
          selina @Eric Katzfey
          last edited by 16 Feb 2025, 19:50

          @Eric-Katzfey

          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.

          E 1 Reply Last reply 16 Feb 2025, 23:20 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @selina
            last edited by 16 Feb 2025, 23:20

            @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 issue px4-logger off. You should now see a new log in /data/px4/log somewhere.

            S 1 Reply Last reply 18 Feb 2025, 18:28 Reply Quote 0
            • S
              selina @Eric Katzfey
              last edited by 18 Feb 2025, 18:28

              @Eric-Katzfey

              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!

              1 Reply Last reply Reply Quote 0
              1 out of 5
              • First post
                1/5
                Last post
              Powered by NodeBB | Contributors