Skip to content

Commit eaee6d2

Browse files
Merge pull request #73 from husarion/2.0.4-20240628
Release 2.0.4 to ros2
2 parents fbd9755 + 17787c3 commit eaee6d2

7 files changed

+41
-6
lines changed

.github/workflows/release-repository.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
workflow_dispatch:
66
inputs:
77
release_candidate:
8-
description: Branch name of the release candidate.
8+
description: Branch name of the release candidate. WARNING This branch will be deleted!
99
required: true
1010
version:
1111
description: New version (used for tag and package versioning).
@@ -66,6 +66,7 @@ jobs:
6666
uses: actions/checkout@v4
6767
with:
6868
ref: ${{ env.MAIN_BRANCH }}
69+
fetch-depth: 0
6970

7071
- name: Create PR to main branch
7172
if: ${{ github.event.inputs.release_candidate != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode)
@@ -103,11 +104,17 @@ jobs:
103104
--title ${{ github.event.inputs.release_name }} \
104105
--generate-notes
105106
107+
- name: Grant permissions
108+
if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
109+
run: |
110+
sudo chmod -R ugo+rwX .
111+
106112
- name: Checkout to devel branch
107113
if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}
108114
uses: actions/checkout@v4
109115
with:
110116
ref: ${{ env.DEVEL_BRANCH }}
117+
fetch-depth: 0
111118

112119
- name: Update devel branch
113120
if: ${{ env.DEVEL_BRANCH != env.MAIN_BRANCH && fromJSON(inputs.automatic_mode) == true }}

CHANGELOG.rst

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22
Changelog for package panther_msgs
33
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
44

5+
2.0.4 (2024-06-28)
6+
------------------
7+
* Bugfix: Grant permission and add warning in release workflow (`#71 <https://github.com/husarion/panther_msgs/issues/71>`_)
8+
* hotfix-allow-unshallow-copy
9+
* Add ChargingStatus message (`#64 <https://github.com/husarion/panther_msgs/issues/64>`_)
10+
* Merge pull request `#63 <https://github.com/husarion/panther_msgs/issues/63>`_ from husarion/ros2-update-iostate-msg
11+
* Add led_control field
12+
* Enable fetch full history - workflow (`#62 <https://github.com/husarion/panther_msgs/issues/62>`_)
13+
* Ros2 workflow bugfix update devel (`#61 <https://github.com/husarion/panther_msgs/issues/61>`_)
14+
* Contributors: Dawid Kmak, Paweł Irzyk, pawelirh
15+
516
2.0.3 (2024-06-06)
617
------------------
718
* Ros2 improve release process (`#58 <https://github.com/husarion/panther_msgs/issues/58>`_)

CMakeLists.txt

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ find_package(builtin_interfaces REQUIRED)
1010
find_package(rosidl_default_generators REQUIRED)
1111
find_package(std_msgs REQUIRED)
1212

13-
rosidl_generate_interfaces(${PROJECT_NAME}
13+
rosidl_generate_interfaces(
14+
${PROJECT_NAME}
15+
"msg/ChargingStatus.msg"
1416
"msg/DriverState.msg"
1517
"msg/FaultFlag.msg"
1618
"msg/IOState.msg"
@@ -24,8 +26,8 @@ rosidl_generate_interfaces(${PROJECT_NAME}
2426
"srv/SetLEDAnimation.srv"
2527
"srv/SetLEDBrightness.srv"
2628
"srv/SetLEDImageAnimation.srv"
27-
DEPENDENCIES std_msgs
28-
)
29+
DEPENDENCIES
30+
std_msgs)
2931

3032
ament_export_dependencies(rosidl_default_runtime)
3133

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# panther_msgs
2-
Custom ROS messages and services for Panther
2+
3+
Custom ROS messages and services for Panther robot.

msg/ChargingStatus.msg

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This message defines the battery charging process status
2+
3+
# Charger types
4+
uint8 UNKNOWN = 0
5+
uint8 WIRED = 1
6+
uint8 WIRELESS = 2
7+
8+
std_msgs/Header header
9+
bool charging # True if battery is being charged
10+
float32 current # Power supply total current (A)
11+
float32 current_battery_1 # Power supply current (A) for battery 1
12+
float32 current_battery_2 # Power supply current (A) for battery 2 (NaN for single battery configuration)
13+
uint8 charger_type # Determines the type of charger connection

msg/IOState.msg

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ bool charger_connected
33
bool charger_enabled
44
bool digital_power
55
bool fan
6+
bool led_control
67
bool motor_on
78
bool power_button

package.xml

+1-1
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>panther_msgs</name>
5-
<version>2.0.3</version>
5+
<version>2.0.4</version>
66
<description>Custom messages for Panther robot.</description>
77
<maintainer email="support@husarion.com">Husarion</maintainer>
88
<license>Apache License 2.0</license>

0 commit comments

Comments
 (0)