Skip to content

Commit

Permalink
Update packages xml and readme (#61)
Browse files Browse the repository at this point in the history
Co-authored-by: Jakub Delicat <109142865+delihus@users.noreply.github.com>

* Updated readme and packages xml

Signed-off-by: Jakub Delicat <jakub.delicat@husarion.com>

* Applied schema

Signed-off-by: Jakub Delicat <jakub.delicat@husarion.com>

* Update rosbot_xl_bringup/package.xml

---------

Signed-off-by: Jakub Delicat <jakub.delicat@husarion.com>
Co-authored-by: rafal-gorecki <126687345+rafal-gorecki@users.noreply.github.com>
  • Loading branch information
delihus and rafal-gorecki committed Jan 31, 2024
1 parent e1cae57 commit 7d6a27e
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 56 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ rosbot_hardware_interfaces/
ros_components_description/
rosbot_controllers/
husarion/husarion_office_gz
gazebosim/gz_ros2_control
ros2_controllers/
diff_drive_controller/
imu_sensor_broadcaster/
tf2_ros_py/

# pyspelling
*.dic
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,11 @@ repos:
- id: doc8
args: [--max-line-length=100, --ignore=D001]
exclude: ^.*\/CHANGELOG\.rst/.*$

- repo: https://github.com/comkieffer/pre-commit-xmllint.git
rev: 1.0.0
hooks:
- id: xmllint
args:
- --schema
- http://download.ros.org/schema/package_format3.xsd
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ cp -r src/ros2_controllers/diff_drive_controller src/
cp -r src/ros2_controllers/imu_sensor_broadcaster src/
rm -rf src/ros2_controllers
# Copy only tf2_ros_py from geometry2, waits for https://github.com/ros2/geometry2/pull/641
cp -r src/geometry2/tf2_ros_py src/
rm -rf src/geometry2/
rosdep init
rosdep update --rosdistro $ROS_DISTRO
rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y
Expand Down Expand Up @@ -109,14 +105,6 @@ cp -r src/ros2_controllers/diff_drive_controller src/
cp -r src/ros2_controllers/imu_sensor_broadcaster src/
rm -rf src/ros2_controllers
# Copy only tf2_ros_py from geometry2, waits for https://github.com/ros2/geometry2/pull/641
cp -r src/geometry2/tf2_ros_py src/
rm -rf src/geometry2/
# Remove ign_ros2_control demo
rm -rf src/gazebosim/gz_ros2_control/ign_ros2_control_demos &&
rm -rf src/gazebosim/gz_ros2_control/gz_ros2_control_tests
rosdep init
rosdep update --rosdistro $ROS_DISTRO
rosdep install -i --from-path src --rosdistro $ROS_DISTRO -y
Expand Down
12 changes: 7 additions & 5 deletions rosbot_xl/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@
<version>0.9.0</version>

<description>Meta package that contains all packages of ROSbot XL</description>
<license>Apache License 2.0</license>

<author email="krzysztof.wojciechowski@husarion.com">Krzysztof Wojciechowski</author>
<author email="maciej.stepien@husarion.com">Maciej Stepien</author>
<author email="nikolas.duc@husarion.com">Nikolas Duc</author>
<author email="dominik.nowak@husarion.com">Dominik Nowak</author>
<maintainer email="support@husarion.com">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
<url type="repository">https://github.com/husarion/rosbot_xl_ros</url>
<url type="bugtracker">https://github.com/husarion/rosbot_xl_ros/issues</url>

<author email="krzysztof.wojciechowski@husarion.com">Krzysztof Wojciechowski</author>
<author email="maciej.stepien@husarion.com">Maciej Stepien</author>
<author email="nikolas.duc@husarion.com">Nikolas Duc</author>
<author email="dominik.nowak@husarion.com">Dominik Nowak</author>

<buildtool_depend>ament_cmake</buildtool_depend>

<depend>rosbot_xl_bringup</depend>
Expand Down
13 changes: 5 additions & 8 deletions rosbot_xl_bringup/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,32 @@
<version>0.9.0</version>

<description>ROSbot XL bringup package</description>
<license>Apache License 2.0</license>

<author email="maciej.stepien@husarion.com">Maciej Stepien</author>
<author email="jakub.delicat@husarion.com">Jakub Delicat</author>
<maintainer email="support@husarion.com">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
<url type="repository">https://github.com/husarion/rosbot_xl_ros</url>
<url type="bugtracker">https://github.com/husarion/rosbot_xl_ros/issues</url>

<!-- Launch tools dependencies -->
<author email="maciej.stepien@husarion.com">Maciej Stepien</author>
<author email="jakub.delicat@husarion.com">Jakub Delicat</author>

<exec_depend>ros2launch</exec_depend>
<exec_depend>launch</exec_depend>
<exec_depend>launch_ros</exec_depend>
<exec_depend>ament_index_python</exec_depend>

<!-- Husarion dependencies -->
<exec_depend>rosbot_xl_controller</exec_depend>

<!-- Launched packages dependencies -->
<exec_depend>laser_filters</exec_depend>
<exec_depend>robot_localization</exec_depend>

<!-- Launch and test dependencies -->
<test_depend>rclpy</test_depend>
<test_depend>python3-pytest</test_depend>
<test_depend>launch_pytest</test_depend>

<!-- Packages used in tests -->
<test_depend>tf2_ros_py</test_depend>
<test_depend>sensor_msgs</test_depend>

Expand Down
3 changes: 0 additions & 3 deletions rosbot_xl_controller/launch/controller.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def launch_setup(context, *args, **kwargs):
],
)

