-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ROS2 casevac and chat agent support; refactor ros2tak_tools.
Introduced ROS2 casevac and chat agents to facilitate case evacuation and ROS-chat integration. Updated existing configurations, refactored ros2tak_tools, and added appropriate Dockerfile and Python classes. Removed deprecated setup.cfg and package.xml to improve the project structure.
- Loading branch information
1 parent
837abc2
commit d81a37d
Showing
23 changed files
with
1,788 additions
and
76 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
File renamed without changes.
37 changes: 37 additions & 0 deletions
37
ground_control_station/docker/Dockerfile.ros2casevac_agent
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,37 @@ | ||
# Use the official ROS 2 Humble base image | ||
FROM ros:humble | ||
|
||
ARG ROS_WS_DIR | ||
|
||
# Set working directory | ||
WORKDIR ${ROS_WS_DIR} | ||
|
||
# Update and install necessary dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
python3-pip \ | ||
ros-humble-rosbag2 \ | ||
ros-humble-rosbag2-storage-mcap \ | ||
python3-colcon-common-extensions \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Upgrade pip and install Python dependencies | ||
RUN pip3 install --upgrade pip \ | ||
&& pip3 install setuptools==57.5.0 pytak pyyaml \ | ||
&& pip3 install paho-mqtt | ||
|
||
# Source ROS 2 setup file to ensure environment variables are set | ||
# You may want to add this to ENTRYPOINT or CMD if you're working interactively | ||
RUN echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc | ||
|
||
# COPY the agent code into the container | ||
COPY ground_control_station/ros_ws/src/ros2tak_tools ${ROS_WS_DIR}/src/ros2tak_tools | ||
COPY common/ros_packages/straps_msgs ${ROS_WS_DIR}/src/straps_msgs | ||
|
||
# Build the ROS 2 workspace | ||
RUN /bin/bash -c "source /opt/ros/humble/setup.bash && \ | ||
colcon build --symlink-install --packages-select straps_msgs && \ | ||
colcon build --symlink-install" | ||
|
||
# Source the workspace setup file to ensure environment variables are set | ||
RUN echo "source ${ROS_WS_DIR}/install/setup.bash" >> ~/.bashrc | ||
|
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
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
25 changes: 0 additions & 25 deletions
25
ground_control_station/ros_ws/src/ros2tak_tools/package.xml
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
ground_control_station/ros_ws/src/ros2tak_tools/ros2tak_tools.egg-info/PKG-INFO
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,8 @@ | ||
Metadata-Version: 2.1 | ||
Name: ros2tak_tools | ||
Version: 0.0.0 | ||
Summary: TODO: Package description | ||
Maintainer: mission-operator | ||
Maintainer-email: [email protected] | ||
License: TODO: License declaration | ||
Requires-Dist: setuptools |
24 changes: 24 additions & 0 deletions
24
ground_control_station/ros_ws/src/ros2tak_tools/ros2tak_tools.egg-info/SOURCES.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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
README.md | ||
package.xml | ||
setup.py | ||
resource/ros2tak_tools | ||
ros2tak_tools/Casualty.py | ||
ros2tak_tools/__init__.py | ||
ros2tak_tools/chat2ros_agent.py | ||
ros2tak_tools/cot2planner_agent.py | ||
ros2tak_tools/ros2casevac_agent.py | ||
ros2tak_tools/ros2cot_agent.py | ||
ros2tak_tools.egg-info/PKG-INFO | ||
ros2tak_tools.egg-info/SOURCES.txt | ||
ros2tak_tools.egg-info/dependency_links.txt | ||
ros2tak_tools.egg-info/entry_points.txt | ||
ros2tak_tools.egg-info/requires.txt | ||
ros2tak_tools.egg-info/top_level.txt | ||
ros2tak_tools.egg-info/zip-safe | ||
tak_helper/__init__.py | ||
tak_helper/create_cot_msgs.py | ||
tak_helper/tak_publisher.py | ||
tak_helper/tak_subscriber.py | ||
test/test_copyright.py | ||
test/test_flake8.py | ||
test/test_pep257.py |
1 change: 1 addition & 0 deletions
1
ground_control_station/ros_ws/src/ros2tak_tools/ros2tak_tools.egg-info/dependency_links.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
|
6 changes: 6 additions & 0 deletions
6
ground_control_station/ros_ws/src/ros2tak_tools/ros2tak_tools.egg-info/entry_points.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[console_scripts] | ||
chat2ros_agent = ros2tak_tools.chat2ros_agent:main | ||
cot2planner_agent = ros2tak_tools.cot2planner_agent:main | ||
cot2ros_agent = ros2tak_tools.cot2ros_agent:main | ||
ros2casevac_agent = ros2tak_tools.ros2casevac_agent:main | ||
ros2cot_agent = ros2tak_tools.ros2cot_agent:main |
1 change: 1 addition & 0 deletions
1
ground_control_station/ros_ws/src/ros2tak_tools/ros2tak_tools.egg-info/requires.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
setuptools |
2 changes: 2 additions & 0 deletions
2
ground_control_station/ros_ws/src/ros2tak_tools/ros2tak_tools.egg-info/top_level.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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ros2tak_tools | ||
tak_helper |
1 change: 1 addition & 0 deletions
1
ground_control_station/ros_ws/src/ros2tak_tools/ros2tak_tools.egg-info/zip-safe
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 @@ | ||
|
Oops, something went wrong.