diff --git a/README.md b/README.md index bee010306..7ebd06a71 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,10 @@ export HUSARION_ROS_BUILD_TYPE=simulation ### Build ``` bash -vcs import src < src/panther_ros/panther/panther_$HUSARION_ROS_BUILD_TYPE.repos +vcs import src < src/panther_ros/panther/panther_hardware.repos +if [ "$HUSARION_ROS_BUILD_TYPE" == "simulation" ]; then + vcs import src < src/panther_ros/panther/panther_simulation.repos +fi cp -r src/ros2_controllers/imu_sensor_broadcaster src && rm -rf src/ros2_controllers diff --git a/panther/panther_simulation.repos b/panther/panther_simulation.repos index 41d2ca049..05dad7358 100644 --- a/panther/panther_simulation.repos +++ b/panther/panther_simulation.repos @@ -1,26 +1,5 @@ repositories: - husarion_controllers: - type: git - url: https://github.com/husarion/husarion_controllers - version: main husarion_office_gz: type: git url: https://github.com/husarion/husarion_office_gz.git version: main - panther_msgs: - type: git - url: https://github.com/husarion/panther_msgs.git - version: ros2 - robot_localization: # Caused by this error https://github.com/cra-ros-pkg/robot_localization/pull/876, it can be removed after the next synchronization of apt packages. - type: git - url: https://github.com/cra-ros-pkg/robot_localization.git - version: humble-devel - ros_components_description: - type: git - url: https://github.com/husarion/ros_components_description.git - version: ros2 - ros2_controllers: # Caused by two error: 1. https://github.com/ros-controls/ros2_controllers/pull/1104 2. There is no nice way to change `sensor_name` imu_bradcaster param when spawning multiple robots -> ros2_control refer only to single imu entity - type: git - url: https://github.com/rafal-gorecki/ros2_controllers.git - version: humble -