File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ use pyo3::prelude::*;
1919pub struct LowState {
2020 /// IMU feedback
2121 pub imu_state : ImuState ,
22- /// Serial structure joint feedback
23- pub motor_state_serial : [ MotorState ; 22 ] ,
2422 /// Parallel structure joint feedback
2523 pub motor_state_parallel : Vec < MotorState > ,
24+ /// Serial structure joint feedback
25+ pub motor_state_serial : Vec < MotorState > ,
2626}
2727
2828#[ cfg( feature = "pyo3" ) ]
@@ -31,13 +31,13 @@ impl LowState {
3131 #[ new]
3232 pub fn new (
3333 imu_state : ImuState ,
34- motor_state_serial : [ MotorState ; 22 ] ,
3534 motor_state_parallel : Vec < MotorState > ,
35+ motor_state_serial : Vec < MotorState > ,
3636 ) -> Self {
3737 Self {
3838 imu_state,
39- motor_state_serial,
4039 motor_state_parallel,
40+ motor_state_serial,
4141 }
4242 }
4343}
You can’t perform that action at this time.
0 commit comments