Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iri_imu_gazebo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
labrobotica
ros
sensors
imu
iri_imu_gazebo
Commits
743fc8c9
Commit
743fc8c9
authored
7 years ago
by
Sergi Hernandez
Browse files
Options
Downloads
Patches
Plain Diff
Used sensor independant name in the gazebo xacro macro.
parent
65c7bd19
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
launch/microstrain_imu_sim.launch
+1
-5
1 addition, 5 deletions
launch/microstrain_imu_sim.launch
urdf/imu.gazebo
+2
-2
2 additions, 2 deletions
urdf/imu.gazebo
with
3 additions
and
7 deletions
launch/microstrain_imu_sim.launch
+
1
−
5
View file @
743fc8c9
...
@@ -8,14 +8,11 @@
...
@@ -8,14 +8,11 @@
<arg
name=
"extra_gazebo_args"
value=
""
/>
<arg
name=
"extra_gazebo_args"
value=
""
/>
<arg
name=
"gui"
value=
"true"
/>
<arg
name=
"gui"
value=
"true"
/>
<arg
name=
"recording"
value=
"false"
/>
<arg
name=
"recording"
value=
"false"
/>
<!-- Note that 'headless' is currently non-functional. See gazebo_ros_pkgs issue #491 (-r arg does not disable
rendering, but instead enables recording). The arg definition has been left here to prevent breaking downstream
launch files, but it does nothing. -->
<arg
name=
"headless"
value=
"false"
/>
<arg
name=
"headless"
value=
"false"
/>
<arg
name=
"debug"
value=
"false"
/>
<arg
name=
"debug"
value=
"false"
/>
<arg
name=
"physics"
value=
"ode"
/>
<arg
name=
"physics"
value=
"ode"
/>
<arg
name=
"verbose"
value=
"false"
/>
<arg
name=
"verbose"
value=
"false"
/>
<arg
name=
"world_name"
value=
"worlds/empty.world"
/>
<!-- Note: the world_name is with respect to GAZEBO_RESOURCE_PATH environmental variable -->
<arg
name=
"world_name"
value=
"worlds/empty.world"
/>
<arg
name=
"respawn_gazebo"
value=
"false"
/>
<arg
name=
"respawn_gazebo"
value=
"false"
/>
<arg
name=
"use_clock_frequency"
value=
"false"
/>
<arg
name=
"use_clock_frequency"
value=
"false"
/>
<arg
name=
"pub_clock_frequency"
value=
"100"
/>
<arg
name=
"pub_clock_frequency"
value=
"100"
/>
...
@@ -29,7 +26,6 @@
...
@@ -29,7 +26,6 @@
<param
name=
"publish_frequency"
type=
"double"
value=
"20.0"
/>
<param
name=
"publish_frequency"
type=
"double"
value=
"20.0"
/>
</node>
</node>
<!-- Spawn a robot into Gazebo -->
<node
name=
"spawn_urdf"
pkg=
"gazebo_ros"
type=
"spawn_model"
args=
"-param robot_description -urdf -model microstrain_imu -x 0 -y 0 -z 0 -R 0 -P 0 -Y 0"
/>
<node
name=
"spawn_urdf"
pkg=
"gazebo_ros"
type=
"spawn_model"
args=
"-param robot_description -urdf -model microstrain_imu -x 0 -y 0 -z 0 -R 0 -P 0 -Y 0"
/>
</launch>
</launch>
...
...
This diff is collapsed.
Click to expand it.
urdf/imu.gazebo
+
2
−
2
View file @
743fc8c9
...
@@ -3,12 +3,12 @@
...
@@ -3,12 +3,12 @@
<xacro:macro
name=
"iri_imu_gazebo"
params=
"name config"
>
<xacro:macro
name=
"iri_imu_gazebo"
params=
"name config"
>
<xacro:property
name=
"properties"
value=
"${load_yaml(config)}"
/>
<xacro:property
name=
"properties"
value=
"${load_yaml(config)}"
/>
<gazebo
reference=
"${name}_
microstrain_
imu"
>
<gazebo
reference=
"${name}_imu"
>
<material>
Gazebo/Black
</material>
<material>
Gazebo/Black
</material>
</gazebo>
</gazebo>
<gazebo>
<gazebo>
<plugin
name=
"${name}_
microstrain_
imu_sim"
filename=
"libhector_gazebo_ros_imu.so"
>
<plugin
name=
"${name}_imu_sim"
filename=
"libhector_gazebo_ros_imu.so"
>
<updateRate>
${properties['rate']}
</updateRate>
<updateRate>
${properties['rate']}
</updateRate>
<robotNamespace>
${properties['namespace']}
</robotNamespace>
<robotNamespace>
${properties['namespace']}
</robotNamespace>
<bodyName>
${name}_microstrain_imu
</bodyName>
<bodyName>
${name}_microstrain_imu
</bodyName>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment