-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added rosparams and added namespaces
- Loading branch information
1 parent
9b55a22
commit 4ea82bb
Showing
21 changed files
with
142 additions
and
153 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# SHORT CIRCUIT | ||
SC_start_pos: "Hill1_SC" | ||
SC_velocity: 15.0 | ||
|
||
|
||
## Auton Arguments | ||
SC_controller: "stanley" | ||
SC_dist: 0.0 | ||
SC_traj: "buggycourse_safe.json" | ||
SC_self_name: "SC" | ||
SC_other_name: "NAND" | ||
|
||
# NAND | ||
NAND_start_pos: "Hill1_NAND" | ||
NAND_velocity: 7.0 | ||
|
||
## Auton Arguments | ||
NAND_controller: "stanley" | ||
NAND_dist: 0.0 | ||
NAND_traj: "buggycourse_safe.json" | ||
NAND_self_name: "NAND" | ||
NAND_other_name: NONE |
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,15 +1,11 @@ | ||
start_pos: "Hill1_SC" | ||
velocity: 15.0 | ||
buggy_name: "SC" | ||
|
||
manual_vel: false | ||
auto_vel: false | ||
|
||
|
||
# Auton Arguments | ||
controller: "stanley" | ||
dist: 0.0 | ||
traj: "buggycourse_safe.json" | ||
self_name: "SC" | ||
other_name: NONE | ||
# SHORT CIRCUIT | ||
SC_start_pos: "Hill1_SC" | ||
SC_velocity: 7.0 | ||
|
||
## Auton Arguments | ||
SC_controller: "stanley" | ||
SC_dist: 0.0 | ||
SC_traj: "buggycourse_safe.json" | ||
SC_self_name: "SC" | ||
SC_other_name: NONE | ||
|
File renamed without changes.
File renamed without changes.
This file was deleted.
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 |
---|---|---|
@@ -1,52 +1,38 @@ | ||
<launch> | ||
<arg name="sc_controller" default="stanley" /> | ||
<arg name="sc_start_pos" default="Hill1_SC" /> | ||
<arg name="sc_velocity" default="15.0" /> | ||
<rosparam file="src/buggy/config/sim_2buggies.yaml" /> | ||
|
||
<arg name="nand_controller" default="stanley" /> | ||
<arg name="nand_path" default="buggycourse_safe.json" /> | ||
<arg name="sc_path" default="buggycourse_safe.json" /> | ||
<arg name="nand_start_pos" default="Hill1_NAND" /> | ||
<arg name="nand_velocity" default="7.0" /> | ||
<node name="foxglove" pkg="foxglove_bridge" type="foxglove_bridge" /> | ||
|
||
<arg name="manual_vel" default="false" /> | ||
<arg name="auto_vel" default="false" /> | ||
|
||
<group if="$(arg auto_vel)"> | ||
<!-- Run the auto velocity updater --> | ||
<node name="nand_vel_updater" pkg="buggy" type="velocity_updater.py" | ||
output="screen" args="$(arg nand_velocity) NAND"/> | ||
output="screen" args="NAND"/> | ||
<node name="sc_vel_updater" pkg="buggy" type="velocity_updater.py" | ||
output="screen" args="$(arg sc_velocity) SC"/> | ||
output="screen" args="SC"/> | ||
</group> | ||
|
||
<group if="$(arg manual_vel)"> | ||
<!-- Run the manual velocity updater --> | ||
<node name="sc_velocity_ui" pkg="buggy" type="velocity_ui.py" | ||
output="screen" args="$(arg sc_velocity) SC"/> | ||
output="screen" args="SC"/> | ||
<node name="nand_velocity_ui" pkg="buggy" type="velocity_ui.py" | ||
output="screen" args="$(arg nand_velocity) NAND"/> | ||
output="screen" args="NAND"/> | ||
</group> | ||
|
||
<node name="foxglove" pkg="foxglove_bridge" type="foxglove_bridge" /> | ||
|
||
|
||
<!-- NAND --> | ||
<node name="nand_sim_2d_engine" pkg="buggy" type="engine.py" output="screen" | ||
args="$(arg nand_start_pos) $(arg nand_velocity) NAND"/> | ||
|
||
<!-- NAND is not aware of SC --> | ||
<arg name="nand_autonsystem_args" default="--controller $(arg nand_controller) --dist 0.0 --traj $(arg nand_path) --self_name NAND" /> | ||
args="NAND"/> | ||
<node name="nand_auton_system" pkg="buggy" type="autonsystem.py" output="screen" | ||
args="$(arg nand_autonsystem_args)"/> | ||
|
||
<arg name="sc_autonsystem_args" default="--controller $(arg sc_controller) --dist 0.0 --traj $(arg sc_path) --self_name SC --other_name NAND" /> | ||
<node name="sc_auton_system" pkg="buggy" type="autonsystem.py" output="screen" | ||
args="$(arg sc_autonsystem_args)"/> | ||
args="NAND"/> | ||
|
||
<!-- SC --> | ||
<node name="sc_sim_2d_engine" pkg="buggy" type="engine.py" output="screen" | ||
args="$(arg sc_start_pos) $(arg sc_velocity) SC"/> | ||
|
||
|
||
<node name="sc_rolling_sanity_check" pkg="buggy" type="rolling_sanity_check.py" output="screen" args="SC"/> | ||
args="SC"/> | ||
<node name="sc_auton_system" pkg="buggy" type="autonsystem.py" output="screen" | ||
args="SC"/> | ||
<!-- <node name="sc_rolling_sanity_check" pkg="buggy" type="rolling_sanity_check.py" output="screen" args="SC"/> --> | ||
|
||
</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
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 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
Oops, something went wrong.