Skip to content

Commit 80dca5a

Browse files
Adding troubleshooting notes and rearranging pages
1 parent c99394d commit 80dca5a

9 files changed

+39
-23
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Repository Contents
1818

1919
Documentation
2020
--------------
21-
* **[Library](https://github.com/sparkfun/SparkFun_Qwiic_OTOS_Arduino_Library)** - Arduino library for the SparkFun Optical Tracking Odometry Sensor.
22-
* **[Hookup Guide](https://docs.sparkfun.com/SparkFun_Optical_Tracking_Odometry_Sensor/)** - Basic hookup guide for the SparkFun Optical Tracking Odometry Sensor.
21+
* **[Arduino Library](https://github.com/sparkfun/SparkFun_Qwiic_OTOS_Arduino_Library)** - Arduino library for the SparkFun Optical Tracking Odometry Sensor.
22+
* **[Hookup Guide](https://docs.sparkfun.com/SparkFun_Optical_Tracking_Odometry_Sensor/)** - Hookup guide for the SparkFun Optical Tracking Odometry Sensor.
2323

2424

2525
License Information
16.6 MB
Loading
7.39 MB
Loading

docs/examples.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ If the sensor is mounted 5 inches to the left (negative X) and 10 inches forward
170170
</figure>
171171

172172

173-
173+
These four examples cover the basics - there are more examples to explore in the library!
174174

175175

176176

docs/single_page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ icon: fontawesome/solid/scroll
1818
--8<-- "./docs/hardware_assembly_FTC.md:5"
1919

2020
## Software Setup
21-
--8<-- "./docs/software_setup_and_programming.md:5"
21+
--8<-- "./docs/software_setup-Arduino.md:5"
2222

2323
# Troubleshooting Tips
2424
--8<-- "./docs/troubleshooting.md:5"

docs/software_setup_and_programming.md renamed to docs/software_setup-Arduino.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,3 @@ We've written a library to get you started with the SparkFun Optical Tracking Od
1414
</center>
1515

1616

17-
18-
19-
<!--
20-
## Python
21-
22-
23-
Arduino library
24-
25-
26-
Python Library
27-
28-
Java library - for robotics
29-
30-
31-
Do we need to do calibration? Maybe
32-
33-
34-
-->

docs/software_setup-Python.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
icon: simple/python
3+
---
4+
5+
## Python
6+
7+
!!! attention
8+
If this is your first time using Arduino, please review our tutorial on [installing the Arduino IDE](https://learn.sparkfun.com/tutorials/installing-arduino-ide). If you have not previously installed an Arduino library, please check out our [installation guide](https://learn.sparkfun.com/tutorials/installing-an-arduino-library).
9+
10+
We've written a library to get you started with the SparkFun Optical Tracking Odometry Sensor. You can obtain this library through the Arduino Library Manager by searching for "Odometry" and installing the latest version from SparkFun. If you prefer downloading libraries manually, you can grab them from the GitHub Repository.
11+
12+
<center>
13+
[SparkFun Optical Tracking Odometry Sensor Arduino Library GitHub](https://github.com/sparkfun/SparkFun_Qwiic_OTOS_Arduino_Library/archive/refs/heads/main.zip){ .md-button .md-button--primary }
14+
</center>
15+
16+

docs/troubleshooting.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
icon: fontawesome/solid/question
33
---
44

5+
A few things we've noticed:
6+
7+
8+
## Calibration
9+
10+
Got the spins? If the IMU isn't calibrated correctly, the gyroscope will think the robot is constantly rotating and you may see something like below. If you find this, try re-calibrating your bot.
11+
12+
<figure markdown>
13+
[![You spin me right round baby right round](assets/img/SEN-24904-Action-GIF-2.gif){ width="600" }](assets/img/SEN-24904-Action-GIF-2.gif "Click to enlarge")
14+
<figcaption markdown>Example of Calibration Error</figcaption>
15+
</figure>
16+
17+
518

619
!!! note
720
<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
@@ -14,3 +27,5 @@ icon: fontawesome/solid/question
1427
If you don't find what you need there, the <a href="https://forum.sparkfun.com/index.php">SparkFun Forums</a> are a great place to find and ask for help. If this is your first visit, you'll need to <a href="https://forum.sparkfun.com/ucp.php?mode=register">create a Forum Account</a> to search product forums and post questions.<br /><br />
1528

1629
<div style="text-align: center"><a href="https://forum.sparkfun.com/ucp.php?mode=register" class="md-button">Create New Forum Account</a>&nbsp;&nbsp;&nbsp;<a href="https://forum.sparkfun.com/index.php" class="md-button md-button--primary">Log Into SparkFun Forums</a></div>
30+
31+

mkdocs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,10 @@ nav:
256256
- Hardware Assembly:
257257
- XRP: hardware_assembly.md
258258
- FTC: hardware_assembly_FTC.md
259-
- Software Setup: software_setup_and_programming.md
259+
- Software Setup:
260+
- Arduino: software_setup-Arduino.md
261+
# - Python: software_setup-Python.md
262+
# - FIRST Tech Challenge:
260263
- Examples:
261264
- Arduino Examples: examples.md
262265
# - Python Examples:

0 commit comments

Comments
 (0)