Search found 27 matches

by Calvin Chua
Thu Oct 01, 2020 1:16 am
Forum: General discussions
Topic: Data Logging
Replies: 3
Views: 422

Re: Data Logging

Hi Kimberley,

Can I ask how does the stateEstimate calculates the velocity?
I am applying a height PID controller on the crazyflie.
I am trying to print the height data of the quadcopter using the stateEstimate but it doesnt capture the disturbance I apply to the quadcopter
by Calvin Chua
Tue Sep 29, 2020 7:52 am
Forum: Developer Discussions
Topic: Controller
Replies: 5
Views: 181

Re: Controller

Hi, thanks for the reply. How would the controller can be tuned to fix the change of the model considering if the model is changed, considering the moment equation for the quadcopter is M = I*wdot for linearised system. changing the model means it will change the I, how would changing the PID gain w...
by Calvin Chua
Tue Sep 29, 2020 1:33 am
Forum: Developer Discussions
Topic: Controller
Replies: 5
Views: 181

Re: Controller

Is there any methods to control the quadcopter other than send_setpoint function. The quadcopter becomes unstable after adding a cage on it
by Calvin Chua
Mon Sep 28, 2020 1:32 am
Forum: Developer Discussions
Topic: Controller
Replies: 5
Views: 181

Re: Controller

Besides, is the thrust parameters from stabilizer directly taken from the motor input or calculated by the acceleration of the quadcopter? I output a thrust of 65535 using send_setpoint, but when I logged the data at the same time, it only returns me thrust of 40k++
by Calvin Chua
Sat Sep 26, 2020 11:00 pm
Forum: Developer Discussions
Topic: Controller
Replies: 5
Views: 181

Controller

Hi, Is there any methods that can alter the pre defined controller code using Python or is it possible to output the moment and force calculated on PC to the crazyflie and control it? I use sendsetpoint function but the the function outputs the yaw pitch roll angle instead of moment force. Even thou...
by Calvin Chua
Thu Sep 17, 2020 11:57 pm
Forum: General discussions
Topic: [SOLVED] Data Logging
Replies: 4
Views: 283

Re: Data Logging

Just update to cflib 0.12.1 Its now working. Thanks
by Calvin Chua
Wed Sep 16, 2020 11:09 pm
Forum: General discussions
Topic: [SOLVED] Data Logging
Replies: 4
Views: 283

Re: Data Logging

Hi Kris, I tried your code but it shows error of list object has no attribute of 'default_fetch_as'. Can you show me what I might have done wrongly please? import logging import time import cflib.crtp from cflib.crazyflie import Crazyflie from cflib.crazyflie.log import LogConfig from cflib.crazyfli...
by Calvin Chua
Mon Sep 14, 2020 7:53 am
Forum: General discussions
Topic: [SOLVED] Data Logging
Replies: 4
Views: 283

[SOLVED] Data Logging

Hi,
Is there a way to modify the basiclogSync.py example to let the quadcopter log more data (12 states variables)

Thanks
by Calvin Chua
Mon Sep 14, 2020 6:20 am
Forum: Developer Discussions
Topic: [SOLVED] BasicLog example - maximum items in logConfig
Replies: 6
Views: 376

Re: [SOLVED] BasicLog example - maximum items in logConfig

Hi, is there any sample code or tutorial on parallel logging please?
by Calvin Chua
Sun Sep 06, 2020 7:15 am
Forum: Developer Discussions
Topic: Send Thrust, yaw pitch roll command
Replies: 7
Views: 691

Re: Send Thrust, yaw pitch roll command

Hi, I tried but when I input 65535 as the thrust, the rotor barely turns. Besides, what is the conversion between force in Newton with the 16 bits number please?