6 #ifndef FLEXIV_RDK_WORK_COORD_HPP_
7 #define FLEXIV_RDK_WORK_COORD_HPP_
36 std::vector<std::string>
list()
const;
45 bool exist(
const std::string& name)
const;
56 std::array<double, kPoseSize>
pose(
const std::string& name)
const;
71 void Add(
const std::string& name,
const std::array<double, kPoseSize>&
pose);
86 void Update(
const std::string& name,
const std::array<double, kPoseSize>&
pose);
97 void Remove(
const std::string& name);
101 std::unique_ptr<Impl> pimpl_;
Main interface to control the robot, containing several function categories and background services.
Interface to manage work coordinates of the robot. All updates take effect immediately without a powe...
WorkCoord(const Robot &robot)
[Non-blocking] Instantiate the work coordinate interface.
void Add(const std::string &name, const std::array< double, kPoseSize > &pose)
[Blocking] Add a new work coordinate with user-specified parameters.
void Update(const std::string &name, const std::array< double, kPoseSize > &pose)
[Blocking] Update the pose of an existing work coordinate.
std::vector< std::string > list() const
[Blocking] A list of all configured work coordinates.
void Remove(const std::string &name)
[Blocking] Remove an existing work coordinate.
std::array< double, kPoseSize > pose(const std::string &name) const
[Blocking] Pose of an existing work coordinate.
bool exist(const std::string &name) const
[Blocking] Whether the specified work coordinate already exists.