-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
d44639c
commit f6263e0
Showing
9 changed files
with
151 additions
and
43 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
for i in `seq 1` | ||
do | ||
roslaunch real_tsudanuma2-3_sim nav_cloning_sim.launch script:=nav_cloning_with_direction_node.py mode:=selected_training world_name:=tsudanuma2-3_v2.3.3.world map_file:=real_tsudanuma2-3.yaml waypoints_file:=real_tsudanuma2-3_way.yaml dist_err:=0.8 initial_pose_x:=-5.0 initial_pose_y:=7.7 initial_pose_a:=3.14 use_waypoint_nav:=true robot_x:=0.0 robot_y:=0.0 robot_Y:=0.0 | ||
roslaunch real_tsudanuma2-3_sim nav_cloning_sim.launch script:=nav_cloning_with_direction_node.py mode:=selected_training world_name:=tsudanuma2-3_v2.3.3.world map_file:=real_tsudanuma2-3_v2.yaml waypoints_file:=real_tsudanuma2-3_way.yaml dist_err:=0.8 initial_pose_x:=-5.0 initial_pose_y:=7.7 initial_pose_a:=3.14 use_waypoint_nav:=true robot_x:=0.0 robot_y:=0.0 robot_Y:=0.0 | ||
sleep 10 | ||
done |
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,5 @@ | ||
for i in `seq 1` | ||
do | ||
roslaunch real_tsudanuma2-3_sim nav_cloning_sim_turtlebot3.launch script:=nav_cloning_with_direction_node.py mode:=selected_training world_name:=tsudanuma2-3_v2.3.3.world map_file:=real_tsudanuma2-3.yaml waypoints_file:=real_tsudanuma2-3_way.yaml dist_err:=0.8 initial_pose_x:=-5.0 initial_pose_y:=7.7 initial_pose_a:=3.14 use_waypoint_nav:=true robot_x:=0.0 robot_y:=0.0 robot_Y:=0.0 | ||
sleep 10 | ||
done |
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,55 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<arg name="script" default="nav_cloning_node.py"/> | ||
<arg name="mode" default="use_dl_output"/> | ||
<arg name="world_name" default="willow_garage.world"/> | ||
<arg name="map_file" default="willowgarage.yaml"/> | ||
<arg name="waypoints_file" default="willow_loop.yaml"/> | ||
<arg name="dist_err" default="0.8"/> | ||
<arg name="initial_pose_x" default="-10.78" /> | ||
<arg name="initial_pose_y" default="-16.78" /> | ||
<arg name="initial_pose_a" default="0.0" /> | ||
<arg name="use_waypoint_nav" default="false" /> | ||
<arg name="use_initpose" default="false" /> | ||
<arg name="use_update_amcl_param" default="false" /> | ||
<arg name="robot_x" default="0.0" /> | ||
<arg name="robot_y" default="0.0" /> | ||
<arg name="robot_Y" default="0.0" /> | ||
<rosparam param="/nav_cloning_node/mode" subst_value="True">$(arg mode)</rosparam> | ||
|
||
<include file="$(find gazebo_ros)/launch/empty_world.launch"> | ||
<arg name="world_name" value="$(find real_tsudanuma2-3_sim)/world/$(arg world_name)"/> | ||
<arg name="paused" value="false"/> | ||
<arg name="use_sim_time" value="true"/> | ||
<arg name="gui" value="false"/> | ||
<arg name="headless" value="false"/> | ||
<arg name="debug" value="false"/> | ||
</include> | ||
|
||
<param name="robot_description" command="$(find xacro)/xacro $(find turtlebot3_description)/urdf/turtlebot3_waffle_pi.urdf.xacro" /> | ||
|
||
<node pkg="gazebo_ros" type="spawn_model" name="spawn_urdf" args="-urdf -model mobile_base -x $(arg robot_x) -y $(arg robot_y) -z 0.28 -Y $(arg robot_Y) -param robot_description" /> | ||
|
||
<group if="$(arg use_initpose)"> | ||
<node pkg="nav_cloning" type="initpose" name="initpose"/> | ||
</group> | ||
|
||
<!-- <node pkg="timed_roslaunch" type="timed_roslaunch.sh" | ||
args="5 nav_cloning nav_cloning.launch script:=$(arg script)" | ||
name="timed_roslaunch" output="screen" /> --> | ||
|
||
<node pkg="timed_roslaunch" type="timed_roslaunch.sh" | ||
args="8 real_tsudanuma2-3_sim turtlebot3_navigation.launch model:=waffle_pi map_file:=$(find real_tsudanuma2-3_sim)/maps/$(arg map_file) waypoints_file:=$(find real_tsudanuma2-3_sim)/maps/$(arg waypoints_file) dist_err:=$(arg dist_err) initial_pose_x:=$(arg initial_pose_x) initial_pose_y:=$(arg initial_pose_y) initial_pose_a:=$(arg initial_pose_a) use_waypoint_nav:=$(arg use_waypoint_nav) use_update_amcl_param:=$(arg use_update_amcl_param)" | ||
name="timed_roslaunch2" > | ||
</node> | ||
|
||
<node pkg="timed_roslaunch" type="timed_roslaunch.sh" | ||
args="15 nav_cloning start_wp_nav.launch" | ||
name="timed_roslaunch3" > | ||
</node> | ||
|
||
<node pkg="timed_roslaunch" type="timed_roslaunch.sh" | ||
args="15 nav_cloning piechart.launch" | ||
name="timed_roslaunch4" > | ||
</node> | ||
</launch> |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,7 @@ | ||
image: real_tsudanuma2-3_v2.pgm | ||
resolution: 0.050000 | ||
origin: [-100.000000, -100.000000, 0.000000] | ||
negate: 0 | ||
occupied_thresh: 0.65 | ||
free_thresh: 0.196 | ||
|
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