Page 1 of 1

test crazyflie-firmare dwm1000 fail

Posted: Sun Jun 26, 2016 3:31 pm
by justinleeyang
hi,all:
I want to try crazyflie-firmare dwm1000 code, then I have forced the code compiled, add the follow config to tools/make/config.mk:

Code: Select all

CFLAGS += -DDECK_FORCE=bcDWM1000
DEBUG=1
from the crazyflie-client-python, I find the dwm1000 init successfully:
dwm1001test1.png
then I have already deploy the 6 Anchors, but i find crazyflie's dwm1000(tag) and anchors no get distance, because I know that when measure the distance, dwm1000 will control the TX/RX/SFD/RXOK toggle, all anchors's TX/SFD/RXOK have no toggle. so I want to know if not the crazyflie-firmware's issue, or other?
the follow picture is lps-ros, the tag have no move.
dwm1001test2.png

Re: test crazyflie-firmare dwm1000 fail

Posted: Mon Jul 04, 2016 7:32 am
by arnaud
Hi justinleeyang,

The first thing is to verify that you are getting range measurement from the Crazyflie, you can do that by plotting the ranges in the Crazyflie client and/or by printing the ranges in ros using

Code: Select all

rosropic echo /ranging
If there is no ranging you will need to solve that first.

/Arnaud

Re: test crazyflie-firmare dwm1000 fail

Posted: Tue Jul 05, 2016 6:06 am
by justinleeyang
hi,

Thanks! the newest crazyflie-firmware is OK?
I will try the command: rosropic echo /ranging

Re: test crazyflie-firmare dwm1000 fail

Posted: Tue Jul 05, 2016 7:09 am
by arnaud
Yes the latest firmwares from git Master branch are working.

Re: test crazyflie-firmare dwm1000 fail

Posted: Tue Sep 20, 2016 8:12 am
by gwiily
I have a same problem with you,no matter anchor or dwm's deck ,there are no toggle.
the command should be

Code: Select all

rostopic echo /ranging
,but it show the

Code: Select all

ERROR: Unable to communicate with master!
I still can't find where the problem is.

thank u~

Re: test crazyflie-firmare dwm1000 fail

Posted: Tue Sep 20, 2016 8:27 am
by arnaud
Have you launched the launchfiles? (the "roslaunch" commands documented on the wiki: https://wiki.bitcraze.io/doc:lps:index#ros).

This error look like the roscore server has not been started and it is started by roslaunch.