Search found 5 matches

by lin24016
Wed Nov 17, 2021 12:08 pm
Forum: Developer Discussions
Topic: How to obtain thrust from PWM
Replies: 11
Views: 4811

Re: How to obtain thrust from PWM

Yeah, thank you. It is appreciated if you could clarify which PWM data should be used in the formula: F = 11.09−39.08 p−9.53v+20.57 p^2 + 38.43 pv. Since the pwm.m1_pwm is already compensated, it feels more reasonable to use the raw PWM in the formula. However, in the post from Thu Apr 01, 2021, the...
by lin24016
Tue Nov 16, 2021 12:37 pm
Forum: Developer Discussions
Topic: How to obtain thrust from PWM
Replies: 11
Views: 4811

Re: How to obtain thrust from PWM

Hey I am also working on the mapping from PWM to thrust these days and I am a bit confused about the log variables and the formulas. For the voltage compensation formula, which PWM should I use? The raw PWM (motor.m1) or the already compensated one (pwm.m1_pwm). BTW, I logged the voltage data from p...
by lin24016
Mon Oct 25, 2021 2:35 pm
Forum: Developer Discussions
Topic: logging status
Replies: 1
Views: 641

logging status

Hello, I need to read the thrust, position, etc from CF. The hover_swarm.launch file has been set as: genericLogTopics: ["log1"] genericLogTopicFrequencies: [10] genericLogTopic_log1_Variables: ["stateEstimate.z"] ... write_csvs: True enable_parameters: True enable_logging: True ...
by lin24016
Mon Oct 18, 2021 3:06 pm
Forum: Developer Discussions
Topic: Firmware can not "make"
Replies: 3
Views: 1035

Re: Firmware can not "make"

I did. I managed to build with “make -B” though I am not sure what is the problem
by lin24016
Mon Oct 18, 2021 9:12 am
Forum: Developer Discussions
Topic: Firmware can not "make"
Replies: 3
Views: 1035

Firmware can not "make"

I was about to flash code to cf2. After I do make clean CLEAN the following "make" command does not respond anything in my terminal. Therefore the following "make cload" failed given the "cf2.bin" file is not made. I am new to the cf system, any suggestion is more than ...