new maps and launch files added
This commit is contained in:
parent
a9be7e0ad9
commit
caeaeca1dd
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,7 @@
|
|||
image: Feb16_hallway_map.pgm
|
||||
mode: trinary
|
||||
resolution: 0.05
|
||||
origin: [-21.1, -27.3, 0]
|
||||
negate: 0
|
||||
occupied_thresh: 0.65
|
||||
free_thresh: 0.25
|
|
@ -0,0 +1,27 @@
|
|||
import os
|
||||
|
||||
from ament_index_python.packages import get_package_share_directory
|
||||
|
||||
from launch import LaunchDescription
|
||||
from launch.actions import IncludeLaunchDescription
|
||||
from launch.launch_description_sources import PythonLaunchDescriptionSource
|
||||
from launch_ros.actions import Node
|
||||
|
||||
|
||||
def generate_launch_description():
|
||||
|
||||
robot_localization = IncludeLaunchDescription(
|
||||
PythonLaunchDescriptionSource([os.path.join(
|
||||
get_package_share_directory('sportmode_nav2'), 'launch'),
|
||||
'/ros_ekf.launch.py'])
|
||||
)
|
||||
async_mapping = IncludeLaunchDescription(
|
||||
PythonLaunchDescriptionSource([os.path.join(
|
||||
get_package_share_directory('sportmode_nav2'), 'launch'),
|
||||
'/localization_async.launch.py'])
|
||||
)
|
||||
|
||||
return LaunchDescription([
|
||||
robot_localization,
|
||||
async_mapping,
|
||||
])
|
|
@ -19,9 +19,9 @@ slam_toolbox:
|
|||
# if you'd like to immediately start continuing a map at a given pose
|
||||
# or at the dock, but they are mutually exclusive, if pose is given
|
||||
# will use pose
|
||||
map_file_name: /home/unitree/locomotion/Go2Py/deploy/nav2_ws/lab_and_hallway
|
||||
# map_start_pose: [0.0, 0.0, 0.0]
|
||||
map_start_at_dock: true
|
||||
map_file_name: /home/rstaion/projects/rooholla/locomotion/Go2Py/deploy/nav2_ws/Feb16_hallway_map
|
||||
map_start_pose: [0.33, 1.49, 0.0]
|
||||
# map_start_at_dock: true
|
||||
|
||||
debug_logging: false
|
||||
throttle_scans: 1
|
||||
|
|
Loading…
Reference in New Issue