Commit 78e8991
committed
Add velocity limits to prevent unsafe motor speeds
- Max linear velocity: 0.5 m/s
- Max angular velocity: 1.0 rad/s
- Limits wheel speed to ~40 RPM with 0.12m radius
- Added acceleration limits for smoother control1 parent 8a34d41 commit 78e8991
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments