I am trying to send commands from laptop to drone using telemetry module. I could takeoff the drone but I couldn't move it. I tried ros2 service call /mavros/cmd/command mavros_msgs/srv/CommandLong "{command: 0, confirmation: 0, param1: 1.0, param2: 0.0, param3: 0.0, param4: 0.0, param5: 0.0, param6: 0.0, param7: 1.0}" command but the response is mavros_msgs.srv.CommandLong_Response(success=False, result=3)
Issue details
I am trying to send commands from laptop to drone using telemetry module. I could takeoff the drone but I couldn't move it. I tried ros2 service call /mavros/cmd/command mavros_msgs/srv/CommandLong "{command: 0, confirmation: 0, param1: 1.0, param2: 0.0, param3: 0.0, param4: 0.0, param5: 0.0, param6: 0.0, param7: 1.0}" command but the response is mavros_msgs.srv.CommandLong_Response(success=False, result=3)
How can I move the drone from terminal?
MAVROS version and platform
Mavros: 2.7 ROS: Humble Ubuntu: 22.04
Autopilot type and version
[ ] ArduPilot
Node logs
Diagnostics