-
Notifications
You must be signed in to change notification settings - Fork 133
Add a custom plugin for simulating actuator dynamics to the demos #693
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
Conversation
335b5a5 to
d2b0ec2
Compare
| @@ -0,0 +1,84 @@ | |||
| // Copyright 2021 Open Source Robotics Foundation, Inc. | |||
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.
| // Copyright 2021 Open Source Robotics Foundation, Inc. | |
| // Copyright 2025 Open Source Robotics Foundation, Inc. |
| #include "rclcpp_lifecycle/state.hpp" | ||
| #include "rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp" |
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.
| #include "rclcpp_lifecycle/state.hpp" | |
| #include "rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp" | |
| #include <rclcpp_lifecycle/state.hpp> | |
| #include <rclcpp_lifecycle/node_interfaces/lifecycle_node_interface.hpp> |
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.
in the other repos we use the google codestyle which says:
Headers should only be included using an angle-bracketed path if the library requires you to do so.
as you prefer..
| @@ -0,0 +1,118 @@ | |||
| # Copyright 2021 Open Source Robotics Foundation, Inc. | |||
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.
| # Copyright 2021 Open Source Robotics Foundation, Inc. | |
| # Copyright 2025 Open Source Robotics Foundation, Inc. |
gz_ros2_control_demos/launch/cart_example_velocity_custom_plugin.launch.py
Outdated
Show resolved
Hide resolved
| @@ -0,0 +1,402 @@ | |||
| // Copyright 2021 Open Source Robotics Foundation, Inc. | |||
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.
| // Copyright 2021 Open Source Robotics Foundation, Inc. | |
| // Copyright 2025 Open Source Robotics Foundation, Inc. |
| #include <gz/sim/components/Name.hh> | ||
| #include <gz/sim/components/ParentEntity.hh> | ||
|
|
||
| #include "control_toolbox/low_pass_filter.hpp" |
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.
| #include "control_toolbox/low_pass_filter.hpp" | |
| #include <control_toolbox/low_pass_filter.hpp> |
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.
see above
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
on top of #688