navuboy / rl_ardrone

Autonomous Navigation of UAV using Reinforcement Learning algorithms.
179 stars 53 forks source link

Probelm in publishing the message #1

Closed fei123ilike closed 5 years ago

fei123ilike commented 5 years ago

I created a package based on the Q-Learning.py script, installed all the dependencies, and could not visualize it in the gazebo.

I checked the rostopic, they were /ardrone/land /ardrone/navdata /ardrone/takeoff /cmd_vel /ground_truth/state /rosout /rosout_agg

Then I tried to print out the info of the topic using rostopic echo /ardrone/navdata, still nothing.

Also I checked the rostpic, they were /control_script /rosout

Can you help me?

a-w-1806 commented 5 years ago

Hi! I successfully launch an environment in gazebo and then launch the Q-Learning.py. However, I observed that the drone jumped up for once and doing nothing since then. Have you figured out how to fix this? Thanks in advance!

navuboy commented 5 years ago

@fei123ilike I guess you must have missed on some of the dependencies/packages while settingup. DO check once again.

fei123ilike commented 5 years ago

Problem solved by installing gazobo_ros and tum_ardrone package.