|
ASCO Aerial Autonomy
|
A visual servoing controller that uses a tracker output as feedback and moves the arm to a goal pose relative to the tracked target. More...
#include <visual_servoing_controller_arm_connector.h>


Public Member Functions | |
| VisualServoingControllerArmConnector (BaseTracker &tracker, parsernode::Parser &drone_hardware, ArmParser &arm_hardware, RelativePoseController &controller, tf::Transform camera_transform, tf::Transform arm_transform) | |
| Constructor. More... | |
| virtual | ~VisualServoingControllerArmConnector () |
| Destructor. More... | |
| bool | getTrackingPoseArmFrame (tf::Transform &tracking_pose) |
| Get the tracking pose of the tracker in the arm frame. More... | |
Public Member Functions inherited from ControllerHardwareConnector< std::tuple< tf::Transform, tf::Transform >, tf::Transform, tf::Transform > | |
| ControllerHardwareConnector (Controller< std::tuple< tf::Transform, tf::Transform >, tf::Transform, tf::Transform > &controller, HardwareType hardware_type) | |
| ControlHardwareConnector runs the controller and sends the commands to hardware. More... | |
| virtual void | run () |
| Extracts sensor data, run controller and send data back to hardware. More... | |
| void | setGoal (tf::Transformgoal) |
| Set the goal for controller. More... | |
| tf::Transform | getGoal () const |
| Get the goal for controller. More... | |
| HardwareType | getHardwareType () |
| Return the type of hardware (HardwareType) used by the controller. More... | |
| ControllerStatus | getStatus () const |
| Provide the status of the controller. More... | |
Public Member Functions inherited from AbstractControllerHardwareConnector | |
| virtual | ~AbstractControllerHardwareConnector () |
| Destructor to get polymorphism. More... | |
Protected Member Functions | |
| virtual bool | extractSensorData (std::tuple< tf::Transform, tf::Transform > &sensor_data) |
| Extracts pose data from ROI. More... | |
| virtual void | sendHardwareCommands (tf::Transform controls) |
| Send position commands to hardware. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ControllerHardwareConnector< std::tuple< tf::Transform, tf::Transform >, tf::Transform, tf::Transform > | |
| HardwareType | hardware_type_ |
| Type of hardware controlled by the controller. More... | |
A visual servoing controller that uses a tracker output as feedback and moves the arm to a goal pose relative to the tracked target.
|
inline |
Constructor.
|
inlinevirtual |
Destructor.
|
protectedvirtual |
Extracts pose data from ROI.
| sensor_data | Pose of arm end effector and pose of tracked object in arm frame |
Implements ControllerHardwareConnector< std::tuple< tf::Transform, tf::Transform >, tf::Transform, tf::Transform >.
| bool VisualServoingControllerArmConnector::getTrackingPoseArmFrame | ( | tf::Transform & | tracking_pose | ) |
Get the tracking pose of the tracker in the arm frame.
| tracking_vector | Returned tracking pose |
|
protectedvirtual |
Send position commands to hardware.
| controls | position command to send to arm |
Implements ControllerHardwareConnector< std::tuple< tf::Transform, tf::Transform >, tf::Transform, tf::Transform >.
1.8.6