## What are m1 m2 m3 m4

Discussions about quadcopters/multi-rotors
giandoman
Member
Posts: 37
Joined: Wed Sep 27, 2017 1:23 pm

### What are m1 m2 m3 m4

Hello, maybe it is a “stupid” question but I want to be sure about this: what do m1…m4 represent in the motorpower log data?
Speed in rpm? Or a integer number proportional
To that?
Thanks
tobias
Bitcraze
Posts: 2234
Joined: Mon Jan 28, 2013 7:17 pm
Location: Sweden

### Re: What are m1 m2 m3 m4

It is the PWM (Pulse With Modulation) value that can be seen as a "throttle/power" value where MAX_UINT16 (65535) is max throttle/power and 0 no throttle/power.
DarkKnight
Beginner
Posts: 29
Joined: Tue Jun 15, 2021 10:19 pm

### Re: What are m1 m2 m3 m4

Hi, tobias,

I have another question: I have seen there are two different type of data, one is called"motor.m1, motor.m2, motor.m3 and motor.m4"; another one is called"pwm.m1_pwm, pwm.m2_pwm, pwm.m3_pwm, and pwm.m4_pwm". Do you know what is the difference between them? According to your above reply, it seems that they are both PWM (Pulse With Modulation) value that can be seen as a "throttle/power" value where MAX_UINT16 (65535) is max throttle/power and 0 no throttle/power, is that true?
DarkKnight
Beginner
Posts: 29
Joined: Tue Jun 15, 2021 10:19 pm

### Re: What are m1 m2 m3 m4

pwm.m1_pwm data is the pwm signal but compensated for the battery voltage And the motor.m1 data is the pwm signal not compensated for battery voltage. I got the answer from this postviewtopic.php?f=6&t=4761&p=22882#p22882