asked 2012-01-14 14:58:30 -0500
This post is a wiki. Anyone with karma >75 is welcome to improve it.
I ran some tests on the ardrone to identify the tags .The camera of the ardrone quit well recognizes the tags.This was evident since there was a tag identified on the image window outlining the tag with a green line.I have some pictures of tag identification,since I have only one karma,I am not able to upload.
These are the commands which are executed for the tag identification and the flight of the ardrone.
rosrun ardrone_brown ardrone_driver //synching the computer with the ardrone wifi and acquiring connection
rosrun ar_recog ar_recog image:=/ardrone/image_raw //directs the camera feed of the ardrone to the ar_ecog
rosrun image_view image_view image:=/ar/image //this windows shows the image window of the ardrone which is monitored by ar_recog .It is able to recognize image tags and outline it in green outline
rosrun nolan3d nolan3d.py //this is the target follower which indeed communicates with the ardrone driver.here is the topic info
metallo@ubuntu:~$ rosnode info /nolan_3014_1326654517968
--------------------------------------------------------------------------------
Node [/nolan_3014_1326654517968]
Publications:
* /cmd_vel [geometry_msgs/Twist]
* /rosout [rosgraph_msgs/Log]
Subscriptions:
* /tags [ar_recog/Tags]
Services: None
contacting node http://ubuntu:60922/ ...
Pid: 3014
Connections:
* topic: /rosout
* to: /rosout
* direction: outbound
* transport: TCPROS
* topic: /cmd_vel
* to: /ardrone_driver //note here it communicates with the ardrone driver
* direction: outbound
* transport: TCPROS
* topic: /tags
* to: http://ubuntu:58952/
* direction: inbound
* transport: TCPROS
rosrun drone_teleop drone_teleop.py(using this I set the ardrone on flight)
This is where I discovered the problem.I held the tag in an optimal distance in-front of the drone.The tag I held was a big one ( 8.5 inches x 11 inches).But the drone does not seem to fly to it and neither align itself to the tag when held close it .
any suggestions please.. hope the question is more informative now..
Here is what I did. I made sure the drone was on air. Then I started the node Nolan3D package by running the python program in its bin.Then I held the image tag.The drone did not fly to me and even when the image tag was close , it was not able to align its movement according to the tag.
Any suggestions please.
When you hold up the ar-tag, try to not place your fingers on the surface of the tag. I've noticed that the ar-recog sometimes fails to recognize the tag if there are fingers on the surface. This is just a tip in addition to the solution proposed by "tjay" above.
answered 2012-01-15 13:07:24 -0500
This post is a wiki. Anyone with karma >75 is welcome to improve it.
It looks like the drone_teleop node is continuously publishing to cmd_vel, which is probably overriding any commands sent by the nolan3d node. Try stopping the drone_teleop node once your AR drone is in the air.
Asked: 2012-01-14 14:58:30 -0500
Seen: 282 times
Last updated: Jan 17 '12
Problem with AR Tag Recognition packages
Suggestion of packages for following the vanishing point derived in opencv
Issues with gcc compiler on linux-10.10(64 bit) [closed]
Problem with Linking SDL when compiling ardrone_brown node
How do estimate AR drone height
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.