Closed Ahrovan closed 7 years ago
Try:
rosrun mavros mavsys mode -c GUIDED
rosrun mavros mavcmd takeoff 0 0 0 0 5
@Ahrovan you still have problems?
@vooon rosrun mavros mavsys mode -c GUIDED
or
ros::ServiceClient cl = n.serviceClient
This problem solved. thx
@Ahrovan What did you do to solve this problem?
Takeoff work with mavproxy, and "takeoff 5" command -> result about 5meter altitude, but :
result of this code with mavros is not 5meter altitude, but about 1meter.
for example plot show - takeoff 5 (in GUIDED+mavproxy) and takeoff 5 (in LOITER+mavros)
ArduPilot(Copter-3.5.0-rc7 ), ros-kinetic-mavros(0.18.7), Gazebo8 uctf SITL