Search found 37 matches

by giandoman
Thu Oct 04, 2018 2:40 pm
Forum: Developer discussions
Topic: packet sent from drone to crazyradio PA
Replies: 1
Views: 4193

packet sent from drone to crazyradio PA

Hello, i have a question. All the "send____" functions defined in commander.py are organized in a pack according to the protocol discussed here https://wiki.bitcraze.io/doc:crazyflie:crtp:index. Am i right? I would like to know where, in the firmware is implemented the receiving part and t...
by giandoman
Thu Oct 04, 2018 5:53 am
Forum: Developer Discussions
Topic: make[1]: *** [cf2.elf] Error 1
Replies: 2
Views: 2026

Re: make[1]: *** [cf2.elf] Error 1

Solved. Thanks!
by giandoman
Wed Oct 03, 2018 2:58 pm
Forum: Developer Discussions
Topic: make[1]: *** [cf2.elf] Error 1
Replies: 2
Views: 2026

make[1]: *** [cf2.elf] Error 1

Hello, i've cloned the latest firmware from git hub but apparently i'm having this error while compiling: LD cf2.elf /usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/bin/ld: error: /usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/lib/crt0.o: Conflicting CPU architectures 13/1 /usr/lib/...
by giandoman
Tue Oct 02, 2018 4:01 pm
Forum: Developer Discussions
Topic: Eclipse and crazyflie firmware
Replies: 0
Views: 4539

Eclipse and crazyflie firmware

I've just installed eclipse on my Mac and I'm trying to "import" the firmware folder as project in order to compile and modify it within eclipse environment.
Anyone can help?
Thanks
Gianni
by giandoman
Tue Oct 02, 2018 12:19 pm
Forum: Developer Discussions
Topic: How to start in order to modify the PID controller
Replies: 5
Views: 3428

Re: How to start in order to modify the PID controller

Hi, You should start by looking at the stabilizer loop to understand how the different parts fits together. The controller is called there: https://github.com/bitcraze/crazyflie-firmware/blob/master/src/modules/src/stabilizer.c#L185. There is currently two controller implemented, you can look at ho...
by giandoman
Mon Sep 17, 2018 3:22 pm
Forum: Developer Discussions
Topic: Flow deck and zrange strange behaviour
Replies: 1
Views: 1188

Flow deck and zrange strange behaviour

Hello, i have a doubt. I'm using my CF2.0 with the flow deck, i was playing with the logging variables and i noticed that the kalman filter works without problem and estimations are good but i have 0 measurements from the logs of the range variables (range.zrange, range.back and so on). Any ideas? I...
by giandoman
Thu Sep 13, 2018 4:03 pm
Forum: Developer Discussions
Topic: How to start in order to modify the PID controller
Replies: 5
Views: 3428

How to start in order to modify the PID controller

Hello everybody,
i know it may sounds complex, but i would like to know (at least) where to start to implement a new controller for the crazyflie in order to substitute it to the classic PID.
For example i would like to implement an LQR control. Where should i start?
Thanks
by giandoman
Wed Dec 13, 2017 2:58 pm
Forum: Developer Discussions
Topic: kalman reset estimation question
Replies: 1
Views: 1984

kalman reset estimation question

hello everybody, i have one (maybe trivial) question. In cf python codes i always see the reset kalman estimation done by these to command cf.param.set_value('kalman.resetEstimation', '1') time.sleep(0.1) cf.param.set_value('kalman.resetEstimation', '0') my question is...why one needs to switch the ...
by giandoman
Sun Nov 12, 2017 5:34 pm
Forum: Loco Positioning System
Topic: Multiple flight with loco positioning system
Replies: 1
Views: 1427

Multiple flight with loco positioning system

Hello guys at bitcraze! I want to know if there is an update related to this post. https://www.bitcraze.io/2016/09/flying-many-crazyflie-with-loco-positioning-system/ Is it possible with the actual firmware (nodes and drones) to make a multiple flight just with the loco positioning system? Thanks Gi...
by giandoman
Thu Oct 26, 2017 12:38 pm
Forum: Developer Discussions
Topic: How to read the kalman estimated position and use it in the code
Replies: 2
Views: 2023

Re: How to read the kalman estimated position and use it in the code

Hi, This can be done using the log subsystem. You can find examples on how to log variables in the Crazyflie lib examples folder: https://github.com/bitcraze/crazyflie-lib-python/tree/master/examples. You can use the python client to discover the existing log variables, on the latest master the pos...