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

Updates to m100 model submission #470

Merged
merged 4 commits into from
Jun 19, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 7 additions & 4 deletions submitted_models/cerberus_m100_sensor_config_1/launch/spawner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ def spawner(_name, _modelURI, _worldName, _x, _y, _z, _roll, _pitch, _yaw)
topScan=1
bottomScan=1
rgbdCam=1
<plugin name="ignition::launch::GazeboFactory"
filename="libignition-launch-gazebo-factory.so">
end
<spawn name="${_name}">
<name>#{_name}</name>
<allow_renaming>false</allow_renaming>
<pose>#{_x} #{_y} #{_z + 0.2} #{_roll} #{_pitch} #{_yaw}</pose>
Expand All @@ -43,6 +43,9 @@ def spawner(_name, _modelURI, _worldName, _x, _y, _z, _roll, _pitch, _yaw)
<publish_collision_pose>false</publish_collision_pose>
<publish_visual_pose>false</publish_visual_pose>
<publish_nested_model_pose>#{$enableGroundTruth}</publish_nested_model_pose>
<use_pose_vector_msg>true</use_pose_vector_msg>
<static_publisher>true</static_publisher>
<static_update_frequency>1</static_update_frequency>
</plugin>
<plugin filename="libignition-gazebo-multicopter-motor-model-system.so"
name="ignition::gazebo::systems::MulticopterMotorModel">
Expand Down Expand Up @@ -194,8 +197,8 @@ def spawner(_name, _modelURI, _worldName, _x, _y, _z, _roll, _pitch, _yaw)
</plugin>
</include>
</sdf>
</plugin>
</spawn>

HEREDOC
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,17 @@
pkg="ros_ign_bridge"
type="parameter_bridge"
name="ros_ign_bridge_pose"
args="/model/$(arg name)/pose@geometry_msgs/TransformStamped[ignition.msgs.Pose">
args="/model/$(arg name)/pose@tf2_msgs/TFMessage[ignition.msgs.Pose_V">
<remap from="/model/$(arg name)/pose" to="pose"/>
</node>
<node
pkg="ros_ign_bridge"
type="parameter_bridge"
name="ros_ign_bridge_pose_static"
args="/model/$(arg name)/pose_static@tf2_msgs/TFMessage[ignition.msgs.Pose_V">
<remap from="/model/$(arg name)/pose_static" to="pose_static"/>
</node>

<node
pkg="ros_ign_bridge"
type="parameter_bridge"
Expand Down Expand Up @@ -119,6 +127,16 @@
args="$(arg sensor_prefix)/camera_front/image">
<remap from="$(arg sensor_prefix)/camera_front/image" to="front/image_raw"/>
</node>

<node
pkg="subt_ros"
type="optical_frame_publisher"
name="optical_frame_publisher">
<remap from="input/image" to="front/image_raw" />
<remap from="output/image" to="front/optical/image_raw" />
<remap from="input/camera_info" to="front/camera_info" />
<remap from="output/camera_info" to="front/optical/camera_info" />
</node>
</group>

<!-- laser scan -->
Expand Down
265 changes: 0 additions & 265 deletions submitted_models/cerberus_m100_sensor_config_1/meshes/m100.dae.orig

This file was deleted.