#include <calibration_base.h>
|
| | CalibrationBase ()=default |
| |
| bool | init (hardware_interface::RobotHW *robot_hw, ros::NodeHandle &root_nh, ros::NodeHandle &controller_nh) override |
| | Get necessary params from param server. Init joint_calibration_controller.
|
| |
| void | starting (const ros::Time &time) override |
| | Switch all of the actuators state to INITIALIZED.
|
| |
| void | stopping (const ros::Time &time) override |
| |
|
| bool | isCalibrated (control_msgs::QueryCalibrationState::Request &req, control_msgs::QueryCalibrationState::Response &resp) |
| | Provide a service to know the state of target actuators.
|
| |
◆ State
| Enumerator |
|---|
| INITIALIZED | |
| CALIBRATED | |
◆ CalibrationBase()
◆ init()
Get necessary params from param server. Init joint_calibration_controller.
Get params from param server and check whether these params are set.Init JointVelocityController.Check whether threshold is set correctly.
- Parameters
-
| robot_hw | The robot hardware abstraction. |
| root_nh | A NodeHandle in the root of the controller manager namespace. This is where the ROS interfaces are setup (publishers, subscribers, services). |
| controller_nh | A NodeHandle in the namespace of the controller. This is where the controller-specific configuration resides. |
- Returns
- True if init successful, false when failed.
◆ isCalibrated()
Provide a service to know the state of target actuators.
When requesting to this server, it will return respond about whether target actuators has been calibrated.
- Parameters
-
| req | The request of knowing the state of target actuators. |
| resp | The respond included the state of target actuators. |
- Returns
- True if get respond successfully, false when failed.
◆ starting()
Switch all of the actuators state to INITIALIZED.
Switch all of the actuator state to INITIALIZED in order to restart the calibration.
- Parameters
-
◆ stopping()
◆ actuator_
◆ calibration_success_
◆ is_calibrated_srv_
◆ position_ctrl_
◆ state_
◆ velocity_ctrl_
◆ velocity_search_
The documentation for this class was generated from the following files: