-
Notifications
You must be signed in to change notification settings - Fork 324
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
Add -Wconversion flag to protect future developments #667
Merged
bmagyar
merged 1 commit into
ros-controls:master
from
StoglRobotics-forks:add-conversion-cpp-flag
Jun 13, 2023
Merged
Add -Wconversion flag to protect future developments #667
bmagyar
merged 1 commit into
ros-controls:master
from
StoglRobotics-forks:add-conversion-cpp-flag
Jun 13, 2023
Conversation
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
github-actions
bot
requested review from
bmagyar,
destogl,
duringhof,
erickisos,
homalozoa,
LukasMacha97 and
qiayuanl
June 13, 2023 08:47
bmagyar
approved these changes
Jun 13, 2023
bmagyar
reviewed
Jun 13, 2023
@@ -244,8 +244,8 @@ controller_interface::return_type TricycleController::update( | |||
auto & realtime_ackermann_command = realtime_ackermann_command_publisher_->msg_; | |||
// speed in AckermannDrive is defined desired forward speed (m/s) but we use it here as wheel | |||
// speed (rad/s) | |||
realtime_ackermann_command.speed = Ws_write; | |||
realtime_ackermann_command.steering_angle = alpha_write; | |||
realtime_ackermann_command.speed = static_cast<float>(Ws_write); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is ok but I'm tempted to say we should change the messages to use float64 here: https://github.com/ros-drivers/ackermann_msgs/blob/ros2/msg/AckermannDrive.msg
next time...
henrygerardmoore
pushed a commit
to henrygerardmoore/ros2_controllers
that referenced
this pull request
Jul 19, 2024
…s-controls#667) * auto-switching of chained mode in controllers * interface-matching approach for managing chaining controllers
@Mergifyio backport humble iron |
✅ Backports have been created
|
mergify bot
pushed a commit
that referenced
this pull request
Oct 26, 2024
(cherry picked from commit 23f0def)
mergify bot
pushed a commit
that referenced
this pull request
Oct 26, 2024
(cherry picked from commit 23f0def) # Conflicts: # diff_drive_controller/src/diff_drive_controller.cpp # joint_trajectory_controller/src/joint_trajectory_controller.cpp # tricycle_controller/src/tricycle_controller.cpp
bmagyar
pushed a commit
that referenced
this pull request
Oct 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Same reasons as ros-controls/ros2_control#1053
explicitly catching errors of time being zero in
forward_command_controller
seeI think there might be an ABI breaking in JTC with one argument changed from
int
tosize_t
. I did not know what to do there, and went for ABI breaking but I could also make it astatic_cast
if preferred. see