Skip to content

Commit

Permalink
include velocity updater in CMakeList.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
JoyceZhu2486 committed Jan 21, 2025
1 parent 441fbab commit bdd8181
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 15 deletions.
1 change: 1 addition & 0 deletions rb_ws/src/buggy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ install(PROGRAMS
scripts/controller/controller_node.py
scripts/path_planner/path_planner.py
scripts/simulator/engine.py
scripts/simulator/velocity_updater.py
scripts/watchdog/watchdog_node.py
scripts/buggy_state_converter.py
scripts/serial/ros_to_bnyahaj.py
Expand Down
20 changes: 6 additions & 14 deletions rb_ws/src/buggy/launch/sim_2d_single_velocity.xml
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
<launch>

<node pkg="foxglove_bridge" exec="foxglove_bridge" name="foxglove" namespace="SC"/>
<node pkg="buggy" exec="hello_world" name="hello_world" namespace="SC" />
<node pkg="buggy" exec="sim_single" name="SC_sim_single" namespace="SC">
<node pkg="buggy" exec="engine.py" name="SC_sim_single" namespace="SC">
<param name="velocity" value="12"/>
<param name="pose" value="Hill1_SC"/>
</node>
<node pkg="buggy" exec="sim_single" name="NAND_sim_single" namespace="NAND">
<param name="velocity" value="12"/>
<param name="pose" value="Hill1_NAND"/>
<node pkg="buggy" exec="buggy_state_converter.py" name="SC_state_converter" namespace="SC"/>
<node pkg="buggy" exec="controller_node.py" name="SC_controller" namespace="SC">
<param name="dist" value="0.0"/>
<param name="traj_name" value="buggycourse_safe.json"/>
<param name="controller" value="stanley"/>
</node>

<!-- velocity ui or updater nodes -->
<!-- <node pkg="buggy" exec="velocity_ui" name="SC_velocity_ui" namespace="SC">
<param name="init_vel" value="12"/>
<param name="buggy_name" value="SC"/>
</node> -->
<node pkg="buggy" exec="velocity_updater" name="SC_velocity_updater" namespace="SC">
<param name="init_vel" value="12"/>
<param name="buggy_name" value="SC"/>
</node>

<!-- <node name="foxglove" pkg="foxglove_bridge" type="foxglove_bridge" />
<node name="hello_world" pkg="buggy" type="hello_world" /> -->
</launch>
1 change: 0 additions & 1 deletion rb_ws/src/buggy/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
'console_scripts': [
'hello_world = buggy.hello_world:main',
'sim_single = buggy.simulator.engine:main',
# 'velocity_ui = buggy.simulator.velocity_ui:main',
'velocity_updater = buggy.simulator.velocity_updater:main',
'watchdog = buggy.watchdog.watchdog_node:main'
],
Expand Down

0 comments on commit bdd8181

Please sign in to comment.