Skip to content

Commit

Permalink
change to milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
WT-MM committed Oct 16, 2024
1 parent 69596cc commit f1910bf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions actuator/rust/robstride/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ lazy_static! {
t_max: 12.0,
zero_on_init: true, // Single encoder motor.
can_timeout_command: 0x200c,
can_timeout_scale: 12000.0,
can_timeout_scale: 12.0, // from milliseconds
can_timeout_max: 100000.0,
},
);
Expand All @@ -75,7 +75,7 @@ lazy_static! {
t_max: 12.0,
zero_on_init: false,
can_timeout_command: 0x200b,
can_timeout_scale: 6000.0,
can_timeout_scale: 6.0,
can_timeout_max: 100000.0,
},
);
Expand All @@ -94,7 +94,7 @@ lazy_static! {
t_max: 60.0,
zero_on_init: false,
can_timeout_command: 0x200b,
can_timeout_scale: 6000.0,
can_timeout_scale: 6.0,
can_timeout_max: 100000.0,
},
);
Expand All @@ -113,7 +113,7 @@ lazy_static! {
t_max: 120.0,
zero_on_init: false,
can_timeout_command: 0x200b,
can_timeout_scale: 12000.0,
can_timeout_scale: 12.0,
can_timeout_max: 100000.0,
},
);
Expand Down

0 comments on commit f1910bf

Please sign in to comment.