Skip to content

Commit fe068fb

Browse files
authored
First commit with jazzy as default branch. Version 3.0.1 (#657)
* First commit with jazzy as default branch. Version 3.0.1 * Attempted ci-format fix from copliot * Fixing ci-format issues * Updating CHANGELOG
1 parent f31737b commit fe068fb

File tree

41 files changed

+83
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+83
-63
lines changed

.github/workflows/ci-format.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ jobs:
2020
- name: Install clang-format
2121
run: |
2222
apt update
23-
apt install -y python3-pip clang-format ros-jazzy-ament-cppcheck
23+
apt install -y python3-pip clang-format ros-jazzy-ament-cppcheck pre-commit
2424
git config --global --add safe.directory `pwd`
25-
pip install pre-commit
2625
- name: pre-commit
2726
shell: bash
2827
run: |

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To send us a pull request, please:
3535
1. Fork the repository.
3636
2. Modify the source; please focus on the specific change you are contributing.
3737
If you also reformat all the code, it will be hard for us to focus on your change.
38-
3. Ensure local tests pass. (`colcon test` and `pre-commit run -a` (requires you to install pre-commit by `pip3 install pre-commit`)
38+
3. Ensure local tests pass. (`colcon test` and `pre-commit run -a` (requires you to install pre-commit by `sudo apt install pre-commit` on Ubuntu 24.04+)
3939
4. Commit to your fork using clear commit messages.
4040
5. Send a pull request, answering any default questions in the pull request interface.
4141
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ ROS 2 Distro | Branch | Build status | Documentation | Released packages
2929

3030
1. [Install ROS 2 Jazzy](https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debians.html).
3131

32-
2. Make sure that `colcon`, its extensions and `vcs` are installed:
32+
2. Make sure that `colcon`, its extensions, `vcs`, and development tools are installed:
3333
```
34-
sudo apt install python3-colcon-common-extensions python3-vcstool
34+
sudo apt install python3-colcon-common-extensions python3-vcstool clang-format pre-commit
3535
```
3636
3. Create a new ROS 2 workspace if necessary:
3737
```
@@ -82,9 +82,9 @@ ROS 2 Distro | Branch | Build status | Documentation | Released packages
8282

8383
1. [Install ROS 2 Humble](https://docs.ros.org/en/humble/Installation/Ubuntu-Install-Debians.html).
8484

85-
2. Make sure that `colcon`, its extensions and `vcs` are installed:
85+
2. Make sure that `colcon`, its extensions, `vcs`, and development tools are installed:
8686
```
87-
sudo apt install python3-colcon-common-extensions python3-vcstool
87+
sudo apt install python3-colcon-common-extensions python3-vcstool clang-format pre-commit
8888
```
8989
3. Create a new ROS 2 workspace if necessary:
9090
```
@@ -135,9 +135,9 @@ ROS 2 Distro | Branch | Build status | Documentation | Released packages
135135

136136
1. [Install ROS 2 Foxy](https://docs.ros.org/en/foxy/Installation/Ubuntu-Install-Debians.html).
137137

138-
2. Make sure that `colcon`, its extensions and `vcs` are installed:
138+
2. Make sure that `colcon`, its extensions, `vcs`, and development tools are installed:
139139
```
140-
sudo apt install python3-colcon-common-extensions python3-vcstool
140+
sudo apt install python3-colcon-common-extensions python3-vcstool clang-format pre-commit
141141
```
142142
3. Create a new ROS 2 workspace if necessary:
143143
```

smacc2/CHANGELOG.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
Changelog for package smacc2
22
================================
33

4+
3.0.1 (2025-01-16)
5+
-------------------
6+
### Added
7+
- **ROS2 Jazzy Support**: Official support for ROS2 Jazzy Jalisco
8+
9+
SMACC2 now defaults to ROS2 Jazzy (Ubuntu 24.04 Noble) as the primary development branch.
10+
This marks the transition to the latest LTS ROS2 distribution with improved performance
11+
and new features.
12+
13+
### Fixed
14+
- **CI Format Pipeline**: Fixed PEP 668 externally-managed-environment errors in GitHub Actions
15+
16+
Updated CI workflow and documentation to use apt-installed `pre-commit` and `clang-format`
17+
instead of pip, ensuring compatibility with Ubuntu 24.04's PEP 668 Python packaging
18+
restrictions. This provides a more robust and future-proof CI/CD pipeline.
19+
20+
- Updated `.github/workflows/ci-format.yml` to install pre-commit via apt
21+
- Updated `CONTRIBUTING.md` with correct installation instructions
22+
- Updated `README.md` to include development tools in setup instructions
23+
24+
### Documentation
25+
- Enhanced developer documentation for Ubuntu 24.04+ environments
26+
- Added comprehensive PEP 668 compliance documentation
27+
28+
### Contributors
29+
- Brett Aldrich (@brettpac)
30+
431
2.3.20 (2025-11-01)
532
-------------------
633
### Fixed

smacc2/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>smacc2</name>
5-
<version>3.0.0</version>
5+
<version>3.0.1</version>
66

77
<description>An Event-Driven, Asynchronous, Behavioral State Machine Library for ROS2 (Robotic Operating System) applications written in C++.</description>
88

smacc2/src/smacc2/orthogonal.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ void ISmaccOrthogonal::onEntry()
107107

108108
try
109109
{
110-
TRACETOOLS_TRACEPOINT(smacc2_client_behavior_on_entry_start, statename, orthogonalName, cbName);
110+
TRACETOOLS_TRACEPOINT(
111+
smacc2_client_behavior_on_entry_start, statename, orthogonalName, cbName);
111112
clBehavior->executeOnEntry();
112113
}
113114
catch (const std::exception & e)
@@ -142,7 +143,8 @@ void ISmaccOrthogonal::onExit()
142143
getLogger(), "[Orthogonal: %s] OnExit, current Behavior: %s", orthogonalName, cbName);
143144
try
144145
{
145-
TRACETOOLS_TRACEPOINT(smacc2_client_behavior_on_exit_start, statename, orthogonalName, cbName);
146+
TRACETOOLS_TRACEPOINT(
147+
smacc2_client_behavior_on_exit_start, statename, orthogonalName, cbName);
146148
clBehavior->executeOnExit();
147149
}
148150
catch (const std::exception & e)

smacc2/src/smacc2/smacc_client_behavior_base.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ ISmaccClientBehavior::ISmaccClientBehavior()
3030

3131
ISmaccClientBehavior::~ISmaccClientBehavior()
3232
{
33-
RCLCPP_WARN_STREAM(
34-
getLogger(), "[" << getName() << "]"
35-
<< " Client behavior deallocated");
33+
RCLCPP_WARN_STREAM(getLogger(), "[" << getName() << "]" << " Client behavior deallocated");
3634
}
3735

3836
std::string ISmaccClientBehavior::getName() const { return demangleSymbol(typeid(*this).name()); }

smacc2/src/smacc2/smacc_tracing.cpp

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,32 +72,28 @@ void ros_trace_smacc2_state_onExit_end(const char * state_name)
7272
}
7373

7474
void ros_trace_smacc2_client_behavior_on_entry_start(
75-
const char * state_name, const char * orthogonal_name,
76-
const char * client_behavior_name)
75+
const char * state_name, const char * orthogonal_name, const char * client_behavior_name)
7776
{
7877
CONDITIONAL_TP(
7978
smacc2_client_behavior_on_entry_start, state_name, orthogonal_name, client_behavior_name);
8079
}
8180

8281
void ros_trace_smacc2_client_behavior_on_entry_end(
83-
const char * state_name, const char * orthogonal_name,
84-
const char * client_behavior_name)
82+
const char * state_name, const char * orthogonal_name, const char * client_behavior_name)
8583
{
8684
CONDITIONAL_TP(
8785
smacc2_client_behavior_on_entry_end, state_name, orthogonal_name, client_behavior_name);
8886
}
8987

9088
void ros_trace_smacc2_client_behavior_on_exit_start(
91-
const char * state_name, const char * orthogonal_name,
92-
const char * client_behavior_name)
89+
const char * state_name, const char * orthogonal_name, const char * client_behavior_name)
9390
{
9491
CONDITIONAL_TP(
9592
smacc2_client_behavior_on_exit_start, state_name, orthogonal_name, client_behavior_name);
9693
}
9794

9895
void ros_trace_smacc2_client_behavior_on_exit_end(
99-
const char * state_name, const char * orthogonal_name,
100-
const char * client_behavior_name)
96+
const char * state_name, const char * orthogonal_name, const char * client_behavior_name)
10197
{
10298
CONDITIONAL_TP(
10399
smacc2_client_behavior_on_exit_end, state_name, orthogonal_name, client_behavior_name);

smacc2_client_library/cl_keyboard/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>cl_keyboard</name>
5-
<version>3.0.0</version>
5+
<version>3.0.1</version>
66
<description>The cl_keyboard package</description>
77
<maintainer email="brett@robosoft.ai">Brett Aldrich</maintainer>
88
<license>Apache-2.0</license>

smacc2_client_library/cl_moveit2z/package.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
33
<package format="3">
44
<name>cl_moveit2z</name>
5-
<version>3.0.0</version>
5+
<version>3.0.1</version>
66

77
<description>The cl_moveit2z package</description>
88
<maintainer email="brett@robosoft.ai">Brett Aldrich</maintainer>

0 commit comments

Comments
 (0)