Search found 39 matches

by DarkKnight
Tue Jan 18, 2022 1:11 am
Forum: Developer Discussions
Topic: What is the specification of the Lipo battery connector?
Replies: 1
Views: 668

What is the specification of the Lipo battery connector?

Hi,

I am planning to buy a LiPo battery which has larger capacity. Could you tell me the name and specifications of the male/female connector(see attached figure) of the battery?

Thank you!
by DarkKnight
Tue Jan 11, 2022 9:51 pm
Forum: Quadcopters
Topic: How to keep a specific PWM value for some time?
Replies: 4
Views: 9447

Re: How to keep a specific PWM value for some time?

Without trying this I think the problem is the send_emergency_stop_watchdog which needs to be sent at least every second. If you try with a time step of 1 does it work then? Hi, I still want to know what is 'localization.send_emergency_stop_watchdog' used for? Even though when I comment it out, rig...
by DarkKnight
Tue Jan 11, 2022 5:46 pm
Forum: Quadcopters
Topic: How to keep a specific PWM value for some time?
Replies: 4
Views: 9447

Re: How to keep a specific PWM value for some time?

You are right. once I commit out 'send_emergency_stop_watchdog', then It works as it supposed to be. Thanks!!!!
by DarkKnight
Tue Jan 11, 2022 12:41 am
Forum: Quadcopters
Topic: How to keep a specific PWM value for some time?
Replies: 4
Views: 9447

How to keep a specific PWM value for some time?

Hello, Here is my question. How should I keep a PWM value for a few seconds? or How should I let motor rotates at a constant PWM value for a few seconds just like what it is shown in Fig.1? I have tried following two ways:(1)I refer to your code https://github.com/bitcraze/crazyflie-firmware/blob/de...
by DarkKnight
Sat Dec 18, 2021 4:35 pm
Forum: General discussions
Topic: How to control the PWM signal of the motor directly?
Replies: 9
Views: 33697

Re: How to control the PWM signal of the motor directly?

Hello, Here is another question. How should I keep a PWM value for a few seconds? or How should I let motor rotates at a constant PWM value for a few seconds just like what it is shown in Fig.1? I have tried following two ways:(1)I refer to your code https://github.com/bitcraze/crazyflie-firmware/bl...
by DarkKnight
Tue Nov 02, 2021 1:14 am
Forum: General discussions
Topic: How to control the PWM signal of the motor directly?
Replies: 9
Views: 33697

Re: How to control the PWM signal of the motor directly?

I have solved it. I just refer your code in here https://github.com/bitcraze/crazyflie-f ... c/motors.c,
and then change the the firmware code by myself and then flash it into crazyflie. Right now my thrust stand works! Thank you
by DarkKnight
Fri Oct 29, 2021 4:44 pm
Forum: General discussions
Topic: How to control the PWM signal of the motor directly?
Replies: 9
Views: 33697

Re: How to control the PWM signal of the motor directly?

okay. Does that means I have to uncomment ENABLE_THRUST_BAT_COMPENSATED in firmware code and flash it into the Crazyflie? why your system-id branch https://github.com/bitcraze/crazyflie-firmware/blob/dev-systemId/tools/system_id/collect_data.py#L139 , you can disable the battery compensation by usin...
by DarkKnight
Fri Oct 29, 2021 12:14 am
Forum: General discussions
Topic: How to control the PWM signal of the motor directly?
Replies: 9
Views: 33697

Re: How to control the PWM signal of the motor directly?

Thank you so much for your help. I tried to use self._cf.param.set_value('motor.batCompensation',0) and self._lg_stab.add_variable('motorPower.m1','unit16_t') then there is an error says 'motor.batCompensation' not in param TOC' and 'variable motorPower.m1 not in TOC '. Do I have to add those two pa...
by DarkKnight
Wed Oct 20, 2021 11:00 pm
Forum: General discussions
Topic: How to control the PWM signal of the motor directly?
Replies: 9
Views: 33697

Re: How to control the PWM signal of the motor directly?

Thank you so much, and your reply is very helpful! I followed your instruction and right now I can log the pwm and battery data from crazyflie2.1 while my thrust stand can log the thrust and rpm data. The only problem is: I adjust your system_id/collect_data.py script so that it will work on my thru...
by DarkKnight
Wed Oct 13, 2021 3:59 am
Forum: General discussions
Topic: How to control the PWM signal of the motor directly?
Replies: 9
Views: 33697

How to control the PWM signal of the motor directly?

Hello, I am trying to find a more accurate relation between PWM and thrust, so I build a thrust stand to implement that. Right now I want to collect the datasets about different desired pwms and corresponding thrust data so that I can use polynomial fitting to find the relation, but the problem is t...