Skip to content

Instantly share code, notes, and snippets.

@rje1974
Created November 15, 2020 19:24
Show Gist options
  • Save rje1974/e463910626faf8e03f7b7d1283f8b66c to your computer and use it in GitHub Desktop.
Save rje1974/e463910626faf8e03f7b7d1283f8b66c to your computer and use it in GitHub Desktop.
Nav launch file
<?xml version="1.0" encoding="utf-8"?>
<!-- update gps lat long in gps_to_pose.launch start path publishing node pochito path_publisher.py start path following node pochito -->
<launch>
<!-- ****** Maps ***** -->
<node name="map_server" pkg="map_server" type="map_server" respawn="true" args="$(find lawn_tractor_sim)/maps/farm.yaml" output="screen">
<param name="frame_id" value="map"/>
</node>
<!-- ****** Fake localization for map and gps ***** -->
<node pkg="tf" type="static_transform_publisher" name="map_to_odom" args="0.0 0.0 0.0 0 0 0.0 /map /odom 100"/>
<!-- Transforms These are the measurements in meters for your sensors (x y z yaw pitch roll) x forward y left z up -->
<!-- node pkg="tf" type="static_transform_publisher" name="base_transform" args="0.0 0.0 0.2286 0 0 0 base_footprint base_link 10" -->
<node pkg="tf" type="static_transform_publisher" name="gps_transform" respawn="true" args="1.40 0.0 0.55 0 0 0 base_link gps 10"/>
<!-- Start GPS_Pose Localization-->
<!-- Calc heading from GPS Lo saque porque estaba duplicado con el del driver-->
<!-- node pkg="pochito" type="gps_heading.py" name="gps_heading" output="log"/ -->
<!-- Combines heading from gps /vel message and GPS /fix -->
<include file="$(find geodetic_utils)/launch/gps_to_pose.launch"/>
</launch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment