Page 1 of 1

Multiranger connected with flowdeck

Posted: Sun May 12, 2019 11:20 am
by RyanMco
Hi guys, I've flowdeck connected successfully to my crazyflie, I verified it's working and all fine, crazyflie is hovering .. I ran the python script for hovering and doing circles and it's doing fine, now I connected my multiranger and it's not working, how can I check if my multiranger working ?
I want that my crazyflie when doing circles(as what found in the script) also if there's "obstacle" to avoid from it, how can I check that my multiranger is working? I connected it to my crazyflie, I used the python script that I used on my flowdeck for doing circles and other things .. but my multiranger isn't working .. any help please?!!

my firmware is already recognized on flowdeckv2 configuration and multiranger, I used firmware 2010 - updated one

Re: Multiranger connected with flowdeck

Posted: Sun May 12, 2019 8:46 pm
by RyanMco
Any help guys?! please I'm stuck in !!

Re: Multiranger connected with flowdeck

Posted: Mon May 13, 2019 10:02 am
by arnaud
Hi,

The multiranger deck exposes a brunch of log variables with the range measured by each sensor.

You can follow the getting started guide to get the 'push' demo to work: https://www.bitcraze.io/getting-started ... ng-bundle/. As you can see in the example there is an easy-to-use API to access the multiranger.

If you want to see the data from the sensor, you can log range.up/range.front/range.left/range.right/range.back. You can do so in the client of in your scripts.

There is also a ready-to-use example in the lib for the push demo, if everything is already working you could just run it: https://github.com/bitcraze/crazyflie-l ... er_push.py.