-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from LCAS/poop_topo_nodes
Poop topo nodes
- Loading branch information
Showing
5 changed files
with
513 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
action: move_base | ||
action_type: move_base_msgs/MoveBaseGoal | ||
config: [] | ||
edge_id: origin_destination | ||
fail_policy: fail | ||
fluid_navigation: True | ||
goal: | ||
target_pose: | ||
header: | ||
frame_id: $node.parent_frame | ||
pose: $node.pose | ||
node: destination | ||
recovery_behaviours_config: '' | ||
restrictions_planning: 'True' | ||
restrictions_runtime: 'True' |
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,41 @@ | ||
meta: | ||
map: map_2d | ||
node: NodeName | ||
pointset: PointSet | ||
node: | ||
edges: [] | ||
localise_by_topic: '' | ||
name: NodeName | ||
parent_frame: map | ||
pose: | ||
orientation: | ||
w: 1.0 | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
position: | ||
x: 0.0 | ||
y: 0.0 | ||
z: 0.0 | ||
properties: | ||
xy_goal_tolerance: 0.3 | ||
yaw_goal_tolerance: 6.29 | ||
restrictions_planning: 'True' | ||
restrictions_runtime: 'True' | ||
verts: | ||
- x: 0.689999997616 | ||
y: 0.287000000477 | ||
- x: 0.287000000477 | ||
y: 0.490000009537 | ||
- x: -0.287000000477 | ||
y: 0.490000009537 | ||
- x: -0.689999997616 | ||
y: 0.287000000477 | ||
- x: -0.689999997616 | ||
y: -0.287000000477 | ||
- x: -0.287000000477 | ||
y: -0.490000009537 | ||
- x: 0.287000000477 | ||
y: -0.490000009537 | ||
- x: 0.689999997616 | ||
y: -0.287000000477 |
42 changes: 42 additions & 0 deletions
42
topological_navigation/launch/manual_topomapping.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,42 @@ | ||
''' | ||
Author: Ibrahim Hroob <[email protected]> 2024 | ||
''' | ||
import os | ||
from launch import LaunchDescription | ||
from launch.actions import DeclareLaunchArgument | ||
from launch.substitutions import LaunchConfiguration | ||
from launch_ros.actions import Node | ||
|
||
def generate_launch_description(): | ||
return LaunchDescription([ | ||
# Declare the launch arguments | ||
DeclareLaunchArgument('tmap', default_value='test.yaml'), | ||
DeclareLaunchArgument('tmap_dir', default_value='/home/ros/tmap'), | ||
DeclareLaunchArgument('node_thresh', default_value='0.5'), | ||
DeclareLaunchArgument('lock_btn', default_value='6'), | ||
DeclareLaunchArgument('add_btn', default_value='1'), | ||
DeclareLaunchArgument('remove_btn', default_value='2'), | ||
DeclareLaunchArgument('gen_map_btn', default_value='3'), | ||
DeclareLaunchArgument('topic_joy', default_value='/joy'), | ||
DeclareLaunchArgument('topic_pose', default_value='/gps_base/odometry'), | ||
|
||
# Launch the manual_topomapping node | ||
Node( | ||
package='topological_navigation', | ||
executable='manual_topomapping.py', | ||
name='manual_topomapping', | ||
output='screen', | ||
parameters=[{ | ||
'tmap' : LaunchConfiguration('tmap'), | ||
'tmap_dir' : LaunchConfiguration('tmap_dir'), | ||
'site_name' : LaunchConfiguration('tmap'), | ||
'node_thresh': LaunchConfiguration('node_thresh'), | ||
'lock_btn' : LaunchConfiguration('lock_btn'), | ||
'add_btn' : LaunchConfiguration('add_btn'), | ||
'remove_btn' : LaunchConfiguration('remove_btn'), | ||
'gen_map_btn': LaunchConfiguration('gen_map_btn'), | ||
'topic_joy' : LaunchConfiguration('topic_joy'), | ||
'topic_pose' : LaunchConfiguration('topic_pose'), | ||
}] | ||
), | ||
]) |
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.