![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
pepe
Diff: main.cpp
- Revision:
- 2:06b7789c7da0
- Parent:
- 1:2716ea33958b
--- a/main.cpp Wed May 22 09:51:53 2019 +0000 +++ b/main.cpp Sun Nov 24 18:37:46 2019 +0000 @@ -9,10 +9,12 @@ float x1=20,y1=20; // Posição inicial do robo float a1=0,b1=-1,c1=65; // Reta ax + by + c = 0 float x2=65,y2=60,phi2=-pi/2; // Pose arbitrária -int p[2] = {100,100}; -int p1[2] = {140, 80}; -int p2[2] = {140, 35}; -int p3[2] = {140, 130}; + +int p[2] = {59, 43}; +int p1[2] = {70, 17}; +int p2[2] = {20, 46}; +int p3[2] = {48, 66}; +//int p4[2] = {200,200}; void pressed() { @@ -26,10 +28,10 @@ setSpeeds(0,0); //wait(0.2); mapa(80,80); - cria_obj(60,40,p); - //cria_obj(20,10,p1); - //cria_obj(20,60,p2); - //cria_obj(20,40,p3); + //cria_obj(117,84,p); + //cria_obj(20,30,p1); + // cria_obj(28,13,p2); + //cria_obj(25,12,p3); //int_map(80, 80); while(1) {