diff --git a/.github/workflows/industrial_ci.yml b/.github/workflows/industrial_ci.yml
index 00e2a47..c94f204 100644
--- a/.github/workflows/industrial_ci.yml
+++ b/.github/workflows/industrial_ci.yml
@@ -16,10 +16,12 @@ jobs:
industrial_ci:
strategy:
matrix:
- env:
- - { ROS_DISTRO: humble, ROS_REPO: ros }
+ ROS_DISTRO: [jazzy]
+ ROS_REPO: [ros]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: "ros-industrial/industrial_ci@master"
- env: ${{ matrix.env }}
+ env:
+ ROS_DISTRO: ${{ matrix.ROS_DISTRO }}
+ ROS_REPO: ${{ matrix.ROS_REPO }}
diff --git a/README.md b/README.md
index 0666014..437c13a 100644
--- a/README.md
+++ b/README.md
@@ -1,27 +1,28 @@
# raspimouse_description
+[![industrial_ci](https://github.com/rt-net/raspimouse_description/actions/workflows/industrial_ci.yml/badge.svg?branch=ros2)](https://github.com/rt-net/raspimouse_description/actions/workflows/industrial_ci.yml)
+
ROS package with URDF description macro for [Raspberry Pi Mouse](https://rt-net.jp/products/raspberrypimousev3/)
![display_launch](https://rt-net.github.io/images/raspberry-pi-mouse/display_launch.png)
-This ROS package was separated from [rt-net/raspimouse_sim](https://github.com/rt-net/raspimouse_sim).
+This ROS package was separated from [rt-net/raspimouse_sim](https://github.com/rt-net/raspimouse_sim).
See details from [rt-net/raspimouse_sim#42](https://github.com/rt-net/raspimouse_sim/pull/42).
-The main development branch for ROS 1 is [`master`](https://github.com/rt-net/raspimouse_description/tree/master).
+The main development branch for ROS 1 is [`master`](https://github.com/rt-net/raspimouse_description/tree/master).
The main development branch for ROS 2 is [`ros2`](https://github.com/rt-net/raspimouse_description/tree/ros2).
## Supported ROS distributions
-- Melodic ([`melodic-devel`](https://github.com/rt-net/raspimouse_description/tree/melodic-devel))
-- Foxy ([`foxy-devel`](https://github.com/rt-net/raspimouse_description/tree/foxy-devel))
-- Humble ([`humble-devel`](https://github.com/rt-net/raspimouse_description/tree/humble-devel))
+- Humble ([`humble`](https://github.com/rt-net/raspimouse_description/tree/humble))
+- Jazzy ([`jazzy`](https://github.com/rt-net/raspimouse_description/tree/jazzy))
## Installation
```sh
# Clone raspimouse_description and install dependencies
cd ~/ros2_ws/src
-git clone -b $ROS_DISTRO-devel https://github.com/rt-net/raspimouse_description
+git clone -b $ROS_DISTRO https://github.com/rt-net/raspimouse_description
rosdep install -r -y -i --from-paths .
# Build the package
@@ -66,7 +67,7 @@ ros2 launch raspimouse_description display.launch.py use_rgb_camera:=true camera
(C) 2016-2022 RT Corporation
-This repository is licensed under the MIT license, see [LICENSE](./LICENSE).
+This repository is licensed under the MIT license, see [LICENSE](./LICENSE).
Unless attributed otherwise, everything in this repository is under the MIT license.
### Acknowledgements
diff --git a/launch/display.launch.py b/launch/display.launch.py
index 6370c74..c0d75b5 100644
--- a/launch/display.launch.py
+++ b/launch/display.launch.py
@@ -14,13 +14,12 @@
from ament_index_python.packages import get_package_share_directory
-from raspimouse_description.robot_description_loader import RobotDescriptionLoader
from launch import LaunchDescription
from launch.actions import DeclareLaunchArgument
from launch.conditions import IfCondition
-from launch_ros.actions import Node
-from launch_ros.actions import PushRosNamespace
from launch.substitutions import LaunchConfiguration
+from launch_ros.actions import Node, PushRosNamespace
+from raspimouse_description.robot_description_loader import RobotDescriptionLoader
def generate_launch_description():
diff --git a/package.xml b/package.xml
index 17ec39a..230fbb8 100644
--- a/package.xml
+++ b/package.xml
@@ -7,10 +7,11 @@
RT Corporation
MIT
-
+
Daisuke Sato
Shota Aoki
Yusuke Kato
+ Kazushi Kurasawa
ament_cmake
@@ -21,7 +22,7 @@
urdf
xacro
launch
- ign_ros2_control
+ gz_ros2_control
realsense2_description
ament_lint_auto
diff --git a/test/test_robot_description_loader.py b/test/test_robot_description_loader.py
index cebc055..b3e26d6 100644
--- a/test/test_robot_description_loader.py
+++ b/test/test_robot_description_loader.py
@@ -19,10 +19,13 @@
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-from raspimouse_description.robot_description_loader import RobotDescriptionLoader
+import math
+
from launch.launch_context import LaunchContext
import pytest
-import math
+
+from raspimouse_description.robot_description_loader import \
+ RobotDescriptionLoader
def exec_load(loader):
@@ -89,7 +92,7 @@ def test_use_gazebo():
rdl.use_gazebo = 'true'
rdl.gz_control_config_package = 'raspimouse_description'
rdl.gz_control_config_file_path = 'test/dummy_controllers.yaml'
- assert 'ign_ros2_control/IgnitionSystem' in exec_load(rdl)
+ assert 'gz_ros2_control/GazeboSimSystem' in exec_load(rdl)
def test_use_rgb_camera():
diff --git a/urdf/raspimouse.urdf.xacro b/urdf/raspimouse.urdf.xacro
index 47ccc63..8f62871 100644
--- a/urdf/raspimouse.urdf.xacro
+++ b/urdf/raspimouse.urdf.xacro
@@ -17,7 +17,7 @@
-
+
@@ -109,7 +109,7 @@
0 0 0 0 0 0
- ${sensor_link_name}
+ ${sensor_link_name}
${sensor_link_name}
scan
1
diff --git a/urdf/sensors/lightsens.urdf.xacro b/urdf/sensors/lightsens.urdf.xacro
index b0228ba..681b1fd 100644
--- a/urdf/sensors/lightsens.urdf.xacro
+++ b/urdf/sensors/lightsens.urdf.xacro
@@ -16,8 +16,8 @@
-
-
+
+
diff --git a/urdf/sensors/rgb_camera.xacro b/urdf/sensors/rgb_camera.xacro
index 6cd3c06..61656fb 100644
--- a/urdf/sensors/rgb_camera.xacro
+++ b/urdf/sensors/rgb_camera.xacro
@@ -32,19 +32,19 @@
-
+
-
+
ogre2
-
+
30.0
true
- camera_link
+ camera_link
0 0 0 0 ${DOWNWARD_CAMERA_ANGLE} 0
diff --git a/urdf/wheel/diffdrive.gazebo.xacro b/urdf/wheel/diffdrive.gazebo.xacro
index c7afbd1..6319069 100644
--- a/urdf/wheel/diffdrive.gazebo.xacro
+++ b/urdf/wheel/diffdrive.gazebo.xacro
@@ -11,9 +11,9 @@
-
+
- diff_drive_controller/cmd_vel_unstamped:=cmd_vel
+ diff_drive_controller/cmd_vel:=cmd_vel
diff_drive_controller/odom:=odom
$(find ${config_file_package})/${config_file_path}
diff --git a/urdf/wheel/diffdrive.gazebo_ros2_control.xacro b/urdf/wheel/diffdrive.gazebo_ros2_control.xacro
index 1cb3f9c..97ef98f 100644
--- a/urdf/wheel/diffdrive.gazebo_ros2_control.xacro
+++ b/urdf/wheel/diffdrive.gazebo_ros2_control.xacro
@@ -10,7 +10,7 @@
- ign_ros2_control/IgnitionSystem
+ gz_ros2_control/GazeboSimSystem