-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
66 additions
and
376 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
<maintainer email="[email protected]">Shravan S Rai</maintainer> | ||
|
||
<license>BSD</license> | ||
<url type="website">https://wiki.ros.org/mrpt_map</url> | ||
<url type="website">https://github.com/mrpt-ros-pkg/mrpt_navigation</url> | ||
|
||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
|
||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
<version>1.0.3</version> | ||
<description>C++ library to convert between custom mrpt_msgs messages and native MRPT classes</description> | ||
|
||
<url type="website">https://www.mrpt.org/</url> | ||
<url type="website">https://github.com/mrpt-ros-pkg/mrpt_navigation</url> | ||
<maintainer email="[email protected]">José Luis Blanco-Claraco</maintainer> | ||
<maintainer email="[email protected]">Shravan S Rai</maintainer> | ||
|
||
|
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 was deleted.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
mrpt_pf_localization/launch/demo_2d_lidar_gridmap.launch.py
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,56 @@ | ||
|
||
# ROS2 launch file | ||
|
||
from launch import LaunchDescription | ||
from launch.substitutions import TextSubstitution | ||
from launch.substitutions import LaunchConfiguration | ||
from launch_ros.actions import Node | ||
from launch.actions import DeclareLaunchArgument | ||
from ament_index_python import get_package_share_directory | ||
import os | ||
|
||
|
||
def generate_launch_description(): | ||
pfLocDir = get_package_share_directory("mrpt_pf_localization") | ||
pfTutorialsDir = get_package_share_directory("mrpt_tutorials") | ||
print('pfLocDir : ' + pfLocDir) | ||
print('pfTutorialsDir : ' + pfTutorialsDir) | ||
|
||
# args that can be set from the command line or a default will be used | ||
mrpt_map_config_file_launch_arg = DeclareLaunchArgument( | ||
"mrpt_map_config_file", default_value=TextSubstitution( | ||
text=os.path.join(pfLocDir, 'params', 'map-occgrid2d.ini'))) | ||
|
||
mrpt_simplemap_file_launch_arg = DeclareLaunchArgument( | ||
"mrpt_simplemap_file", default_value=TextSubstitution( | ||
text=os.path.join(pfTutorialsDir, 'maps', 'gh25_real_top_laser.simplemap'))) | ||
|
||
defaultParamsFile = os.path.join(pfLocDir, 'params', 'default.config.yaml') | ||
|
||
mvsim_node = Node( | ||
package='mrpt_pf_localization', | ||
executable='mrpt_pf_localization_node', | ||
name='mrpt_pf_localization', | ||
output='screen', | ||
parameters=[ | ||
defaultParamsFile, | ||
{ | ||
"mrpt_map_config_file": LaunchConfiguration('mrpt_map_config_file'), | ||
"mrpt_simplemap_file": LaunchConfiguration('mrpt_simplemap_file'), | ||
}] | ||
) | ||
|
||
rviz2_node = Node( | ||
package='rviz2', | ||
executable='rviz2', | ||
name='rviz2', | ||
arguments=[ | ||
'-d', [os.path.join(pfTutorialsDir, 'rviz', 'demo_localization.rviz')]] | ||
) | ||
|
||
return LaunchDescription([ | ||
mrpt_map_config_file_launch_arg, | ||
mrpt_simplemap_file_launch_arg, | ||
mvsim_node, | ||
rviz2_node | ||
]) |
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 |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
but supports different particle-filter algorithms, several grid maps at | ||
different heights, range-only localization, etc.</description> | ||
|
||
<url type="website">https://www.mrpt.org/</url> | ||
<url type="website">https://github.com/mrpt-ros-pkg/mrpt_navigation</url> | ||
<maintainer email="[email protected]">Markus Bader</maintainer> | ||
<maintainer email="[email protected]">Jose Luis Blanco-Claraco</maintainer> | ||
<author>Markus Bader</author> | ||
|
@@ -34,6 +34,8 @@ | |
|
||
<depend>ament_lint_common</depend> | ||
|
||
<test_depend>mrpt_tutorials</test_depend> | ||
|
||
<export> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
|
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.