From 65acd3c8ec023a8ca15d704655f38f566d97c953 Mon Sep 17 00:00:00 2001 From: bfotheri Date: Thu, 18 Jun 2020 08:56:04 -0600 Subject: [PATCH] Updated branch based on recommended PR changes (#464) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Made changes based on pull request comments * Update spawner.rb to fix negative accel limit * updated instructions for building ros ign bridge * Update spawner.rb Co-authored-by: Carlos Agüero --- .../BuildingCustomRosIgnBridgeForMarble.txt | 11 ++-- .../launch/spawner.rb | 4 ++ .../launch/vehicle_topics.launch | 51 +++++++++++++++++++ subt_ros/launch/competition_init.launch | 4 +- 4 files changed, 62 insertions(+), 8 deletions(-) diff --git a/submitted_models/marble_husky_sensor_config_1/BuildingCustomRosIgnBridgeForMarble.txt b/submitted_models/marble_husky_sensor_config_1/BuildingCustomRosIgnBridgeForMarble.txt index d7ac505c..2af1b577 100644 --- a/submitted_models/marble_husky_sensor_config_1/BuildingCustomRosIgnBridgeForMarble.txt +++ b/submitted_models/marble_husky_sensor_config_1/BuildingCustomRosIgnBridgeForMarble.txt @@ -1,10 +1,10 @@ -# Building custom ros_ign_bridge to make pan/tilt gimbal work (on marble vehicles): +# Building ros_ign_bridge to make pan/tilt gimbal work (on marble vehicles): First, follow instructions for building from source on this page: -https://github.com/realdealneil/ros_ign/tree/melodic/ros_ign_bridge +https://github.com/osrf/ros_ign/tree/melodic/ros_ign_bridge Except, use the following clone URL instead: -git clone https://github.com/realdealneil/ros_ign.git -b melodic +git clone https://github.com/osrf/ros_ign.git -b melodic Once you've built, you will need to stack your workspace (subt workspace) on top of this workspace. To do this, do as follows: @@ -17,6 +17,5 @@ source ~/bridge_ws/install/setup.bash catkin_make install ``` -Alternatively, you can clone the above repo directly inside of subt repo -and do a clean build. I have issued pull request on ros_ign_bridge and -once that has made its way into subt, this will no longer be necessary. +Once the binaries for this package are updated a simple "sudo apt-get install ros-melodic-ros-ign-bridge" will suffice for installation + diff --git a/submitted_models/marble_husky_sensor_config_1/launch/spawner.rb b/submitted_models/marble_husky_sensor_config_1/launch/spawner.rb index 41d44932..bbedab7a 100644 --- a/submitted_models/marble_husky_sensor_config_1/launch/spawner.rb +++ b/submitted_models/marble_husky_sensor_config_1/launch/spawner.rb @@ -20,6 +20,10 @@ def spawner(_name, _modelURI, _worldName, _x, _y, _z, _roll, _pitch, _yaw) #{0.45649 * 1.5} 0.1651 /model/#{_name}/cmd_vel_relay + -1 + 1 + -3 + 3 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + name="bridge_logger"/>