mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 22:39:05 +08:00
scale dummy mixer output
This commit is contained in:
parent
60b02477e5
commit
dbaf6af257
@ -169,7 +169,7 @@ void MultirotorMixer::mix() {
|
||||
// publish message
|
||||
mav_msgs::MotorSpeed rotor_vel_msg;
|
||||
for (int i = 0; i < _rotor_count; i++) {
|
||||
rotor_vel_msg.motor_speed.push_back(outputs.control[i]);
|
||||
rotor_vel_msg.motor_speed.push_back(outputs.control[i] * 1000);
|
||||
}
|
||||
_pub.publish(rotor_vel_msg);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user