Advertisement
Koelion

Untitled

May 20th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include "ComunicationProtocol.h
  2. #include "RobotInsctuctions.h"
  3.  
  4. int main(int argc, char** argv)
  5. {
  6. ComunicationProtocol* cp = new ComunicationProtocol();
  7. cp->Init("/dev/ttyAMA0", 115200);
  8. RobotInsctuctions* ri = new RobotInsctuctions();
  9. ri->GoStraightUntillObsticle();
  10.  
  11. delete ri;
  12. delete cp;
  13. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement