forked from CMU-Robotics-Club/RoboBuggy2
-
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
Showing
27 changed files
with
395 additions
and
165 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,10 +1,15 @@ | ||
.DS_Store | ||
rb_ws/bags | ||
.docker-compose.yml.un~ | ||
.python-requirements.txt.un~ | ||
docker-compose.yml~ | ||
*TEMP_DO_NOT_EDIT.txt | ||
rb_ws/src/buggy/bags/ | ||
|
||
# BAGS | ||
rb_ws/bags | ||
rb_ws/src/buggy/bags/* | ||
*.bag | ||
rb_ws/rosbag2/ | ||
|
||
# VISION | ||
.vision/ | ||
vision/data/ | ||
vision/data/ |
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,48 @@ | ||
cmake_minimum_required(VERSION 3.8) | ||
project(buggy) | ||
|
||
# Default to C++14 | ||
if(NOT CMAKE_CXX_STANDARD) | ||
set(CMAKE_CXX_STANDARD 14) | ||
endif() | ||
|
||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") | ||
add_compile_options(-Wall -Wextra -Wpedantic) | ||
endif() | ||
|
||
# Find dependencies | ||
find_package(ament_cmake REQUIRED) | ||
find_package(ament_cmake_python REQUIRED) | ||
find_package(rclcpp REQUIRED) | ||
find_package(rclpy REQUIRED) | ||
|
||
# Install Launch Files | ||
install(DIRECTORY | ||
launch | ||
DESTINATION share/${PROJECT_NAME} | ||
) | ||
|
||
# Install Python modules | ||
# ament_python_install_package(${PROJECT_NAME}) | ||
|
||
# Install Python executables | ||
install(PROGRAMS | ||
scripts/hello_world.py | ||
scripts/controller/controller_node.py | ||
scripts/path_planner/path_planner.py | ||
scripts/simulator/engine.py | ||
scripts/watchdog/watchdog_node.py | ||
scripts/buggy_state_converter.py | ||
scripts/serial/ros_to_bnyahaj.py | ||
DESTINATION lib/${PROJECT_NAME} | ||
) | ||
|
||
|
||
find_package(rosidl_default_generators REQUIRED) | ||
|
||
rosidl_generate_interfaces(${PROJECT_NAME} | ||
"msg/TrajectoryMsg.msg" | ||
) | ||
ament_export_dependencies(rosidl_default_runtime) | ||
|
||
ament_package() |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<launch> | ||
|
||
<node pkg="foxglove_bridge" exec="foxglove_bridge" name="foxglove" output = "screen" namespace="SC"/> | ||
|
||
<node pkg="buggy" exec="buggy_state_converter.py" name="NAND_state_converter" output = "screen" namespace="NAND"/> | ||
<node pkg="buggy" exec="controller_node.py" name="NAND_controller" output = "screen" namespace="NAND"> | ||
<param name="dist" value="0.0"/> | ||
<param name="traj_name" value="buggycourse_safe.json"/> | ||
<param name="controller" value="stanley"/> | ||
</node> | ||
<node pkg="buggy" exec="engine.py" name="NAND_sim_single" output = "screen" namespace="NAND"> | ||
<param name="velocity" value="8"/> | ||
<param name="pose" value="Hill1_NAND"/> | ||
</node> | ||
|
||
<node pkg="buggy" exec="buggy_state_converter.py" name="SC_state_converter" output = "screen" namespace="SC"/> | ||
<node pkg="buggy" exec="controller_node.py" name="SC_controller" output = "screen" namespace="SC"> | ||
<param name="dist" value="0.0"/> | ||
<param name="traj_name" value="buggycourse_safe.json"/> | ||
<param name="controller" value="stanley"/> | ||
</node> | ||
<node pkg="buggy" exec="engine.py" name="SC_sim_single" output = "screen" namespace="SC"> | ||
<param name="velocity" value="12"/> | ||
<param name="pose" value="Hill1_SC"/> | ||
</node> | ||
<node pkg="buggy" exec="path_planner.py" name="SC_path_planner" namespace="SC" output = "screen"> | ||
<param name="traj_name" value="buggycourse_safe.json"/> | ||
<remap from="other/state" to="/NAND/self/state"/> | ||
</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
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,4 +1,4 @@ | ||
<launch> | ||
<node pkg="foxglove_bridge" exec="foxglove_bridge" name="foxglove" namespace="SC"/> | ||
<node pkg="buggy" exec="watchdog" name="SC_watchdog" namespace="SC"/> | ||
<node pkg="buggy" exec="watchdog_node.py" name="SC_watchdog" namespace="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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,30 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>buggy</name> | ||
<version>0.0.0</version> | ||
<description>TODO: Package description</description> | ||
<maintainer email="[email protected]">root</maintainer> | ||
<license>TODO: License declaration</license> | ||
<version>2.0.0</version> | ||
<description>CMU's First Robotic Buggy</description> | ||
<maintainer email="[email protected]">CMU's Robotic Club Officers</maintainer> | ||
<license>MIT</license> | ||
|
||
<buildtool_depend>ament_cmake</buildtool_depend> | ||
<buildtool_depend>ament_cmake_python</buildtool_depend> | ||
|
||
|
||
<depend>rclcpp</depend> | ||
<depend>rclpy</depend> | ||
|
||
|
||
<test_depend>ament_copyright</test_depend> | ||
<test_depend>ament_flake8</test_depend> | ||
<test_depend>ament_pep257</test_depend> | ||
<test_depend>python3-pytest</test_depend> | ||
<exec_depend>ros2launch</exec_depend> | ||
|
||
<test_depend>ament_lint_auto</test_depend> | ||
<test_depend>ament_lint_common</test_depend> | ||
|
||
<buildtool_depend>rosidl_default_generators</buildtool_depend> | ||
<exec_depend>rosidl_default_runtime</exec_depend> | ||
<member_of_group>rosidl_interface_packages</member_of_group> | ||
|
||
|
||
<export> | ||
<build_type>ament_python</build_type> | ||
<build_type>ament_cmake</build_type> | ||
</export> | ||
</package> | ||
</package> |
Empty file.
File renamed without changes.
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
File renamed without changes.
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
4 changes: 3 additions & 1 deletion
4
rb_ws/src/buggy/buggy/hello_world.py → rb_ws/src/buggy/scripts/hello_world.py
100644 → 100755
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.