Search found 8 matches

by joyner
Wed Feb 19, 2020 4:33 pm
Forum: Developer Discussions
Topic: Update frequencies of sensor signals/states
Replies: 3
Views: 787

Re: Update frequencies of sensor signals/states

Thanks! Do you know where I can find the definition (1 kHz) in the code?
by joyner
Sun Feb 16, 2020 9:42 am
Forum: Developer Discussions
Topic: Update frequencies of sensor signals/states
Replies: 3
Views: 787

Update frequencies of sensor signals/states

Hello, as I can see in https://github.com/bitcraze/crazyflie-firmware/blob/master/src/modules/src/estimator_complementary.c#L44, the attitude update rate is 250 Hz (angle Pitch/Roll/Yaw) and position update rate is 100 Hz (X,Y,Z). But what are the update frequencies of the sensor signals, e.g. angul...
by joyner
Wed Jan 15, 2020 2:41 pm
Forum: Developer Discussions
Topic: Timer configuration (Interrupt service routine)
Replies: 2
Views: 352

Re: Timer configuration (Interrupt service routine)

Thanks Arnaud, maybe I will try to configure TIM6 then. And if it's not working, your Idea with using sleep seems sufficient as well. Thank you! Didn't know that the Microcontroller is that fast ...
by joyner
Tue Jan 14, 2020 3:09 pm
Forum: Developer Discussions
Topic: Timer configuration (Interrupt service routine)
Replies: 2
Views: 352

Timer configuration (Interrupt service routine)

hello, I need to configure a timer in order to get an interrupt every 1ms. So first I need to know which timer I can use. But I also don't know at which point I should configure the timer and where I can define the TIM2_IRQHandler(void). Does anybody know where I can find information about timer use...
by joyner
Wed Dec 11, 2019 10:10 am
Forum: Developer Discussions
Topic: Accessing raw thrust channel values in firmware (PS4 controller)
Replies: 3
Views: 323

Re: Accessing raw thrust channel values in firmware (PS4 controller)

Thank you for helping, Arnaud! I have not pressed the "assisted control"-button first, so that the "position hold" was not activated. But now it works and I can read the values. But for the second issue: Can you tell me, at which point in the crayzflie firmware the "pressed-buttons-signals" are read...
by joyner
Sun Dec 08, 2019 8:19 pm
Forum: Developer Discussions
Topic: Accessing raw thrust channel values in firmware (PS4 controller)
Replies: 3
Views: 323

Accessing raw thrust channel values in firmware (PS4 controller)

Hey, I am trying to implement a controller for the rate of ascend/descend, in which the ascend/descend speed is the setpoint given by the PS4-Controller. Therefore I need to read the raw "thrust" value from the gamepad, but with negative values as well. So that the midpoint is zero. At which point o...
by joyner
Wed Nov 20, 2019 1:19 pm
Forum: Developer Discussions
Topic: Accessing sensor information in selfmade attitude controller
Replies: 2
Views: 182

Re: Accessing sensor information in selfmade attitude controller

Thanks a lot Arnaud! This will help me to better understand the code.
by joyner
Mon Nov 18, 2019 12:47 pm
Forum: Developer Discussions
Topic: Accessing sensor information in selfmade attitude controller
Replies: 2
Views: 182

Accessing sensor information in selfmade attitude controller

Hey all, I have developed an attitude controller for the crazyflie which I soon want to implement on the firmware. The input variables are as following: Setpoints given by any input device: - ascent/descent speed (in the direction of the intertial frame z-axis) - yaw rate (angular velocity) - Pitch-...