30 #include <VirtualRobot/VirtualRobot.h>
49 #include <armarx/navigation/components/human_simulator/ComponentInterface.h>
92 void createRemoteGuiTab();
97 void RemoteGui_update() override;
109 void drawBoxes(const Properties& p, viz::Client& arviz);
112 void runPeriodically();
114 void setPreferredVelocities(RVO::RVOSimulator* simulator,
115 const std::vector<RVO::Vector2>& goals);
119 static const std::string defaultName;
130 int taskPeriodMs = 100;
133 std::size_t nHumans = 4;
137 std::string robotName =
"Armar6";
139 std::string objectPoseProviderName =
"R003_grasping_challenge";
141 Properties properties;
150 struct RemoteGuiTab : armarx::RemoteGui::Client::Tab
152 armarx::RemoteGui::Client::LineEdit boxLayerName;
153 armarx::RemoteGui::Client::IntSpinBox numBoxes;
155 armarx::RemoteGui::Client::Button drawBoxes;
164 std::mutex arvizMutex;
167 template <
typename T>
172 std::size_t robotAgentId;
183 std::vector<human::simulation::SimulatedHuman> simulatedHumans;
186 RVO::RVOSimulator simulator;
188 std::vector<RVO::Vector2> goals;