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

Ros2 negative dt check #84

Open
wants to merge 2 commits into
base: ros2
Choose a base branch
from
Open

Ros2 negative dt check #84

wants to merge 2 commits into from

Conversation

erelson
Copy link
Collaborator

@erelson erelson commented May 22, 2024

Forward port of @JeffWilson7 's fix to the ros1 branch in #82

Not tested, but pretty sure the WARN function I'm using is right.

Comment on lines +300 to +301
RCLCPP_WARN(rclcpp::get_logger(getName()),
"BaseController - bad dt = %f", dt);
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if this will print the log source (i.e. base controller) twice. The ROS 1 version does not, which is why I explicitly had it in the message.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, noted. I had assumed it was printing twice in ROS1, too .

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.

None yet

2 participants