Multiranger connected with flowdeck

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

Multiranger connected with flowdeck

Post by RyanMco » Sun May 12, 2019 11:20 am

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
Member
Posts: 34
Joined: Tue Apr 09, 2019 6:15 am

Re: Multiranger connected with flowdeck

Post by RyanMco » Sun May 12, 2019 8:46 pm

Any help guys?! please I'm stuck in !!

arnaud
Bitcraze
Posts: 2028
Joined: Tue Feb 06, 2007 12:36 pm

Re: Multiranger connected with flowdeck

Post by arnaud » Mon May 13, 2019 10:02 am

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