Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS 2 Jazzyに対応します #158

Merged
merged 20 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/industrial_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ on:

env:
UPSTREAM_WORKSPACE: .ci.rosinstall

BEFORE_INSTALL_TARGET_DEPENDENCIES: "sudo apt-get update -qq && sudo apt-get -qq install -y libpcl-dev"
jobs:
industrial_ci:
strategy:
matrix:
env:
- { ROS_DISTRO: humble, ROS_REPO: ros, BEFORE_RUN_TARGET_TEST_EMBED: "ici_with_unset_variables source /root/target_ws/install/setup.bash" }
- { ROS_DISTRO: jazzy, ROS_REPO: ros, BEFORE_RUN_TARGET_TEST_EMBED: "ici_with_unset_variables source /root/target_ws/install/setup.bash" }
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
7 changes: 4 additions & 3 deletions README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ROS 2 package suite of Sciurus17.
## Supported ROS 2 distributions

- Humble
- Jazzy

### ROS 1

Expand All @@ -37,17 +38,17 @@ ROS 2 package suite of Sciurus17.
- [Product page](https://www.rt-net.jp/products/sciurus17)
- [Web Shop](https://www.rt-shop.jp/index.php?main_page=product_info&products_id=3895&language=en)
- Linux OS
- Ubuntu 22.04
- Ubuntu 24.04
- ROS
- [Humble Hawksbill](https://docs.ros.org/en/humble/Installation.html)
- [Jazzy Jalisco](https://docs.ros.org/en/jazzy/Installation.html)

## Installation

### Build from source

```sh
# Setup ROS environment
source /opt/ros/humble/setup.bash
source /opt/ros/jazzy/setup.bash

# Download packages
mkdir -p ~/ros2_ws/src
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ ROS 2 package suite of Sciurus17.
## Supported ROS 2 distributions

- Humble
- Jazzy

### ROS 1

Expand All @@ -38,26 +39,28 @@ ROS 2 package suite of Sciurus17.
- [製品ページ](https://www.rt-net.jp/products/sciurus17)
- [ウェブショップ](https://www.rt-shop.jp/index.php?main_page=product_info&products_id=3895)
- Linux OS
- Ubuntu 22.04
- Ubuntu 24.04
- ROS
- [Humble Hawksbill](https://docs.ros.org/en/humble/Installation.html)
- [Jazzy Jalisco](https://docs.ros.org/en/jazzy/Installation.html)

## Installation

### Build from source

```sh
# Setup ROS environment
source /opt/ros/humble/setup.bash
source /opt/ros/jazzy/setup.bash

# Download packages
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone -b ros2 https://github.com/rt-net/rt_manipulators_cpp.git
git clone -b ros2 https://github.com/rt-net/sciurus17_ros.git
git clone -b ros2 https://github.com/rt-net/sciurus17_description.git

# Install dependencies
rosdep install -r -y -i --from-paths .
sudo apt install libpcl-dev

# Build & Install
cd ~/ros2_ws
Expand Down
2 changes: 1 addition & 1 deletion sciurus17_control/launch/sciurus17_control.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
import os

from ament_index_python.packages import get_package_share_directory
from sciurus17_description.robot_description_loader import RobotDescriptionLoader
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch.actions import ExecuteProcess
from launch.substitutions import LaunchConfiguration
from launch_ros.actions import Node
from sciurus17_description.robot_description_loader import RobotDescriptionLoader


def generate_launch_description():
Expand Down
6 changes: 3 additions & 3 deletions sciurus17_examples/launch/camera_example.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
import os

from ament_index_python.packages import get_package_share_directory
from sciurus17_description.robot_description_loader import RobotDescriptionLoader
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch.substitutions import LaunchConfiguration
from launch_ros.actions import SetParameter
from launch_ros.actions import Node
from launch_ros.actions import SetParameter
from sciurus17_description.robot_description_loader import RobotDescriptionLoader
import yaml


Expand Down Expand Up @@ -67,7 +67,7 @@ def generate_launch_description():
description=('Set true when using the gazebo simulator.')
)

picking_node = Node(name="pick_and_place_tf",
picking_node = Node(name='pick_and_place_tf',
package='sciurus17_examples',
executable='pick_and_place_tf',
output='screen',
Expand Down
2 changes: 1 addition & 1 deletion sciurus17_examples/launch/demo.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
import os

from ament_index_python.packages import get_package_share_directory
from sciurus17_description.robot_description_loader import RobotDescriptionLoader
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch.actions import IncludeLaunchDescription
from launch.conditions import IfCondition
from launch.launch_description_sources import PythonLaunchDescriptionSource
from launch.substitutions import LaunchConfiguration
from sciurus17_description.robot_description_loader import RobotDescriptionLoader


def generate_launch_description():
Expand Down
4 changes: 2 additions & 2 deletions sciurus17_examples/launch/example.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
import os

from ament_index_python.packages import get_package_share_directory
from sciurus17_description.robot_description_loader import RobotDescriptionLoader
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch_ros.actions import SetParameter
from launch.substitutions import LaunchConfiguration
from launch_ros.actions import Node
from launch_ros.actions import SetParameter
from sciurus17_description.robot_description_loader import RobotDescriptionLoader
import yaml


Expand Down
2 changes: 1 addition & 1 deletion sciurus17_examples/src/color_detection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include "geometry_msgs/msg/point_stamped.hpp"
#include "sensor_msgs/msg/image.hpp"
#include "opencv2/opencv.hpp"
#include "cv_bridge/cv_bridge.h"
#include "cv_bridge/cv_bridge.hpp"
using std::placeholders::_1;

namespace sciurus17_examples
Expand Down
Loading