-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf124a3
commit 83dc58b
Showing
7 changed files
with
159 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
=============== | ||
Getting Started | ||
=============== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
getting_started/ros_interface.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
============================= | ||
ROS Interface Getting Started | ||
============================= | ||
|
||
Follow the links below to your ROS version's getting started guide. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
ros_interface/ros1.rst | ||
ros_interface/ros2.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
===================== | ||
ROS 1 Getting Started | ||
===================== | ||
|
||
Install ROS | ||
=========== | ||
|
||
.. note:: | ||
|
||
The ROS 1 Interbotix SLATE packages are only compatible with Noetic on Ubuntu 20.04. | ||
|
||
Follow the `Ubuntu install of ROS Noetic guide on the ROS Wiki`_. | ||
Once installed, make sure to follow steps 1.6 and 1.6.1 to set up and install the development and dependency toolchains. | ||
|
||
.. _`Ubuntu install of ROS Noetic guide on the ROS Wiki`: https://wiki.ros.org/noetic/Installation/Ubuntu | ||
|
||
Install the Interbotix ROS Slate Packages | ||
========================================= | ||
|
||
#. Clone the noetic branch of the interbotix_ros_core repository into your catkin workspace. | ||
|
||
.. code-block:: bash | ||
$ mkdir -p ~/interbotix_ws/src | ||
$ cd ~/interbotix_ws/src | ||
$ git clone -b noetic https://github.com/Interbotix/interbotix_ros_core.git | ||
#. Remove the CATKIN_IGNORE file preventing the interbotix_ros_slate metapackage from being built. | ||
|
||
.. code-block:: bash | ||
$ rm ~/interbotix_ws/src/interbotix_ros_core/interbotix_ros_slate/CATKIN_IGNORE | ||
#. Run rosdep in the root of the workspace to install all required dependencies. | ||
|
||
.. code-block:: bash | ||
$ cd ~/interbotix_ws | ||
$ rosdep install --from-paths src --ignore-src -r -y | ||
#. Build the workspace. | ||
|
||
.. code-block:: bash | ||
$ cd ~/interbotix_ws | ||
$ catkin_make | ||
Post-Install | ||
============ | ||
|
||
The USB-Serial converter device shares the same vendor and product ID with some brail readers. | ||
Because of this, the ``brltty`` program may claim the device, preventing its use by other drivers. | ||
Solving this issue is as simple as removing the package using apt. | ||
|
||
.. code-block:: bash | ||
$ sudo apt-get remove brltty | ||
Verification | ||
============ | ||
|
||
Run the driver using rosrun and check that the driver successfully connects to the base. | ||
|
||
.. code-block:: bash | ||
$ rosrun interbotix_slate_driver slate_base_node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
===================== | ||
ROS 2 Getting Started | ||
===================== | ||
|
||
Install ROS 2 | ||
============= | ||
|
||
.. note:: | ||
|
||
The ROS 2 Interbotix SLATE packages are only compatible with Humble on Ubuntu 22.04. | ||
|
||
Follow the `Ubuntu (Debian packages)`_ ROS 2 installation guide on the ROS documentation site. | ||
Once installed, make sure to follow the `How do I use the rosdep tool?`_ guide to to set up and install the development and dependency toolchains. | ||
|
||
.. _`Ubuntu (Debian packages)`: https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html | ||
.. _`How do I use the rosdep tool?`: https://docs.ros.org/en/humble/Tutorials/Intermediate/Rosdep.html#how-do-i-use-the-rosdep-tool | ||
|
||
Install the Interbotix ROS Slate Packages | ||
========================================= | ||
|
||
#. Clone the humble branch of the interbotix_ros_core repository into your colcon workspace. | ||
|
||
.. code-block:: bash | ||
$ mkdir -p ~/interbotix_ws/src | ||
$ cd ~/interbotix_ws/src | ||
$ git clone -b humble https://github.com/Interbotix/interbotix_ros_core.git | ||
#. Remove the COLCON_IGNORE file preventing the interbotix_ros_slate metapackage from being built. | ||
|
||
.. code-block:: bash | ||
$ rm ~/interbotix_ws/src/interbotix_ros_core/interbotix_ros_slate/COLCON_IGNORE | ||
#. Run rosdep in the root of the workspace to install all required dependencies. | ||
|
||
.. code-block:: bash | ||
$ cd ~/interbotix_ws | ||
$ rosdep install --from-paths src --ignore-src -r -y | ||
#. Build the workspace. | ||
|
||
.. code-block:: bash | ||
$ cd ~/interbotix_ws | ||
$ colcon build | ||
Post-Install | ||
============ | ||
|
||
The USB-Serial converter device shares the same vendor and product ID with some brail readers. | ||
Because of this, the ``brltty`` program may claim the device, preventing its use by other drivers. | ||
Solving this issue is as simple as removing the package using apt. | ||
|
||
.. code-block:: bash | ||
$ sudo apt-get remove brltty | ||
Verification | ||
============ | ||
|
||
Run the driver using ros2run and check that the driver successfully connects to the base. | ||
|
||
.. code-block:: bash | ||
$ ros2 run interbotix_slate_driver slate_base_node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters