Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/Schniz/robotikka. Lee Ve Tom Ve Ani Doin our Robottttt
Something went wrong. Try again.
1234567891011121314151617181920212223242526/* * Robot.cpp * * Created on: Dec 14, 2014 * Author: user */
#include "Robot.h"
Robot::Robot(char* ip, int port) { _pc = new PlayerClient(ip,port); _pp = new Position2dProxy(_pc); _lp = new LaserProxy(_pc);
_pp->SetMotorEnable(true); //For fixing Player's reading BUG for(int i=0;i<15;i++) Read();}
Robot::~Robot() { delete _pc; delete _pp; delete _lp;}