Search found 22 matches

by yuhsiang
Tue Mar 22, 2022 1:43 am
Forum: General discussions
Topic: Position/velocity PID controller
Replies: 1
Views: 8657

Position/velocity PID controller

Hi,

Please, could you explain how the position and velocity setpoint are converted to roll, pitch and thrust?

https://github.com/bitcraze/crazyflie-f ... pid.c#L248

Thank you.

Yu-Hsiang
by yuhsiang
Mon Mar 21, 2022 9:45 am
Forum: General discussions
Topic: Acceleration control to roll pitch and thrust
Replies: 3
Views: 8897

Re: Acceleration control to roll pitch and thrust

Hi Kimberly, Thank you for your reply. I am using the local positioning system to do my flight experiments. My controller has the global position, velocity and acceleration as input and the output is a desired global acceleration. In that case, I will convert the desired global acceleration to the d...
by yuhsiang
Fri Mar 18, 2022 6:43 pm
Forum: General discussions
Topic: Acceleration control to roll pitch and thrust
Replies: 3
Views: 8897

Acceleration control to roll pitch and thrust

Hi,

I have developed an algorithm to compute the desired acceleration for crazyflie. What is the best way to convert this acceleration to desired roll pitch and thrust so I can use the send_setpoint to command the crazyflie to track the desired acceleration?

Thank you.

Best regards,

Yu-Hsiang
by yuhsiang
Tue May 11, 2021 11:27 am
Forum: Loco Positioning System
Topic: LPS setup
Replies: 5
Views: 13302

Re: LPS setup

Hi, Thank you for your reply. So, if I wanna increase the TX power in Crazyflie and recompile with the config.mk, should I use the command make cload or make clean? Also, in what circumstance do I need to increase the TX power in Crazyflie? Flying with TDoA2 mode or TDoA3 mode or both? Best, Yu-Hsiang
by yuhsiang
Tue May 11, 2021 9:41 am
Forum: Loco Positioning System
Topic: LPS node problem
Replies: 3
Views: 10178

Re: LPS node problem

Hi arnaud, Thank you for your reply. It did solve the permission problem. However, I still faced some issues. 1. When I select the configuration, it shows that EEEPROM configuration changed, restart for it to take effect. What does it mean by restart? Does it mean that I just need to press the reset...
by yuhsiang
Tue May 11, 2021 12:42 am
Forum: Loco Positioning System
Topic: LPS node problem
Replies: 3
Views: 10178

LPS node problem

Hi, I updated the LPS node to the latest firmware and the LPS worked properly in TDoA2 mode. And now I am trying to access to the node low level configuration to force the TX power but facing some issues. 1. I tried to open the node low level configuration via VM. However, it showed permission denie...
by yuhsiang
Thu Apr 22, 2021 10:42 am
Forum: General discussions
Topic: initial state
Replies: 5
Views: 1570

Re: initial state

Hi,

Thank you.
When will this change be available?

Sincerely,

Yu-Hsiang
by yuhsiang
Wed Apr 21, 2021 9:20 pm
Forum: General discussions
Topic: initial state
Replies: 5
Views: 1570

Re: initial state

May I ask why the initial x is set to be 1.5 here?

https://github.com/bitcraze/crazyflie-f ... ore.c#L140
by yuhsiang
Wed Apr 21, 2021 4:58 pm
Forum: General discussions
Topic: initial state
Replies: 5
Views: 1570

Re: initial state

Also, the parameter of the stabilizer.estimator is 2.
I have attached a flow deck on the Crazyflie.
by yuhsiang
Wed Apr 21, 2021 4:56 pm
Forum: General discussions
Topic: initial state
Replies: 5
Views: 1570

initial state

Hi, When I connect to the Crazyflie2.1, the initial state x is not zero! I have tried to restart the Crazyflie and connect to the pc client. However, the initial state estimation of x is not zero every time. I also checked the parameter, it shows 1.5 in kalman.initial x. The firmware of the Crazyfli...