6 #ifndef FLEXIV_RDK_WORK_COORD_HPP_
7 #define FLEXIV_RDK_WORK_COORD_HPP_
37 const std::vector<std::string>
list()
const;
46 bool exist(
const std::string& name)
const;
57 const std::array<double, kPoseSize>
pose(
const std::string& name)
const;
72 void Add(
const std::string& name,
const std::array<double, kPoseSize>&
pose);
87 void Update(
const std::string& name,
const std::array<double, kPoseSize>&
pose);
98 void Remove(
const std::string& name);
102 std::unique_ptr<Impl> pimpl_;
Main interface with the robot, containing several function categories and background services.
Interface to online update and interact with the robot's work coordinates. All updates will take effe...
WorkCoord(const Robot &robot)
[Non-blocking] Create an instance and initialize the 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.
const std::array< double, kPoseSize > pose(const std::string &name) const
[Blocking] Get pose of an existing work coordinate.
const std::vector< std::string > list() const
[Blocking] Get a name list of all configured work coordinates.
void Remove(const std::string &name)
[Blocking] Remove an existing work coordinate.
bool exist(const std::string &name) const
[Blocking] Whether the specified work coordinate already exists.