Skip to content

Commit

Permalink
Merge pull request #72 from pollen-robotics/askuric-patch-1
Browse files Browse the repository at this point in the history
Update poulpe.rs
  • Loading branch information
askuric authored Feb 13, 2024
2 parents 54ec36f + 415d1b2 commit 8143cc7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions orbita2d_controller/src/poulpe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ impl Orbita2dMotorController for Orbita2dPoulpeSerialController {
self.serial_port.as_mut(),
self.id,
MotorValue {
motor_a: _velocity_limit[0] as u32,
motor_b: _velocity_limit[1] as u32,
motor_a: _velocity_limit[0] as f32,
motor_b: _velocity_limit[1] as f32,
},
)
}
Expand All @@ -273,8 +273,8 @@ impl Orbita2dMotorController for Orbita2dPoulpeSerialController {
self.serial_port.as_mut(),
self.id,
MotorValue {
motor_a: _torque_limit[0] as u16,
motor_b: _torque_limit[1] as u16,
motor_a: _torque_limit[0] as f32,
motor_b: _torque_limit[1] as f32,
},
)
}
Expand Down

0 comments on commit 8143cc7

Please sign in to comment.