cvar-upm / cvg_ardrone2_ibvs

Vision based control for object following in UAVs
http://robotics.asu.edu/ardrone2_ibvs/
Other
87 stars 46 forks source link

OpenTLD #4

Open janis2015 opened 9 years ago

janis2015 commented 9 years ago

Hi, After the installation, everything went well as expected but when I run the whole thing, I could not get pictures on the opentld_gui, do I need to install some other packages? Someone can help? Thank you.

jespestana commented 9 years ago

Hi!

Did you calibrate the camera of your AR Drone? See the issue #3 ( https://github.com/Vision4UAV/cvg_ardrone2_ibvs/issues/3 ).

janis2015 commented 9 years ago

Thank you for your reply,it was solved now.

elmtam commented 8 years ago

Hi @jespestana

I keep getting this message (please look at screenshot)on the TLDGUI interface (drone interface) tab. I think it has something to do with the environment variables but I retraced and done the steps many times. This message has also appeared on the other tabs.

I am unable to track objects and cannot toggle on switching the tracker on or even the controller to on. Any help is appreciated.

screenshot from 2016-03-13 06 09 56

AloshkaD commented 8 years ago

I'm getting the same DRONE_STACK error, have you had any success solving it? Thanks!

jespestana commented 8 years ago

You have to export the environment variable in your ~/.bashrc file by adding these two lines (with the path to your ros workspace and our repository): export DRONE_WORKSPACE=/home/ale/workspaces/ros/cvg_quadrotor_swarm export DRONE_STACK=/home/ale/workspaces/ros/cvg_quadrotor_swarm/stack

You can check that the environment variable is set by testing with this command: [command] echo $DRONE_STACK [output] /home/ale/workspaces/ros/cvg_quadrotor_swarm/stack

On Sun, Jul 10, 2016 at 5:56 AM, Ale notifications@github.com wrote:

I'm getting the same DRONE_STACK error, have you had any success solving it? Thanks!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Vision4UAV/cvg_ardrone2_ibvs/issues/4#issuecomment-231569326, or mute the thread https://github.com/notifications/unsubscribe/ACwb5v3AqU-KpbxMArZt5icyvuqicPxOks5qUG13gaJpZM4FVdfQ .

AloshkaD commented 8 years ago

Thanks Jespestana, I'm guessing that you are refering to the cvg_ardrone2_ibvs and not the cvg_quadrotor_swarm. I don't have the swarm backage installed bacause I'm not using it. Therefore my bash should have the following,and please correctme if I'm wrong

export DRONE_WORKSPACE=/home/aerostack/workspace/ros/cvg_ardrone2_ibvs export DRONE_STACK=/home/aerostack/workspace/ros/cvg_ardrone2_ibvs/src/quadrotor_stack

Now, you will see in the screenshot how both DRONE_STACK and and IBVS_STACK are pointing to the same directory, is that ok?

image

AloshkaD commented 8 years ago

Here is joselus comment on this problem on the Aerostack. It worked for me and therefore you can close this. Hi, In the previous versions of Aerostack (V0.x), we used two environmental variables: $DRONE_STACK and $DRONE_WORKSPACE. Now, in the current version (V1.x), we changed these variables to: $AEROSTACK_STACK and $AEROSTACK_WORKSPACE. We tried to update all the launchers, but we might have missed some. Please, if you ever see one of the old environmental variables, change them to the new ones. Everything should work. Bests

Btw, here is an example of where I've changed DRONE_STACK to AEROSTACK_STACK. I searched for all available launch files and looked inside each one of them. There were at least 5 files that required to be changed.

/home/aerostack/workspace/ros/cvg_ardrone2_ibvs/src/quadrotor_stack/stack/dronePerception/openTLD/droneOpenTLDTranslatorROS/launch/droneOpenTLDTranslatorROSModule.launch