ros2_control - rolling
Loading...
Searching...
No Matches
gz_ros2_control::GazeboSimROS2ControlPluginPrivate Class Reference

Public Member Functions

void RemoveControllerManager ()
 Stop and release the controller manager after a failed initialization, so it can no longer initialize hardware from the executor thread.

Public Attributes

std::shared_ptr< rclcpp::Node > node_ {nullptr}
 Node Handles.
std::thread thread_executor_spin_
 Thread where the executor will spin.
rclcpp::executors::MultiThreadedExecutor::SharedPtr executor_
 Executor to spin the controller.
rclcpp::Duration control_period_ = rclcpp::Duration(1, 0)
 Timing.
std::shared_ptr< controller_manager::ControllerManager > controller_manager_ {nullptr}
 Controller manager.
rclcpp::Time last_update_sim_time_ros_
 Last time the update method was called.
int update_rate {0}
 controller update rate
bool period_mismatch_warned_ {false}
 Whether the control/sim period mismatch warning has been emitted.

Member Data Documentation

◆ last_update_sim_time_ros_

rclcpp::Time gz_ros2_control::GazeboSimROS2ControlPluginPrivate::last_update_sim_time_ros_
Initial value:
=
rclcpp::Time(static_cast<int64_t>(0), RCL_ROS_TIME)

Last time the update method was called.


The documentation for this class was generated from the following file: