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

Update examples to used gazebosim #1726

Merged
merged 1 commit into from
Oct 3, 2022
Merged
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
Update examples to used gazebosim
Signed-off-by: Nate Koenig <[email protected]>
Nate Koenig committed Sep 21, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 247360bc0c342020de73e79c4fcb1ddb63d3020f
2 changes: 1 addition & 1 deletion examples/plugin/command_actor/command_actor.sdf
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@

<include>
<pose>1 1 0 0 0 0</pose>
<uri>https://fuel.ignitionrobotics.org/1.0/Mingfei/models/actor</uri>
<uri>https://fuel.gazebosim.org/1.0/Mingfei/models/actor</uri>
<plugin filename="CommandActor"
name="command_actor::CommandActor">

Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@
</link>
</model>
<include>
<uri>https://fuel.ignitionrobotics.org/1.0/OpenRobotics/models/Simple Arm</uri>
<uri>https://fuel.gazebosim.org/1.0/OpenRobotics/models/Simple Arm</uri>
<plugin filename="build/libJointPositionRandomizer.so" name="reset_plugin::JointPositionRandomizer"/>
</include>
</world>
2 changes: 1 addition & 1 deletion examples/scripts/log_video_recorder/README.md
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ timestamped directory where the `record_one_run.bash` is in.
## Troubleshooting

1. The world / models are not being loaded on log playback?
A: Make sure you have all the fuel models downloaded in ~/.ignition/fuel cache
A: Make sure you have all the fuel models downloaded in ~/.gz/fuel cache
directory

1. I see `tmp_record` dir, `tmp_recording.mp4` and other left over mp4 files
4 changes: 2 additions & 2 deletions examples/standalone/joy_to_twist/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Joy to Twist

Standalone program that subscribes to
[gz::msgs::Joy](https://gazebosim.org/api/msgs/5.6/classignition_1_1msgs_1_1Joy.html)
[gz::msgs::Joy](https://gazebosim.org/api/msgs/9/classgz_1_1msgs_1_1Joy.html)
messages and converts publishes
[gz::msgs::Twist](https://gazebosim.org/api/msgs/5.6/classignition_1_1msgs_1_1Twist.html)
[gz::msgs::Twist](https://gazebosim.org/api/msgs/9/classgz_1_1msgs_1_1Twist.html)
messages according to user-defined configuration.

## Build
2 changes: 1 addition & 1 deletion examples/standalone/joystick/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Joystick

Standalone program that publishes
[gz::msgs::Joy](https://gazebosim.org/api/msgs/5.6/classignition_1_1msgs_1_1Joy.html)
[gz::msgs::Joy](https://gazebosim.org/api/msgs/9/classgz_1_1msgs_1_1Joy.html)
messages from a joystick device using Gazebo Transport.

The mapping of joystick buttons to fields in the message is the same as [this](http://wiki.ros.org/joy).
10 changes: 5 additions & 5 deletions examples/worlds/actor.sdf
Original file line number Diff line number Diff line change
@@ -67,16 +67,16 @@
<name>demo_actor</name>
<!-- override actor's pose, which has 1m in Z -->
<pose>0 0 0 0 0 0</pose>
<uri>https://fuel.ignitionrobotics.org/1.0/Mingfei/models/actor</uri>
<uri>https://fuel.gazebosim.org/1.0/Mingfei/models/actor</uri>
</include>

<actor name="actor_talking">
<skin>
<filename>https://fuel.ignitionrobotics.org/1.0/Mingfei/models/actor/tip/files/meshes/talk_b.dae</filename>
<filename>https://fuel.gazebosim.org/1.0/Mingfei/models/actor/tip/files/meshes/talk_b.dae</filename>
<scale>1.0</scale>
</skin>
<animation name="talk_b">
<filename>https://fuel.ignitionrobotics.org/1.0/Mingfei/models/actor/tip/files/meshes/talk_b.dae</filename>
<filename>https://fuel.gazebosim.org/1.0/Mingfei/models/actor/tip/files/meshes/talk_b.dae</filename>
<scale>0.055</scale>
<interpolate_x>true</interpolate_x>
</animation>
@@ -167,11 +167,11 @@

<actor name="actor_walking">
<skin>
<filename>https://fuel.ignitionrobotics.org/1.0/Mingfei/models/actor/tip/files/meshes/walk.dae</filename>
<filename>https://fuel.gazebosim.org/1.0/Mingfei/models/actor/tip/files/meshes/walk.dae</filename>
<scale>1.0</scale>
</skin>
<animation name="walk">
<filename>https://fuel.ignitionrobotics.org/1.0/Mingfei/models/actor/tip/files/meshes/walk.dae</filename>
<filename>https://fuel.gazebosim.org/1.0/Mingfei/models/actor/tip/files/meshes/walk.dae</filename>
<interpolate_x>true</interpolate_x>
</animation>
<script>
Loading