krishnan793 / ar2landing_neural

8 stars 6 forks source link

error when running rosrun ar2landing_gazebo autonomous_landing.py~ #1

Closed nguyentranus1989 closed 6 years ago

nguyentranus1989 commented 7 years ago

Hi, I tried to run rosrun ar2landing_gazebo autonomous_landing.py~ and i got this error: Traceback (most recent call last): File "/home/nguyentran/catkin_ws/src/ar2landing_neural/ar2landing_gazebo/src/autonomous_landing.py~", line 101, in search_pattern() File "/home/nguyentran/catkin_ws/src/ar2landing_neural/ar2landing_gazebo/src/autonomous_landing.py~", line 62, in search_pattern controller.SetCommand(0,0,0,1.5) NameError: global name 'controller' is not defined

Would you please point out what i did wrong? Thank you so much

krishnan793 commented 7 years ago

rosrun ar2landing_gazebo autonomous_landing.py is the correct command not rosrun ar2landing_gazebo autonomous_landing.py~