No version for distro humble showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License MIT
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description ROS 2 driver package for Boston Dynamics' Spot
Checkout URI https://github.com/bdaiinstitute/spot_ros2.git
VCS Type git
VCS Version main
Last Updated 2025-07-29
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Examples of using ROS 2 to control Spot

Additional Links

No additional links.

Maintainers

  • AI Institute

Authors

No additional authors.

spot_examples

This is a ROS 2 package that demonstrates how to use the Spot driver to control the robot.

Before running any of these nodes, make sure that the robot is in an open space and that you’ve built and sourced your ROS 2 workspace.

cd <ros2_workspace>
colcon build --symlink-install
source install/setup.bash

After this, it’s time to start the Spot driver. Define the environment variables BOSDYN_CLIENT_USERNAME, BOSDYN_CLIENT_PASSWORD, and SPOT_IP appropriately for your robot, or put the login credentials into a configuration file yaml (example). The driver can be started via the following launchfile:

ros2 launch spot_driver spot_driver.launch.py

  • If you are defining your login credentials in a configuration yaml instead of as environment variables, add the launch argument config_file:=path/to/config.yaml
  • If you want to launch with a namespace, use the launch argument spot_name:=<spot_name>

Nodes

Once the driver has been started, different examples can be run with the following command:

ros2 run spot_examples <example_node>

Follow the links on each of the node names for more detailed documentation about how each example works, possible command line arguments, and other safety considerations you may need to take into account.

  • walk_forward: A simple example that shows how to use ROS 2 to send RobotCommand goals to the Spot driver. If you are new to Spot and ROS 2, we recommend starting here.
  • arm_simple: An example of converting the BD Simple Arm Motion example to use ROS 2.
  • send_inverse_kinematic_requests: An example that shows how to send inverse kinematics requests to the Spot Arm using ROS 2.
  • batch_trajectory: An example that shows how to send very long trajectories to Spot using ROS 2.
  • hello_spot: An example of converting the BD Hello Spot example to use ROS 2, demonstrating basic movement and image streaming.
  • arm_with_body_follow: An example that demonstrates simultaneous locomotion and manipulation using ROS 2.
  • wasd: An example that offers basic teleoperation of Spot’s locomotion and manipulation capabilities using ROS 2.

Adding new examples

To add examples that demonstrate other features of the Spot driver, create a new node new_example.py in spot_examples and add it to setup.py. Make sure to also write a documentation file (new_example.md) in docs that explains how to run the example and how the code works, and link to it in this central README.

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged spot_examples at Robotics Stack Exchange