Skip to content
Merged
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
17 changes: 17 additions & 0 deletions .github/workflows/ros-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,23 @@ jobs:
run: |
printf "[install]\nbreak-system-packages = true\n" | sudo tee /etc/pip.conf

- name: Check and Install ROS dependencies
shell: bash
run: |
set -e
source /opt/ros/${{ matrix.ros_distribution }}/setup.bash
echo "--- Updating rosdep definitions ---"
rosdep update
echo "--- Installing system dependencies for ROS 2 ${{ matrix.ros_distribution }} ---"
rosdep install --from-paths ros_ws/src --ignore-src -y -r --rosdistro ${{ matrix.ros_distribution }}
echo "--- Performing rosdep check for ROS 2 ${{ matrix.ros_distribution }} ---"
if rosdep check --from-paths ros_ws/src --ignore-src --rosdistro ${{ matrix.ros_distribution }}; then
echo "--- rosdep check passed ---"
else
echo "--- rosdep check failed: Missing system dependencies or unresolvable keys. ---"
exit 1
fi

- name: Build and Test
uses: ros-tooling/action-ros-ci@v0.3
env:
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# TurtleBot3
<img src="https://raw.githubusercontent.com/ROBOTIS-GIT/emanual/master/assets/images/platform/turtlebot3/logo_turtlebot3.png" width="300">

- Active Branches: noetic, humble, jazzy, main(rolling)
- Legacy Branches: *-devel
- Active Branches: humble, jazzy, main(rolling)
- Legacy Branches: *-devel, noetic

## Open Source Projects Related to TurtleBot3
- [turtlebot3](https://github.com/ROBOTIS-GIT/turtlebot3)
Expand All @@ -17,6 +17,7 @@
- [turtlebot3_home_service_challenge](https://github.com/ROBOTIS-GIT/turtlebot3_home_service_challenge)
- [hls_lfcd_lds_driver](https://github.com/ROBOTIS-GIT/hls_lfcd_lds_driver)
- [ld08_driver](https://github.com/ROBOTIS-GIT/ld08_driver)
- [coin_d4_driver](https://github.com/ROBOTIS-GIT/coin_d4_driver)
- [open_manipulator](https://github.com/ROBOTIS-GIT/open_manipulator)
- [dynamixel_sdk](https://github.com/ROBOTIS-GIT/DynamixelSDK)
- [OpenCR-Hardware](https://github.com/ROBOTIS-GIT/OpenCR-Hardware)
Expand Down
11 changes: 11 additions & 0 deletions turtlebot3_dqn/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
Changelog for package turtlebot3_dqn
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

1.0.2 (2026-01-06)
------------------
* Fixed a bug in the JSON file where the step parameter was incorrectly named; renamed it to step_counter.
* Changed the system arguments to be passed as ROS parameters for execution.
* Added a use_gpu parameter to allow selection of whether to use GPU.
* Added a model_file parameter to enable loading an existing trained model and continuing training.
* Renamed the load_model variable to use_pretrained_model for clarity.
* Changed model_path from a class variable to a local variable.
* Introduced lazy import for TensorFlow modules.
* Contributors: Hyungyu Kim

1.0.1 (2025-05-02)
------------------
* Support for ROS 2 Jazzy version
Expand Down
5 changes: 2 additions & 3 deletions turtlebot3_dqn/package.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package format="2">
<name>turtlebot3_dqn</name>
<version>1.0.1</version>
<version>1.0.2</version>
<description>
The turtlebot3_dqn package using reinforcement learning with DQN (Deep Q-Learning).
</description>
Expand All @@ -12,11 +12,10 @@
<url type="bugtracker">https://github.com/ROBOTIS-GIT/turtlebot3_machine_learning/issues</url>
<author email="kkjong@robotis.com">Gilbert</author>
<author email="dddoggi1207@gmail.com">ChanHyeong Lee</author>
<author email="kimhg@robotis.com">Hyungyu Kim</author>
<exec_depend>python3-pip</exec_depend>
<exec_depend>ament_index_python</exec_depend>
<exec_depend>geometry_msgs</exec_depend>
<exec_depend>python-tensorflow-pip</exec_depend>
<exec_depend>python3-numpy</exec_depend>
<exec_depend>python3-pyqt5</exec_depend>
<exec_depend>python3-pyqtgraph</exec_depend>
<exec_depend>rclpy</exec_depend>
Expand Down
Binary file added turtlebot3_dqn/saved_model/model1.h5
Binary file not shown.
1 change: 1 addition & 0 deletions turtlebot3_dqn/saved_model/model1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"epsilon": 0.05000073888272134, "step_counter": 84401, "trained_episodes": 800}
Binary file removed turtlebot3_dqn/saved_model/stage1_episode600.h5
Binary file not shown.
1 change: 0 additions & 1 deletion turtlebot3_dqn/saved_model/stage1_episode600.json

This file was deleted.

12 changes: 10 additions & 2 deletions turtlebot3_dqn/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,28 @@
('Gilbert', 'kkjong@robotis.com'),
('Ryan Shim', 'N/A'),
('ChanHyeong Lee', 'dddoggi1207@gmail.com'),
('Hyungyu Kim', 'kimhg@robotis.com'),
]
authors = ', '.join(author for author, _ in authors_info)
author_emails = ', '.join(email for _, email in authors_info)

setup(
name=package_name,
version='1.0.1',
version='1.0.2',
packages=find_packages(),
data_files=[
('share/ament_index/resource_index/packages', ['resource/' + package_name]),
('share/' + package_name, ['package.xml']),
('share/' + package_name + '/launch', glob.glob('launch/*.py')),
],
install_requires=['setuptools', 'launch'],
install_requires=[
'setuptools',
'launch',
'tensorflow==2.19.0',
'numpy==1.26.4',
'scipy==1.10.1',
'keras==3.9.2',
Comment on lines +28 to +31
Copy link

Copilot AI Jan 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version specifications for TensorFlow, numpy, scipy, and keras are pinned to exact versions. This may cause compatibility issues as exact version pinning can be overly restrictive. Consider using minimum versions with upper bounds (e.g., 'tensorflow>=2.19.0,<3.0.0') to allow for bug fixes and security patches while maintaining compatibility.

Suggested change
'tensorflow==2.19.0',
'numpy==1.26.4',
'scipy==1.10.1',
'keras==3.9.2',
'tensorflow>=2.19.0,<3.0.0',
'numpy>=1.26.4,<2.0.0',
'scipy>=1.10.1,<2.0.0',
'keras>=3.9.2,<4.0.0',

Copilot uses AI. Check for mistakes.
],
zip_safe=True,
author=authors,
author_email=author_emails,
Expand Down
Loading
Loading