Search found 132 matches

by jonasdn
Tue Feb 15, 2022 2:00 pm
Forum: Developer Discussions
Topic: Led control by Python script
Replies: 3
Views: 11311

Re: Led control by Python script

Hi Lucsaio! It should be doable! Check out the parameter documentation for the LED group: https://www.bitcraze.io/documentation/repository/crazyflie-firmware/master/api/params/#led By controlling this parameter from Python you should be able to control the LEDs. For tutorial in setting paremters see...
by jonasdn
Tue Feb 15, 2022 12:28 pm
Forum: Bitcraze
Topic: Deck connection Python_script
Replies: 8
Views: 13751

Re: Deck connection Python_script

Thank you! Am I right in understanding you do not get either of the: print('Deck is attached!') print('Deck is NOT attached!') Outputs? Could you try the following script? I modified it to ask for a parameter update. import logging import sys import time from threading import Event import cflib.crtp...
by jonasdn
Tue Feb 15, 2022 7:23 am
Forum: Loco Positioning System
Topic: Collision avoidance with LPS and multiranger deck
Replies: 3
Views: 10258

Re: Collision avoidance with LPS and multiranger deck

I will have to direct you to the Crazyswarm project for that! It is not run by Bitcraze!

Documentation:
https://crazyswarm.readthedocs.io/en/latest/


Discussions:
https://github.com/USC-ACTLab/crazyswarm/discussions

Jonas
by jonasdn
Fri Feb 11, 2022 8:49 am
Forum: Bitcraze
Topic: Deck connection Python_script
Replies: 8
Views: 13751

Re: Deck connection Python_script

Hi!

Could you post the entire script? Perhaps on pastebin.com ?
by jonasdn
Wed Feb 09, 2022 5:05 am
Forum: Bitcraze
Topic: Deck connection Python_script
Replies: 8
Views: 13751

Re: Deck connection Python_script

Thank you!

Could you give me the complete code of the script that is not working?

Jonas
by jonasdn
Thu Feb 03, 2022 7:09 pm
Forum: Bitcraze
Topic: Deck connection Python_script
Replies: 8
Views: 13751

Re: Deck connection Python_script

Hi RubICS!

Let's see if we can figure this out! It seems like the code change you did should work, it should at least find the deck one thinks.

What is the output when you run that script? And what is the output if you run the basicparam.py example script?

Thanks
Jonas
by jonasdn
Thu Jan 20, 2022 9:15 am
Forum: Loco Positioning System
Topic: Collision avoidance with LPS and multiranger deck
Replies: 3
Views: 10258

Re: Collision avoidance with LPS and multiranger deck

Hi cfnewbie! Using the multiranger and the LPS with UWB should not be a problem! Examples of collision avoidance include one in the firmware: https://github.com/bitcraze/crazyflie-firmware/tree/master/examples/demos/app_wall_following_demo This is implemented using the app-layer in the firmware. You...
by jonasdn
Tue Jan 18, 2022 6:26 am
Forum: AI-deck
Topic: Bidirectional communication between the AI-deck and Crazyflie by UART
Replies: 1
Views: 8270

Re: Bidirectional communication between the AI-deck and Crazyflie by UART

Hi raven! We are working on API paths to have bidirectional comms with the AI deck, but we are not all the way there yet! It is a bit tricky. I have no good answer for how you should go about doing this yourself, perhaps you need to check out the GAP8-SDK to see how you could access the UART there. ...
by jonasdn
Mon Jan 17, 2022 8:12 am
Forum: Support
Topic: MultiRanger Expansion Deck reading 0s
Replies: 4
Views: 9910

Re: MultiRanger Expansion Deck reading 0s

Thank you soso! So, first, to log console from your python script, you can check this example: https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/console/console.py And, for your log, this is with a Crazyflie with 2 decks? One flow and one multiranger? Because your log shows only ...
by jonasdn
Mon Jan 17, 2022 4:59 am
Forum: Support
Topic: MultiRanger Expansion Deck reading 0s
Replies: 4
Views: 9910

Re: MultiRanger Expansion Deck reading 0s

Hi soso!

That sounds weird! Could you please attach the output from the console when the drones start? So we could see if there us any relevant error message.

Jonas