5. Sensors - FHS-Robotics/FRC-VSCode-Team5866 GitHub Wiki
Here's the reference information http://first.wpi.edu/FRC/roborio/beta/docs/java/edu/wpi/first/wpilibj/SendableBase.html
-
https://www.maxbotix.com/tutorials6/032-using-analog-voltage-pin-3.htm
- Main tutorial that has the equations that we implement
- https://www.chiefdelphi.com/t/java-maxbotix-ultrasonic-sensor-code/102578/2
-
https://www.maxbotix.com/Ultrasonic_Sensors/MB1200.htm
- For the 1200 model
-
https://www.maxbotix.com/documents/XL-MaxSonar-EZ_Datasheet.pdf
- PDF for all MaxBotix models
These sensors will be used to determine the distance to an object from the robot. One thing we will need to think about is how the temperature of our environment affects the ultrasonic readings.
Installing NavX libraries
In order for the code that utilizes the NavX sensor to work on your computer, you will need to follow the instructions in the link above for installing the NavX libraries. The library should already be in the repository but in case you need it that is the link.