Repo for ROS2 packages related to Robossembler
Find a file
2024-02-19 10:49:40 +00:00
env_manager rename default assembly config name in code 2024-02-16 15:21:59 +03:00
rbs_bringup add launch arguments for gazebo 2024-02-15 19:46:32 +03:00
rbs_bt_executor Update Node Interfaces Spec for BT Builder 2024-02-19 10:49:40 +00:00
rbs_perception Object detection: add YOLOv8 implementation; unified API with doc 2024-01-22 12:51:01 +00:00
rbs_simulation improve gazebo arguments added debugger 2024-02-16 15:23:20 +03:00
rbs_skill_interfaces Object detection: add YOLOv8 implementation; unified API with doc 2024-01-22 12:51:01 +00:00
rbs_skill_servers format cmake for skill servers 2023-12-30 23:41:03 +03:00
rbs_task_planner from stash 2023-12-05 22:37:28 +03:00
rbs_utils correct workspace inspercor behavior 2024-02-16 15:23:38 +03:00
repos move repos and update README 2024-02-16 20:09:05 +03:00
robonomics Add minimal pick-and-place case with world embedded 2023-03-31 20:24:56 +00:00
.gitignore Fix meshes position 2022-04-07 15:17:46 +00:00
.gitlab-ci.yml update ci due to the repos file being moved 2024-02-16 22:18:52 +03:00
Dockerfile optimize dockerfile for different configs 2023-12-22 13:52:31 +03:00
LICENSE Added LICENSE for all packages 2022-08-12 06:21:32 +00:00
README.md move repos and update README 2024-02-16 20:09:05 +03:00

Robossembler ROS2

Repo for ROS2 packages related to Robossembler

Instructions

Requirements

  • OS: Ubuntu 22.04
  • ROS 2 Humble
  • nlohman/json

Dependencies

These are the primary dependencies required to use this project.

  • MoveIt 2

    Install/build a version based on the selected ROS 2 release

  • Gazebo Fortress
  • nlohman/json

Build

  1. Clone the repository
  2. Build packages colcon build

Prepare workspace & install dependencies (So far only tested with UR robot arm)

mkdir -p ~/robossembler_ws/src && cd ~/robossembler_ws/src
git clone https://gitlab.com/robosphere/robossembler-ros2
vcs import . < robossembler-ros2/repos/sim.rbs.repos
cd ..
rosdep install -y -r -q --from-paths src --ignore-src --rosdistro humble
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --symlink-install

Additionally, if you want to use Cartesian controllers, such as stiffness or others, you need to execute the following:

# in directory robossembler_ws/src
vcs import . < robossembler-ros2/repos/cartesian_controllers.repos

This will also install ros2_control and gz_ros2_control as packages, so it is recommended to delete global packages if they have been installed.

Set Gazebo enviroment variables

Replace [WS_FOLDER] with your workspace folder

echo "export IGN_GAZEBO_RESOURCE_PATH=${IGN_GAZEBO_RESOURCE_PATH}:~/[WS_FOLDER]/install/rbs_simulation/share/rbs_simulation/" >> ~/.bashrc
# or if you have alredy built the workspace
echo "export IGN_GAZEBO_RESOURCE_PATH=${IGN_GAZEBO_RESOURCE_PATH}:~/$(ros2 pkg prefix rbs_simulation)/share/rbs_simulation/" >> ~/.bashrc

Examples

Activate current ROS2 enviroment:

. install/setup.bash

Launch MoveIt2, Gazebo, RViz:

ros2 launch rbs_bringup bringup.launch.py

Start BT node in another terminal

ros2 launch rbs_bt_executor rbs_executor.launch.py