forked from PX4/PX4-SITL_gazebo-classic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Magnetometer plugin now derived from sensorplugin. Magnetometer topic dervied from naming. Updated all models with magnetometer submodel
- Loading branch information
1 parent
3312423
commit b968405
Showing
28 changed files
with
319 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.5"> | ||
<model name="magnetometer"> | ||
<pose>0 0 0 0 0 0</pose> | ||
<link name="link"> | ||
<inertial> | ||
<mass>0.001</mass> | ||
<inertia> | ||
<ixx>1e-07</ixx> | ||
<ixy>0</ixy> | ||
<ixz>0</ixz> | ||
<iyy>1e-07</iyy> | ||
<iyz>0</iyz> | ||
<izz>1e-07</izz> | ||
</inertia> | ||
</inertial> | ||
<visual name="visual"> | ||
<geometry> | ||
<cylinder> | ||
<radius>0.01</radius> | ||
<length>0.1</length> | ||
</cylinder> | ||
</geometry> | ||
<material> | ||
<script> | ||
<name>Gazebo/Black</name> | ||
</script> | ||
</material> | ||
</visual> | ||
<sensor name="magnetometer" type="magnetometer"> | ||
<pose>0 0 0 0 0 0</pose> | ||
<always_on>true</always_on> | ||
<visualize>false</visualize> | ||
<plugin name='magnetometer_plugin' filename='libgazebo_magnetometer_plugin.so'> | ||
<robotNamespace/> | ||
<pubRate>100</pubRate> | ||
<noiseDensity>0.0004</noiseDensity> | ||
<randomWalk>6.4e-06</randomWalk> | ||
<biasCorrelationTime>600</biasCorrelationTime> | ||
</plugin> | ||
</sensor> | ||
</link> | ||
</model> | ||
</sdf> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<model> | ||
<name>Magnetometer</name> | ||
<version>1.0</version> | ||
<sdf version="1.5">magnetometer.sdf</sdf> | ||
|
||
<description> | ||
Common magnetometer model. | ||
</description> | ||
</model> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.