18 #include <yarp/os/all.h> 22 yarp::os::Network
yarp;
30 std::string objectName =
"octopus";
31 double targetPositionX = -0.45;
35 yInfo()<<(ok?
"Pushed successfully":
"Failed");
Grants access to high level motor commands (grasp, touch, look, goto, etc) of the robot as well as it...
bool connect(const std::string &opcName="OPC")
Try to connect all functionalities.
bool pushKarmaFront(const std::string &objName, const double &targetPosXFront, const std::string &armType="selectable", const yarp::os::Bottle &options=yarp::os::Bottle())
pushKarmaFront: push an object by name to front See the SubSystem_KARMA::pushFront documentation for ...
bool home(const std::string &part="all")
Go in home position.