Controller for executing a gripper command action for simple single-dof grippers.
More...
|
controller_interface::InterfaceConfiguration | command_interface_configuration () const override |
| command_interface_configuration This controller requires the position command interfaces for the controlled joints
|
|
controller_interface::InterfaceConfiguration | state_interface_configuration () const override |
| command_interface_configuration This controller requires the position and velocity state interfaces for the controlled joints
|
|
controller_interface::return_type | update (const rclcpp::Time &time, const rclcpp::Duration &period) override |
|
controller_interface::CallbackReturn | on_init () override |
| Extending interface with initialization method which is individual for each controller.
|
|
controller_interface::CallbackReturn | on_configure (const rclcpp_lifecycle::State &previous_state) override |
|
controller_interface::CallbackReturn | on_activate (const rclcpp_lifecycle::State &previous_state) override |
|
controller_interface::CallbackReturn | on_deactivate (const rclcpp_lifecycle::State &previous_state) override |
|
bool | is_chainable () const final |
|
std::vector< hardware_interface::StateInterface::ConstSharedPtr > | export_state_interfaces () final |
|
std::vector< hardware_interface::CommandInterface::SharedPtr > | export_reference_interfaces () final |
|
bool | set_chained_mode (bool chained_mode) final |
|
bool | is_in_chained_mode () const final |
|
virtual void | assign_interfaces (std::vector< hardware_interface::LoanedCommandInterface > &&command_interfaces, std::vector< hardware_interface::LoanedStateInterface > &&state_interfaces) |
| Method that assigns the Loaned interfaces to the controller.
|
|
virtual void | release_interfaces () |
| Method that releases the Loaned interfaces from the controller.
|
|
return_type | init (const std::string &controller_name, const std::string &urdf, unsigned int cm_update_rate, const std::string &node_namespace, const rclcpp::NodeOptions &node_options) |
|
const rclcpp_lifecycle::State & | configure () |
| Custom configure method to read additional parameters for controller-nodes.
|
|
ControllerUpdateStatus | trigger_update (const rclcpp::Time &time, const rclcpp::Duration &period) |
|
std::shared_ptr< rclcpp_lifecycle::LifecycleNode > | get_node () |
|
std::shared_ptr< const rclcpp_lifecycle::LifecycleNode > | get_node () const |
|
const rclcpp_lifecycle::State & | get_lifecycle_state () const |
|
unsigned int | get_update_rate () const |
|
bool | is_async () const |
|
const std::string & | get_robot_description () const |
|
virtual rclcpp::NodeOptions | define_custom_node_options () const |
|
template<typename ParameterT > |
auto | auto_declare (const std::string &name, const ParameterT &default_value) |
| Declare and initialize a parameter with a type.
|
|
void | wait_for_trigger_update_to_finish () |
|
|
rclcpp_action::GoalResponse | goal_callback (const rclcpp_action::GoalUUID &uuid, std::shared_ptr< const GripperCommandAction::Goal > goal) |
|
rclcpp_action::CancelResponse | cancel_callback (const std::shared_ptr< GoalHandle > goal_handle) |
|
void | accepted_callback (std::shared_ptr< GoalHandle > goal_handle) |
|
void | preempt_active_goal () |
|
void | set_hold_position () |
|
void | check_for_success (const rclcpp::Time &time, double error_position, double current_position, double current_velocity) |
| Check for success and publish appropriate result and feedback.
|
|
template<const char * HardwareInterface>
class gripper_action_controller::GripperActionController< HardwareInterface >
Controller for executing a gripper command action for simple single-dof grippers.
- Template Parameters
-