Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "ForzaETH Race Stack Humble",
"privileged": true,
"remoteUser": "${localEnv:USER}",
"image": "jet_forzaeth_racestack_ros2:humble",
// "image": "nuc_forzaeth_racestack_ros2:humble",
// "image": "jet_forzaeth_racestack_ros2:humble",
"image": "nuc_forzaeth_racestack_ros2:humble",
"initializeCommand": "/bin/bash -c 'source ${localWorkspaceFolder}/.devcontainer/xauth_setup.sh'",
"workspaceFolder": "/home/${localEnv:USER}/ws/src/race_stack/",
"workspaceMount": "source=${localWorkspaceFolder},target=/home/${localEnv:USER}/ws/src/race_stack,type=bind",
Expand Down
2 changes: 0 additions & 2 deletions controller/controller/controller_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ def __init__(self):
self.waypoint_pub = self.create_publisher(MarkerArray, 'my_waypoints', 10)
self.l1_pub = self.create_publisher(Point, 'l1_distance', 10)
self.gap_data = self.create_publisher(PidData, '/trailing/gap_data', 10)
# Publisher for steering and speed command
self.publish_topic = '/vesc/high_level/ackermann_cmd_mux/input/nav_1'

self.track_length = None
self.opponent = None
Expand Down
2 changes: 1 addition & 1 deletion sensors/vesc
9 changes: 6 additions & 3 deletions stack_master/launch/head_to_head_launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<arg name="overtake_mode" default="spliner" /> <!-- spliner / graph_based -->
<arg name="ctrl_algo" default="MAP"/> <!-- MAP / PP -->
<arg name="measure" default="False" />
<arg name="use_od" default="True" />

<!-- launch controller manager -->
<include file="$(find-pkg-share controller)/launch/controller_launch.xml">
Expand All @@ -23,8 +24,10 @@
</group>

<!-- PERCEPTION -->
<include file="$(find-pkg-share perception)/launch/perception_launch.xml">
<arg name="param_file" value="$(find-pkg-share stack_master)/config/opponent_tracker_params.yaml" />
</include>
<group if="$(var use_od)">
<include file="$(find-pkg-share perception)/launch/perception_launch.xml">
<arg name="param_file" value="$(find-pkg-share stack_master)/config/opponent_tracker_params.yaml" />
</include>
</group>

</launch>
1 change: 1 addition & 0 deletions stack_master/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
(os.path.join('share', package_name, 'config', 'NUC5'), glob(os.path.join('config', 'NUC5', '*/*'), recursive=True)),
(os.path.join('share', package_name, 'config', 'NUC5'), glob(os.path.join('config', 'NUC5', '*.yaml'))),
(os.path.join('share', package_name, 'config', 'NUC6'), glob(os.path.join('config', 'NUC6', '*/*'), recursive=True)),
(os.path.join('share', package_name, 'config', 'NUC6'), glob(os.path.join('config', 'NUC6', '*.yaml'))),
(os.path.join('share', package_name, 'config', 'NUC7'), glob(os.path.join('config', 'NUC7', '*.yaml'))),(os.path.join('share', package_name, 'config', 'NUC7'), glob(os.path.join('config', 'NUC7', '*/*'), recursive=True)),
(os.path.join('share', package_name, 'config', 'NUC7'), glob(os.path.join('config', 'NUC7', '*.yaml'))),
(os.path.join('share', package_name, 'config', 'SIM'), glob(os.path.join('config', 'SIM', '*.*'))),
Expand Down