-
Notifications
You must be signed in to change notification settings - Fork 14
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 #5 from qingjieqi/master
Path following launch
- Loading branch information
Showing
5 changed files
with
62 additions
and
46 deletions.
There are no files selected for viewing
23 changes: 4 additions & 19 deletions
23
ros/src/models/chrono/ros_chrono/launch/path_follower.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,14 @@ | ||
<launch> | ||
<arg name="system_params_path" default="$(find system)/config/system/pkgs/chrono.yaml"/> | ||
<arg name="vehicle_params_path" default="$(find system)/config/vehicle/hmmwv.yaml"/> | ||
<arg name="case_params_path" default="$(find system)/config/case/s1.yaml"/> | ||
<arg name="case_params_path" default="$(find system)/config/case/path_follower.yaml"/> | ||
<arg name="chrono_params_path" default="$(find system)/config/planner/chrono_testing/hmmwv_chrono_params.yaml"/> | ||
|
||
|
||
|
||
<rosparam command="load" file="$(arg system_params_path)"/> | ||
<rosparam command="load" file="$(arg vehicle_params_path)"/> | ||
<rosparam command="load" file="$(arg case_params_path)"/> | ||
<rosparam command="load" file="$(arg chrono_params_path)"/> | ||
|
||
<!--rosparam command="load" file="$(find system)/config/case/case1.yaml"/> | ||
<rosparam command="load" file="$(find system)/config/system/demoD.yaml"/> | ||
<rosparam command="load" file="$(find system)/config/system/test_chrono.yaml"/> | ||
<rosparam command="load" file="$(find system)/config/vehicle/hmmwv.yaml"/> | ||
<node name="Reference" pkg="traj_gen_chrono" type="traj_gen_chrono"/> | ||
<node name="Chronode" pkg="ros_chrono" type="hmmwv_model" cwd="node" /> | ||
<node name="tf_position_broadcaster" pkg="chrono_position_broadcaster" type="chrono_position_broadcaster" cwd="node" /--> | ||
|
||
<include file="$(find ros_chrono)/launch/main.launch"> | ||
<arg name="system_params_path" value="$(arg system_params_path)"/> | ||
<arg name="vehicle_params_path" value="$(arg vehicle_params_path)"/> | ||
<arg name="case_params_path" value="$(arg case_params_path)"/> | ||
<arg name="chrono_params_path" value="$(arg chrono_params_path)"/> | ||
|
||
</include> | ||
|
||
<node name="path" pkg="traj_gen_chrono" type="path_gen_chrono" output="screen"/> | ||
<node name="Chronode" pkg="ros_chrono" type="path_follower" cwd="node" /> | ||
</launch> |
6 changes: 3 additions & 3 deletions
6
ros/src/models/chrono/ros_chrono/src/data/vehicle/paths/switch_lane.txt
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 @@ | ||
4 3 | ||
56.0000 -125.0000 0.1000 | ||
-125.0000 -125.0000 0.1000 | ||
-125.0000 -120.0000 0.1000 | ||
56.0000 -122.0000 0.1000 | ||
-122.0000 -122.0000 0.1000 | ||
-122.0000 -120.0000 0.1000 | ||
56.0000 -120.0000 0.1000 |
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,35 @@ | ||
case: | ||
goal: | ||
x: 200. | ||
yVal: 125. | ||
psi: 1.5701 | ||
tol: 4 | ||
|
||
actual: | ||
X0: | ||
x: -115.0 | ||
yVal: -120.0 | ||
v: 0.0 | ||
r: 0.0 | ||
psi: 1.57079632679 | ||
sa: 0.0 | ||
ux: 0.0 | ||
ax: 0.0 | ||
obstacle: | ||
num: 1 | ||
radius: [1.] | ||
length: [5.] | ||
x0: [200] | ||
y0: [50] | ||
vx: [0] | ||
vy: [0] | ||
|
||
assumed: | ||
obstacle: | ||
num: 10 | ||
radius: [1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0] | ||
length: [4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0] | ||
x0: [-100.0,-100.0,-100.0,-100.0,-100.0,-100.0,-100.0,-100.0,-100.0,-100.0] | ||
y0: [0,2,4,6,8,10,12,14,16,18] | ||
vx: [0,0,0,0,0,0,0,0,0,0] | ||
vy: [0,0,0,0,0,0,0,0,0,0] |