# Delay start of robot_controller after `joint_state_broadcaster`
delay_robot_controller_spawner_after_joint_state_broadcaster_spawner = RegisterEventHandler(
event_handler=OnProcessExit(
target_action=joint_state_broadcaster_spawner,
Expand All @@ -98,7 +97,6 @@ def launch_setup(context, *args, **kwargs):
],
)

# Delay start of imu_broadcaster_spawner after `robot_controller_spawner`
delay_imu_broadcaster_spawner_after_robot_controller_spawner = RegisterEventHandler(
event_handler=OnProcessExit(
target_action=robot_controller_spawner,
Expand Down Expand Up @@ -192,7 +190,6 @@ def generate_launch_description():
]
)

# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
Expand Down
15 changes: 6 additions & 9 deletions rosbot_xl_controller/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,43 +6,40 @@
<version>0.9.0</version>

<description>Hardware configuration for ROSbot XL</description>
<license>Apache License 2.0</license>

<author email="maciej.stepien@husarion.com">Maciej Stepien</author>
<author email="krzysztof.wojciechowski@husarion.com">Krzysztof Wojciechowski</author>
<author email="jakub.delicat@husarion.com">Jakub Delicat</author>
<maintainer email="support@husarion.com">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
<url type="repository">https://github.com/husarion/rosbot_xl_ros</url>
<url type="bugtracker">https://github.com/husarion/rosbot_xl_ros/issues</url>

<!-- Launch tools dependencies -->
<author email="maciej.stepien@husarion.com">Maciej Stepien</author>
<author email="krzysztof.wojciechowski@husarion.com">Krzysztof Wojciechowski</author>
<author email="jakub.delicat@husarion.com">Jakub Delicat</author>

<exec_depend>ros2launch</exec_depend>
<exec_depend>launch</exec_depend>
<exec_depend>launch_ros</exec_depend>
<exec_depend>ament_index_python</exec_depend>

<!-- Husarion dependencies -->
<exec_depend>rosbot_xl_description</exec_depend>
<exec_depend>ros_components_description</exec_depend>
<exec_depend>rosbot_hardware_interfaces</exec_depend>
<exec_depend>mecanum_drive_controller</exec_depend>

<!-- Launched packages dependencies -->
<exec_depend>xacro</exec_depend>
<exec_depend>controller_manager</exec_depend>
<exec_depend>robot_state_publisher</exec_depend>
<exec_depend>joint_state_broadcaster</exec_depend>
<exec_depend>imu_sensor_broadcaster</exec_depend>
<exec_depend>diff_drive_controller</exec_depend>

<!-- Launch and test dependencies -->
<test_depend>rclpy</test_depend>
<test_depend>python3-pytest</test_depend>
<test_depend>launch_pytest</test_depend>

<!-- Packages used in tests -->
<test_depend>sensor_msgs</test_depend>
<test_depend>nav_msgs</test_depend>

