You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3.`cd` into your pros project directory in your terminal
9
+
2.`cd` into your pros project directory in your terminal
10
+
3. run `pros c info-project`, your kernel version MUST be 4.0.7. If it is not, create a new 4.0.7 project by `cd` into the directory you want to make your project, and run `pros c n PROJECT_NAME -ea`.
12
11
13
12
4. Apply the library to the project `pros c apply VOSS`
14
13
@@ -51,7 +50,7 @@ auto ec = voss::controller::ExitConditions::new_conditions()
51
50
***Track width**
52
51
-`.with_track_width(double track_width_distance)`
53
52
***Left right TPI** (ratio of encoder rotations to 1 inch of linear movement)
54
-
-`.with_left_right_tip(double tpi_value)`
53
+
-`.with_left_right_tpi(double tpi_value)`
55
54
3. Call it to build --> `.build()`
56
55
```cpp
57
56
auto odom = voss::localizer::TrackingWheelLocalizerBuilder::new_builder()
@@ -75,7 +74,7 @@ void initialize() {
75
74
3. Divide the amount you moved the robot by the measured movement value from the odometry
76
75
* adjustment factor = robot actual move amount/odometry measured amount
77
76
4. Set the new tpi value to the current tpi value multiplied by the value you got from step 3
78
-
* new tip = old tpi x adjustment factor
77
+
* new tpi = old tpi x adjustment factor
79
78
80
79
### The basics of PID (Proportional Integral Derivative controllers)
81
80
***Linear error** = Linear distance from desired position to current position (inches)
@@ -205,6 +204,11 @@ auto arc = voss::controller::ArcPIDControllerBuilder(odom)
205
204
* We will be creating a differential drive chassis in global scope
0 commit comments