-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gps sensor to sumulation, remap /vectornav/gnss to /gnss
- Loading branch information
1 parent
89d7d5f
commit 9230247
Showing
8 changed files
with
71 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,6 +209,8 @@ Visualization Manager: | |
{} | ||
imu_link: | ||
{} | ||
gps_link: | ||
{} | ||
track_l: | ||
{} | ||
track_r: | ||
|
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,39 @@ | ||
<?xml version="1.0"?> | ||
<robot xmlns:xacro="http://www.ros.org/wiki/xacro"> | ||
|
||
<joint name="gps_joint" type="fixed"> | ||
<parent link="base_link"/> | ||
<child link="gps_link"/> | ||
<origin xyz="0.1 0 0.212" rpy="0 0 0"/> | ||
</joint> | ||
|
||
<link name="gps_link"> | ||
<inertial> | ||
<origin xyz="0 0 0" rpy="0 0 0"/> | ||
<mass value="0.1"/> | ||
<inertia ixx="0.0001" ixy="0.0" ixz="0.0" iyy="0.0001" iyz="0.0" izz="0.0001"/> | ||
</inertial> | ||
<visual> | ||
<origin xyz="0 0 0" rpy="0 0 0"/> | ||
<geometry> | ||
<cylinder length="0.1" radius="0.1"/> | ||
</geometry> | ||
</visual> | ||
<collision> | ||
<origin xyz="0 0 0" rpy="0 0 0"/> | ||
<geometry> | ||
<cylinder length="0.1" radius="0.1"/> | ||
</geometry> | ||
</collision> | ||
</link> | ||
|
||
<gazebo reference="gps_link"> | ||
<material>Gazebo/Black</material> | ||
<sensor name="navsat" type="navsat"> | ||
<gz_frame_id>gps_link</gz_frame_id> | ||
<always_on>true</always_on> | ||
<update_rate>1</update_rate> | ||
<topic>navsat</topic> | ||
</sensor> | ||
</gazebo> | ||
</robot> |
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