Expand Down
11 changes: 6 additions & 5 deletions rosbot_xl_description/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,21 @@
<version>0.9.0</version>

<description>The rosbot_xl_description package</description>
<license>Apache License 2.0</license>

<author email="krzysztof.wojciechowski@husarion.com">Krzysztof Wojciechowski</author>
<author email="maciej.stepien@husarion.com">Maciej Stepien</author>
<author email="jakub.delicat@husarion.com">Jakub Delicat</author>
<maintainer email="support@husarion.com">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
<url type="repository">https://github.com/husarion/rosbot_xl_ros</url>
<url type="bugtracker">https://github.com/husarion/rosbot_xl_ros/issues</url>

<author email="krzysztof.wojciechowski@husarion.com">Krzysztof Wojciechowski</author>
<author email="maciej.stepien@husarion.com">Maciej Stepien</author>
<author email="jakub.delicat@husarion.com">Jakub Delicat</author>

<buildtool_depend>ament_cmake</buildtool_depend>

<!-- Husarion dependencies -->
<exec_depend>ros_components_description</exec_depend>

<export>
Expand Down
5 changes: 2 additions & 3 deletions rosbot_xl_gazebo/launch/spawn.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def generate_launch_description():
namespace=namespace,
)

ign_bridge = Node(
ign_clock_bridge = Node(
package="ros_gz_bridge",
executable="parameter_bridge",
name="ros_gz_bridge",
Expand Down Expand Up @@ -289,8 +289,7 @@ def generate_launch_description():
# Sets use_sim_time for all nodes started below
# (doesn't work for nodes started from ignition gazebo)
SetParameter(name="use_sim_time", value=True),
ign_bridge,
# ign_camera_bridge,
ign_clock_bridge,
gz_spawn_entity,
bringup_launch,
OpaqueFunction(function=launch_gz_bridge),
Expand Down
15 changes: 6 additions & 9 deletions rosbot_xl_gazebo/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,27 @@
<version>0.9.0</version>

<description>Gazebo Ignition simulation for ROSbot XL</description>
<license>Apache License 2.0</license>

<author email="maciej.stepien@husarion.com">Maciej Stępień</author>
<author email="krzysztof.wojciechowski@husarion.com">Krzysztof Wojciechowski</author>
<author email="jakub.delicat@husarion.com">Jakub Delicat</author>
<maintainer email="support@husarion.com">Husarion</maintainer>

<license>Apache License 2.0</license>

<url type="website">https://husarion.com/</url>
<url type="repository">https://github.com/husarion/rosbot_xl_ros</url>
<url type="bugtracker">https://github.com/husarion/rosbot_xl_ros/issues</url>

<!-- Launch tools dependencies -->
<author email="maciej.stepien@husarion.com">Maciej Stępień</author>
<author email="krzysztof.wojciechowski@husarion.com">Krzysztof Wojciechowski</author>
<author email="jakub.delicat@husarion.com">Jakub Delicat</author>

<exec_depend>ros2launch</exec_depend>
<exec_depend>launch</exec_depend>
<exec_depend>launch_ros</exec_depend>
<exec_depend>ament_index_python</exec_depend>

<!-- Husarion dependencies -->
<exec_depend>rosbot_xl_bringup</exec_depend>
<exec_depend>husarion_office_gz</exec_depend>

<!-- Launched packages dependencies -->
<exec_depend>ros_gz_sim</exec_depend>
<!-- Ignition dependency is specified in the ros_gz_sim package,
version can chosen using GZ_VERSION (or IGNITION_VERSION) env variable,
Expand All @@ -37,13 +36,11 @@
<exec_depend>nav2_common</exec_depend>
<exec_depend>tf2_ros</exec_depend>

<!-- Launch and test dependencies -->
<test_depend>rclpy</test_depend>
<test_depend>python3-pytest</test_depend>
<test_depend>launch_pytest</test_depend>
<test_depend>launch_testing</test_depend>

<!-- Packages used in tests -->
<test_depend>python3-psutil</test_depend>
<test_depend>nav_msgs</test_depend>
<test_depend>geometry_msgs</test_depend>
Expand Down

0 comments on commit 7d6a27e

Please sign in to comment.