Search found 630 matches

by kristoffer
Mon Feb 28, 2022 12:16 pm
Forum: Lighthouse positioning system
Topic: Lighthouse Crossing Beam Locally
Replies: 1
Views: 8577

Re: Lighthouse Crossing Beam Locally

lighthouse.angle0x_0lh2 contains the lighthouse V2 angles, that is for a tilted light plane. The crossing beam code you are pointing at assumes lighthouse V1 angles, that is two perpendicular sweeps. You can find information about the system here https://www.bitcraze.io/documentation/repository/craz...
by kristoffer
Mon Feb 28, 2022 8:03 am
Forum: Lighthouse positioning system
Topic: Lighthouse V2 calibration data
Replies: 3
Views: 9598

Re: Lighthouse V2 calibration data

If you have set up the system using the client, according to the getting started guide, there is nothing special you need to do to control the Crazyflie from a script. All positioning is handled automatically in the Crazyflie. You can use this script https://github.com/bitcraze/crazyflie-lib-python/...
by kristoffer
Wed Feb 23, 2022 7:43 am
Forum: Lighthouse positioning system
Topic: Lighthouse V2 calibration data
Replies: 3
Views: 9598

Re: Lighthouse V2 calibration data

Hi! It depends on what your goal is. For "normal" usage, there is no need to use this script. You can find the tutorial for getting started with the lighthouse system here https://www.bitcraze.io/documentation/tutorials/getting-started-with-lighthouse and more specifically the step that ac...
by kristoffer
Fri Feb 18, 2022 7:56 am
Forum: Bitcraze
Topic: Issues with On-Chip debugging
Replies: 5
Views: 10679

Re: Issues with On-Chip debugging

Hi!

The first thing to check is probably that the VM can access the debugger via USB. The LED on the debugger (if you have an ST link) should flicker a bit when you start a debug session and the computer communicates with it
by kristoffer
Fri Feb 18, 2022 7:53 am
Forum: Developer Discussions
Topic: Led control by Python script
Replies: 3
Views: 11767

Re: Led control by Python script

Hi! The parameter should be available in the client (in the param tab) and you can set it from there or a python script if you like. You can find an example of how to set parameters from at script in https://github.com/bitcraze/crazyflie-lib-python/blob/master/examples/parameters/basicparam.py for e...
by kristoffer
Fri Feb 18, 2022 7:45 am
Forum: External positioning systems
Topic: OptiTrack and Crazyflie Python no ROS
Replies: 3
Views: 10685

Re: OptiTrack and Crazyflie Python no ROS

You can use scipy to convert between various rotation formats https://docs.scipy.org/doc/scipy/refere ... ation.html
by kristoffer
Thu Feb 10, 2022 9:14 am
Forum: Lighthouse positioning system
Topic: [SOLVED] Flashing custom bitstream
Replies: 11
Views: 23171

Re: Flashing custom bitstream

This has been fixted by Jonas (super fast!) and it should work if you use the latest version of master of crazyflie-lib-python
by kristoffer
Thu Feb 10, 2022 8:45 am
Forum: Lighthouse positioning system
Topic: [SOLVED] Flashing custom bitstream
Replies: 11
Views: 23171

Re: Flashing custom bitstream

Hi! I think the flashing part actually is working but there seems to be a problem with character encodings on a python level, I don't know why. Let's try to create a workaround. Install the python lib from source (if you have not done that yet). You can read here https://github.com/bitcraze/crazyfli...
by kristoffer
Tue Feb 08, 2022 10:43 am
Forum: Lighthouse positioning system
Topic: [SOLVED] Flashing custom bitstream
Replies: 11
Views: 23171

Re: Flashing custom bitstream

The details of flashing the LH deck are slowly coming back to me (after some digging in the code). You are right, but there is a solution :-) So it works like this: When the Crazyflie boots, the firmware checks the lighthouse binary to understand if it is the correct one or not. If the binary is goo...