Skip to content

Commit fff6914

Browse files
committed
Use custom anchors for url references
1 parent 055eb84 commit fff6914

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

docs/source/apriltag/vision_portal/apriltag_localization/apriltag-localization.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ Reference Frames
237237

238238
In the above example. the yaw angle is given as (approximately) -90 degrees.
239239
But the camera is facing in the negative X direction, thus has a heading or yaw
240-
angle of -180 degrees in the official FTC `field coordinate system
241-
<https://ftc-docs.firstinspires.org/en/latest/game_specific_resources/field_coordinate_system/field-coordinate-system.html>`_
240+
angle of -180 degrees in the official FTC
241+
:ref:`field coordinate system <first field coordinate system>`
242242
:
243243

244244
.. figure:: images/50-field-axes.png
@@ -250,8 +250,7 @@ angle of -180 degrees in the official FTC `field coordinate system
250250

251251
This sample OpMode uses a reference frame (coordinate system) that may be
252252
different than what you expect from other FTC navigation applications,
253-
including `IMU or robot axes
254-
<https://ftc-docs.firstinspires.org/en/latest/programming_resources/imu/imu.html?highlight=field%20coordinates#axes-definition>`_\
253+
including :ref:`IMU or robot axes <imu axes def>`
255254
, odometry device axes, and the FTC field system (shown above). These
256255
differences typically result in basic and obvious changes in axis direction,
257256
axis swapping, and orthogonal angles (90-degree increments).

docs/source/apriltag/vision_portal/apriltag_reference_frame/apriltag-reference-frame.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Related Info
9696

9797
More discussion of the AprilTag reference frame is available here:
9898

99-
- https://ftc-docs.firstinspires.org/apriltag-detection-values
99+
:ref:`Understanding AprilTag Detection Values <apriltag/understanding_apriltag_detection_values/understanding-apriltag-detection-values:understanding apriltag detection values>`
100100

101101
This section described the SDK's default AprilTag reference frame. Teams are
102102
welcome to make other calculations, such as the pose of the camera (or robot)

docs/source/game_specific_resources/field_coordinate_system/field-coordinate-system.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _first field coordinate system:
2+
13
*FIRST* Tech Challenge Field “Coordinate System" Definition
24
===========================================================
35

docs/source/programming_resources/imu/imu.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ re-open that OpMode to capture this updated configuration. Blocks are provided
159159
only for devices in the configuration that’s active*\ **upon opening**\ *an
160160
OpMode.*
161161

162+
.. _imu axes def:
163+
162164
Axes Definition
163165
---------------
164166

0 commit comments

Comments
 (0)