Skip to content

Commit ed4b180

Browse files
committed
Add calibration and Arduino
1 parent a6c865c commit ed4b180

1 file changed

Lines changed: 31 additions & 4 deletions

File tree

kinetic.tex

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,40 @@ \section{Kinematics Solving}
171171
\item Validate IK using KinematicsTest.groovy
172172
\end{todolist}
173173

174-
\section{Kinematics Solving}
174+
\section{Connect BowlerStudio robot to Arduino}
175175
\begin{todolist}
176-
\item Inverse kinematics of a 2 dof
176+
\item Intro ESP32 and Arduino
177+
\item Into WiFi on microcontrollers
178+
\item Intro SimplePacketComs data structure
179+
\item Program Marcos firmware \url{https://github.com/OperationSmallKat/MarcosFirmware}
180+
\item Check the serial monitor for the AP (each robot will be different)
181+
\item for each link: Change the "type" to "hidfast"
182+
\item for each link: Change the "device name" to "midnight"
183+
\item Change link 0 device index to 0
184+
\item Plug the link 0 servo into ESp32 pin 23
185+
\item Change link 1 device index to 1
186+
\item Plug the link 1 servo into ESp32 pin 32
187+
\item Publish changes and disconnect the robot in device manager
188+
\item Open BowlerStudio
189+
\item Connect Wifi of laptop to the ESP32's AP
190+
\item Connect to the robot using the device manager
191+
\item Observe that BowlerStudio found the ESP32 at 192.168.4.1
192+
\item Observe that when you move a link in BowlerStudio, the link in reality moves the same way
177193
\end{todolist}
178194

179-
180-
195+
\section{Calibrate Your robot}
196+
\begin{todolist}
197+
\item Use the angle sensor the measure the range of the servo
198+
\item Record the range of the control signal
199+
\item Calculate the real scale factor for the servo
200+
\item Disconnect your robot, connect to Bancroft wifi
201+
\item connect using the simulator and enter the scale changes
202+
\item Publish the scale changes and disconnect
203+
\item Connect to your esp32 AP and connect the new configuration
204+
\item Use angle sensor to verify range is correct to the control signal
205+
\item Put a pencil in the tip of the robot and clamp the base with a paper underneath
206+
\item Run TestKinematics.groovy and observe the robot draws a straight line
207+
\end{todolist}
181208

182209

183210
\newpage

0 commit comments

Comments
 (0)