Search found 15 matches

by joyner
Tue Jan 14, 2020 3:09 pm
Forum: Developer Discussions
Topic: Timer configuration (Interrupt service routine)
Replies: 2
Views: 3385

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: 1723

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-...
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: 1723

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 whi...
by joyner
Wed Nov 20, 2019 1:19 pm
Forum: Developer Discussions
Topic: Accessing sensor information in selfmade attitude controller
Replies: 2
Views: 1225

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: 1225

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-...