-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBasic Notes.rtf
More file actions
20 lines (20 loc) · 1.06 KB
/
Basic Notes.rtf
File metadata and controls
20 lines (20 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator Riched20 10.0.22621}\viewkind4\uc1
\pard\sa200\sl276\slmult1\f0\fs22\lang9 Romi Lessons\par
Lesson 1 - Open VSCode - Get Romi Repo \par
Find RobotContainer.java\par
While on network >build robot code to compile for the first time\par
Turn on Romi/connect to romi\par
>Simulate Robot code\par
Drive robot, notice the slider turns the robot. \par
In RobotContainer find where the joystick axis are being passed to the drive train. This tells the drive train how to move based on the joystick input\par
However the joystick is 0 based, 0 (Side to side), 1 (Up and down), 2 Speed Slider\par
How do you fix the code to change from passing the slider to passing side to side movement?\par
\par
Open the drivetrain subsystem\par
This code takes the passed inputs from RobotContainer and tells the motors how to move.\par
The turning speed is too fast from the first change, Can you make it 50% as fast? Where do you think this change would go?\par
\par
\par
}