How can I get pwm navdata
I just starting working with the tumsimulator, ardroneautonomy and tumardrone packages. I am using the simulation in tumsimulator and not an actual drone. I first ran the launch file
roslaunch cvgsimgazebo ardrone_testworld.launch
However, when I run
rostopic echo /ardrone/navdata magx, magy, magz, pressure, temp, windspeed, windangle, windcompangle, motor1, motor2, motor3, motor4, tags_count are all equal to 0 and not changing.
I mostly want to obtain the motor1,2,3,4 value.
I tried adding
to the .launch file but still could not obtain the pressure value.
I also ran
rosrun ardroneautonomy ardronedriver enablenavdatapwm:= True then it got stuck in Getting AR.Drone version ...
Asked by Hamidreza on 2019-01-19 07:47:59 UTC
Comments