This repository contains the cca_spot
package to implement the closed-chain affordance planning framework on the NRG Spot robot.
-
Install the closed-chain affordance planning libraries by following instructions from the following repository: Link to instructions
-
Clone this repository onto your local machine ROS2 workspace
src
folder:cd ~/<ros2_ws_name>/src
git clone -b main [email protected]:UTNuclearRoboticsPublic/closed_chain_affordance_spot.git
-
Build and source the
cca_spot
package:cd ~/<ros2_ws_name>
colcon build --packages-select cca_spot
source install/setup.bash
xterm
, install with sudo apt install xterm
-
Run the Spot driver:
ros2 launch spot_bringup bringup.launch.py hostname:=192.168.50.3
-
Launch the robot state publisher:
ros2 launch spot_description state_publisher.launch.py has_arm:=True
-
Load
robot_description_semantic
onto the parameter server. For convenience, we'll do it by launching the Moveit motion planning plugin file, which not only publishesrobot_description_semantic
, but also opens upRviz
.ros2 launch spot_arm_moveit2_config spot_arm_planning_execution.launch.py joint_state_topic:=/spot_driver/joint_states
-
Run the planning visualization server. Then, in RViz, add MarkerArray with publishing topic,
/ee_trajectory
.ros2 run moveit_plan_and_viz moveit_plan_and_viz_node
-
Load closed-chain affordance description for Spot and run the closed-chain affordance planner node:
ros2 launch cca_spot cca_spot_launch.py
Janak Panthi aka Crasun Jans