arming and takeoff with mavros !

asked 2018-05-31 17:35:34 -0500

zubair gravatar image

Hello

I am successfully able to launch mavros_posix_sitl.launch, but i am unaware of using mavros command like arming and takeoff. However i tried using rosservice call /mavros/cmd arming and set it to true but its returning me FALSE.

Can any one help me with what actually i am missing out here.

Thanks

edit retag flag offensive close merge delete

Comments

1

Can you provide more info about your problem (some log when you try arming the copter etc.)?

l4ncelot gravatar image l4ncelot  ( 2018-06-01 02:26:12 -0500 )edit

which firmware? and in which mode you are trying to arm the controllers ? For example, if you are using ArduPilot firmware and operating in "Guided Mode" then you first need GPS fix to arm the controller. Kindly post all the specific for us to help. use this to arm "rosrun mavros mavsafety arm"

accio gravatar image accio  ( 2018-06-01 06:25:39 -0500 )edit