12 "Move the head to three known configurations and search for objects",
15 visual_search::arondto::WhatCanYouSeeNowAcceptedType::ToAronType());
42 VirtualRobot::RobotIO::RobotDescription::eStructure);
51 skills::joint_control::arondto::MoveJointsToPositionAcceptedType params;
52 params.robotName = in.parameters.robotName;
53 params.jointTargetTolerance = 0.03;
54 params.jointMaxSpeed = 0.75;
55 params.accelerationTime = 500;
56 params.setVelocitiesToZeroAtEnd =
true;
57 params.targetJointMap[
"Neck_1_Pitch"] = 0.6;
75 std::this_thread::sleep_for(std::chrono::milliseconds(500));
79 skills::joint_control::arondto::MoveJointsToPositionAcceptedType params;
80 params.robotName = in.parameters.robotName;
81 params.jointTargetTolerance = 0.03;
82 params.jointMaxSpeed = 0.75;
83 params.accelerationTime = 500;
84 params.setVelocitiesToZeroAtEnd =
true;
85 params.targetJointMap[
"Neck_1_Pitch"] = 0.0;
88 context.jointControlSkillProvider,
static Duration MilliSeconds(std::int64_t milliSeconds)
Constructs a duration in milliseconds.
The memory name system (MNS) client.
void connect(armem::client::MemoryNameSystem &memoryNameSystem)
std::map< std::string, bool > requestLocalization(const ObjectID &instanceId, const armarx::core::time::Duration &until)
void connect(armem::client::MemoryNameSystem &memoryNameSystem)
virtual void connect(armem::client::MemoryNameSystem &memoryNameSystem)
The VirtualRobotReader class.
VirtualRobot::RobotPtr getSynchronizedRobot(const std::string &name, const VirtualRobot::RobotIO::RobotDescription &loadMode=VirtualRobot::RobotIO::RobotDescription::eStructure, bool blocking=true)
static Duration MilliSeconds(std::int64_t milliSeconds)
Constructs a duration in milliseconds.
static SkillDescription Description
manager::dti::SkillManagerInterfacePrx manager
virtual MainResult main()
Override this method with the actual implementation.
SkillID getSkillId() const
Get the id of the skill.
VisualSearchSkill(armem::client::MemoryNameSystem &mns, armarx::viz::Client &arviz, const std::string &layerName, VisualSearchSkillContext &c)
VisualSearchSkillContext & context
armarx::skills::visual_search::arondto::WhatCanYouSeeNowAcceptedType ArgType
static SkillDescription Description
WhatCanYouSeeNow(armem::client::MemoryNameSystem &mns, armarx::viz::Client &arviz, VisualSearchSkillContext &context)
#define ARMARX_ERROR
The logging level for unexpected behaviour, that must be fixed.
This file is part of ArmarX.
const char * toString(InteractionFeedbackType type)
A result struct for th main method of a skill.
std::string jointControlSkillProvider
armarx::viz::Client arviz
armem::client::MemoryNameSystem mns