Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crashing due to an invalid parameter in the initial value. #271

Merged

Conversation

Wiktor-99
Copy link
Contributor

Fix crashes caused by the wrong initial value in the state interfaces. This could be particularly problematic if someone passes 'pi' in xacro instead of '${pi}'. Xacro will evaluate '${pi}' to '3.14', while 'pi' will be evaluated as is ('pi' -> 'pi'), leading to chrash.

@Wiktor-99 Wiktor-99 requested a review from bmagyar January 25, 2024 18:49
@Wiktor-99
Copy link
Contributor Author

@bmagyar As pipeline is fixed I assume that failed action cloud be trigger again.

@ahcorde ahcorde merged commit cdae6b8 into ros-controls:master Feb 12, 2024
5 checks passed
@ahcorde
Copy link
Collaborator

ahcorde commented Feb 12, 2024

https://github.com/Mergifyio backport humble iron

Copy link
Contributor

mergify bot commented Feb 12, 2024

backport humble iron

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Feb 12, 2024
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit cdae6b8)

# Conflicts:
#	gazebo_ros2_control/src/gazebo_system.cpp
mergify bot pushed a commit that referenced this pull request Feb 12, 2024
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit cdae6b8)

# Conflicts:
#	gazebo_ros2_control/src/gazebo_system.cpp
ahcorde added a commit that referenced this pull request Feb 13, 2024
…ort #271) (#283)

* Fix crashing due to an invalid parameter in the initial value. (#271)

Co-authored-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit cdae6b8)

# Conflicts:
#	gazebo_ros2_control/src/gazebo_system.cpp

* Fixed crash

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>

---------

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Co-authored-by: Wiktor Bajor <[email protected]>
Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
ahcorde added a commit that referenced this pull request Feb 13, 2024
…ort #271) (#282)

* Fix crashing due to an invalid parameter in the initial value. (#271)

Co-authored-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit cdae6b8)

# Conflicts:
#	gazebo_ros2_control/src/gazebo_system.cpp

* Fixed merge

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>

---------

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Co-authored-by: Wiktor Bajor <[email protected]>
Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
k-takeshita pushed a commit to hsr-project/gazebo_ros2_control that referenced this pull request Oct 21, 2024
…ort ros-controls#271) (ros-controls#282)

* Fix crashing due to an invalid parameter in the initial value. (ros-controls#271)

Co-authored-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit cdae6b8)

# Conflicts:
#	gazebo_ros2_control/src/gazebo_system.cpp

* Fixed merge

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>

---------

Signed-off-by: Alejandro Hernandez Cordero <[email protected]>
Co-authored-by: Wiktor Bajor <[email protected]>
Co-authored-by: Alejandro Hernandez Cordero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants