Better wall avoidance.

This commit is contained in:
2016-06-21 13:33:57 -04:00
parent df09ae9dfe
commit 1283ccfff1
6 changed files with 68 additions and 31 deletions

View File

@@ -26,9 +26,13 @@
#include "robot.hpp"
Robot::Robot(std::string hostname, uint32_t port) {
_host_name = hostname;
_port = port;
_p_client = new PlayerCc::PlayerClient(hostname, port);
_p_proxy = new PlayerCc::Position2dProxy(_p_client, 0);
_r_proxy = new PlayerCc::RangerProxy(_p_client, 0);
_p_proxy->RequestGeom();
_r_proxy->RequestGeom();
_r_proxy->RequestConfigure();