Skip to content

Osaka-University-Harada-Laboratory/wros2

Repository files navigation

wros2

ROS2 node examples with WRS.

support level: community License repo size

  • ROS Humble Hawksbill node examples with robot motion planners implemented in WRS.

Features

Dependency

Installation

git clone git@github.com:Osaka-University-Harada-Laboratory/wros2.git --recursive --depth 1 && cd wros2 && COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose build --no-cache --parallel 

Usage

  1. Build and run the docker environment
  • Create and start docker containers in the initially opened terminal
    docker compose up
  • Execute the container in another terminal
    xhost + && docker exec -it wros_humble_container bash
  1. Change planning parameters in wros2_tutorials/config/XXX.yaml
  2. Build program files with the revised yaml
    colcon build --symlink-install --parallel-workers 1 && source install/setup.bash
  3. Run a planning process in the container
  • Use byobu to easily command several commands
    byobu
    • First command & F2 to create a new window & Second command ...
    • Ctrl + F6 to close the selected window
  • Run the grasp planner
     ros2 launch wros2_tutorials plan_grasp_launch.py config:=XXX.yaml
  • Call the planning service
    ros2 service call /plan_grasp std_srvs/srv/Empty

Please refer to wros2_tutorials/config/planner_params_robotiqhe_example.yaml.

byobu
ros2 launch wros2_tutorials plan_grasp_launch.py config:=planner_params_robotiqhe_example.yaml
ros2 service call /plan_grasp std_srvs/srv/Empty

Please refer to wros2_tutorials/config/planner_params_robotiq85_example.yaml.

byobu
ros2 launch wros2_tutorials plan_grasp_launch.py config:=planner_params_robotiq85_example.yaml
ros2 service call /plan_grasp std_srvs/srv/Empty

Please refer to wros2_tutorials/config/planner_params_robotiq140_example.yaml.

byobu
ros2 launch wros2_tutorials plan_grasp_launch.py config:=planner_params_robotiq140_example.yaml
ros2 service call /plan_grasp std_srvs/srv/Empty

Suction gripper

Please refer to wros2_tutorials/config/planner_params_suction_example.yaml.

byobu
ros2 launch wros2_tutorials plan_grasp_launch.py config:=planner_params_suction_example.yaml
ros2 service call /plan_grasp std_srvs/srv/Empty

Please refer to wros2_tutorials/config/planner_params_sgb30_example.yaml.

byobu
ros2 launch wros2_tutorials plan_grasp_launch.py config:=planner_params_sgb30_example.yaml
ros2 service call /plan_grasp std_srvs/srv/Empty

Contributors

We always welcome collaborators!

Author

Takuya Kiyokawa
Weiwei Wan
Keisuke Koyama
Kensuke Harada

License

This software is released under the BSD-3-Clause License, see LICENSE.

Releases

No releases published

Packages

No packages published