Multiranger connected with flowdeck

Discussions about all things Bitcraze
Post Reply
RyanMco
Expert
Posts: 159
Joined: Tue Apr 09, 2019 6:15 am

Multiranger connected with flowdeck

Post 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
RyanMco
Expert
Posts: 159
Joined: Tue Apr 09, 2019 6:15 am

Re: Multiranger connected with flowdeck

Post by RyanMco »

Any help guys?! please I'm stuck in !!
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Multiranger connected with flowdeck

Post 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.
Post Reply