11#include <flexiv/rdk/robot.hpp>
63 void Start(
const std::vector<std::shared_ptr<MotionControlCmds>>& cmds);
87 unsigned int idx, JointGroup group,
const std::array<double, kCartDoF>& max_wrench);
112 unsigned int idx, JointGroup group,
const std::vector<double>& ref_positions);
164 std::shared_ptr<Robot>
instance(
unsigned int idx)
const;
168 std::unique_ptr<Impl> pimpl_;
void Start(const std::vector< std::shared_ptr< MotionControlCmds > > &cmds)
[Blocking] Start the teleoperation control loop.
DeviceTeleopLan(const std::vector< std::string > &robot_sn_vec)
[Blocking] Create an instance of the control interface. More than one pair of [device-robot] can be c...
std::vector< bool > ClearFault(unsigned int timeout_sec=30)
[Blocking] Try to clear minor or critical fault of the robot without a power cycle.
const std::array< bool, kIOPorts > digital_inputs(unsigned int idx) const
[Non-blocking] Current reading from all digital input ports (16 on the control box + 2 inside the wri...
void Stop()
[Blocking] Stop the teleoperation control loop and make all robots hold their pose.
void Init(ZeroFTSensor zero_ft_sensor=ZeroFTSensor::Enable)
[Blocking] Get all robots ready for teleoperation. The following actions will happen in sequence: a) ...
std::shared_ptr< Robot > instance(unsigned int idx) const
[Non-blocking] Pointer to the underlying rdk::Robot instances of the robot.
void SetNullSpacePostures(unsigned int idx, JointGroup group, const std::vector< double > &ref_positions)
[Blocking] Set reference joint positions used in the robot's null-space posture control module for th...
bool fault(unsigned int idx) const
[Non-blocking] Fault state of the specified robot.
bool any_fault(void) const
[Non-blocking] Whether any of the connected robots is in fault state.
void SetRobotMaxContactWrench(unsigned int idx, JointGroup group, const std::array< double, kCartDoF > &max_wrench)
[Non-blocking] Set maximum contact wrench for the specified robot. The controller will regulate its o...
Header file containing various constant expressions, data structs, and enums.
ZeroFTSensor
Sensor calibration options.