ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Can't arm my copter using rosservice

asked 2017-07-13 10:21:24 -0600

rayane gravatar image

updated 2017-07-13 10:22:27 -0600

Hey, I am using Arducopter and I tried to do takeoff and land Using MAVROS package. After setting mode I run

rosservice call /mavros/cmd/arming "value: true"

But I have an output saying:

success: False
result: 4

Please any ideas!! Thanks

edit retag flag offensive close merge delete

Comments

Hey! any improvement on this ? Still have the same issue

polde gravatar image polde  ( 2018-02-13 04:05:42 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-05-24 07:30:13 -0600

Avio gravatar image

Have you armed the copter first?

rosrun mavros mavsafety arm (please bear in mind that this will likely spin up motors, so REMOVE PROPS!)

I'm still not able to force a disarm, I have to "land" first :)

rosrun mavros mavcmd land 0.0 0.0 0.0 10.0 (10.0 is the altitude my barometer is happy with)

I get many Request failed. Check mavros logs but I still don't know where logs are, I'll keep searching.

For the full list of MAVROS capabilities, take a look at the wiki.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-07-13 10:21:24 -0600

Seen: 1,102 times

Last updated: May 24 '18