From f03c46099ab86623bc14ef5bf3bb80c33de1932a Mon Sep 17 00:00:00 2001 From: Michael Leong Date: Mon, 23 Sep 2024 18:52:48 -0700 Subject: [PATCH 1/2] Update creating-robot-program.rst --- .../vscode-overview/creating-robot-program.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/source/docs/software/vscode-overview/creating-robot-program.rst b/source/docs/software/vscode-overview/creating-robot-program.rst index d87311a5eb..dd4d34c708 100644 --- a/source/docs/software/vscode-overview/creating-robot-program.rst +++ b/source/docs/software/vscode-overview/creating-robot-program.rst @@ -86,6 +86,22 @@ The ``Romi - Command Bot`` template provides a ``RomiDrivetrain`` subsystem that This subsystem also provides functions for retrieving and resetting the Romi's onboard encoders. +### XRP + +Teams using a :ref:`Romi ` should use the ``XRP - Timed`` or ``XRP - Command Bot`` template. + +#### XRP - Timed + +The ``XRP - Timed`` template provides a ``XRPDrivetrain`` class that exposes an ``arcadeDrive(double xaxisSpeed, double zaxisRotate)`` method. It's up to the user to feed this arcadeDrive function. + +This class also provides functions for retrieving and resetting the XRP's onboard encoders. + +#### XRP - Command Bot + +The ``XRP - Command Bot`` template provides a ``XRPDrivetrain`` subsystem that exposes an ``arcadeDrive(double xaxisSpeed, double zaxisRotate)`` method. It's up to the user to feed this arcadeDrive function. + +This subsystem also provides functions for retrieving and resetting the XRP's onboard encoders. + ### Not Using a Base Class If desired, users can omit a base class entirely and simply write their program in a :code:`main()` method, as they would for any other program. This is *highly* discouraged - users should not "reinvent the wheel" when writing their robot code - but it is supported for those who wish to have absolute control over their program flow. From 23716f76a93c59a9f8ef8b06cfbde9b2b626f0ec Mon Sep 17 00:00:00 2001 From: Michael Leong Date: Mon, 23 Sep 2024 18:59:51 -0700 Subject: [PATCH 2/2] Update creating-robot-program.rst --- source/docs/software/vscode-overview/creating-robot-program.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/docs/software/vscode-overview/creating-robot-program.rst b/source/docs/software/vscode-overview/creating-robot-program.rst index dd4d34c708..280bbe8047 100644 --- a/source/docs/software/vscode-overview/creating-robot-program.rst +++ b/source/docs/software/vscode-overview/creating-robot-program.rst @@ -88,7 +88,7 @@ This subsystem also provides functions for retrieving and resetting the Romi's o ### XRP -Teams using a :ref:`Romi ` should use the ``XRP - Timed`` or ``XRP - Command Bot`` template. +Teams using a :ref:`XRP ` should use the ``XRP - Timed`` or ``XRP - Command Bot`` template. #### XRP - Timed