Search found 20 matches

by gwiily
Tue Mar 28, 2017 12:17 am
Forum: Developer Discussions
Topic: how to print the position with the autonomousSequence.py
Replies: 3
Views: 2530

Re: how to print the position with the autonomousSequence.py

Congratulations to you autonomous flight! You are pretty close! The thing is that the point of the synchronous parts of the library is to do one thing at the time without having to care about callbacks. What you want to do is to do two things at the same time; running the sequence and logging. Luck...
by gwiily
Sun Mar 26, 2017 2:02 pm
Forum: Developer Discussions
Topic: how to print the position with the autonomousSequence.py
Replies: 3
Views: 2530

how to print the position with the autonomousSequence.py

https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/autonomousSequence.py I have successfully completed the task of automatic flight using the autonomousSequence.py, but now I want to print the crazyflie's position. I tried to change the code, but still failed.Here is the code I a...
by gwiily
Sat Feb 25, 2017 4:09 am
Forum: Developer Discussions
Topic: [sovled]How to run multiple crazyflie with TDMA
Replies: 2
Views: 2173

[sovled]How to run multiple crazyflie with TDMA

I have reference this document: https://github.com/bitcraze/crazyflie-firmware/commit/517c583e482c064620815ba56bd37c0385d81e23 but I have no idea to run the crazyflie in ROS, I don't know the command or which launchfile. Anyone know this problem? And another question: When I run the python script (h...
by gwiily
Thu Jan 05, 2017 11:33 am
Forum: Developer Discussions
Topic: [sovled]How to use the automousSequence
Replies: 3
Views: 2537

Re: How to use the automousSequence

Hi, This example will work if the Crazyflie know its position, like in the loco positioning system. There is more doc on how to use it on the wiki: https://wiki.bitcraze.io/doc:lps:index#controlling_autonomous_crazyflie_without_ros Thanks for your replay.I have looked this doc before, but now I don...
by gwiily
Thu Jan 05, 2017 7:06 am
Forum: Developer Discussions
Topic: [sovled]How to use the automousSequence
Replies: 3
Views: 2537

[sovled]How to use the automousSequence

I saw this

https://github.com/bitcraze/crazyflie-l ... equence.py

but i don't know how to enable it, and let the crazyflie fly in the air.

Anyone know this?

Thanks.
by gwiily
Mon Nov 14, 2016 1:45 am
Forum: Developer Discussions
Topic: LPS visualization don't work[solved]
Replies: 8
Views: 5026

Re: LPS visualization don't work

This really has the effect!

Thanks!
by gwiily
Thu Oct 27, 2016 2:30 pm
Forum: Developer Discussions
Topic: LPS visualization don't work[solved]
Replies: 8
Views: 5026

Re: LPS visualization don't work

You should setup udev to be able to run without superuser right. See there: https://github.com/bitcraze/crazyflie-lib-python#linux Can you describe a bit more your problem: 1 - What launchfile are you using 2 - Are you using an x-box gamepad 3 - What are you doing that does not work (ie. what butto...
by gwiily
Tue Oct 25, 2016 7:33 am
Forum: Developer Discussions
Topic: LPS visualization don't work[solved]
Replies: 8
Views: 5026

Re: LPS visualization don't work

I try to run ros with super user,and it worked. When I move the plane , the green point moved.

But now I try to control it with gamepad, the plane has no response.
by gwiily
Tue Oct 25, 2016 3:23 am
Forum: Developer Discussions
Topic: LPS visualization don't work[solved]
Replies: 8
Views: 5026

Re: LPS visualization don't work

Maybe the crazyradio does't work,Normally,I use the "sudo cfclient" to run the cfclient,but I don't know how to run ros with super user.
by gwiily
Tue Oct 25, 2016 2:51 am
Forum: Developer Discussions
Topic: LPS visualization don't work[solved]
Replies: 8
Views: 5026

Re: LPS visualization don't work

Hi, The message from rostopic comes from fact that the workspace 'devel/setup.bash' has not been sourced in your terminal and maybe you are missing the catkin_make step. This file should be sourced in all the terminal you are using. One way is to add the line: source $HOME/catkin_ws/devel/setup.bas...