View Single Post
  #29   Spotlight this post!  
Unread 03-07-2014, 01:17
SoftwareBug2.0's Avatar
SoftwareBug2.0 SoftwareBug2.0 is offline
Registered User
AKA: Eric
FRC #1425 (Error Code Xero)
Team Role: Mentor
 
Join Date: Aug 2004
Rookie Year: 2004
Location: Tigard, Oregon
Posts: 486
SoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant futureSoftwareBug2.0 has a brilliant future
Re: A Vision Program that teaches itself the game

Quote:
Originally Posted by yash101 View Post
Also, say that the path is:

Code:
00000001000000000
00000000200000000
00000000030000000
00000000004000000
00000000000500000
how can i make the robot drive more straight and not go forward, left, forward, right, etc.?

Thanks for all your time, mentors and other programmers!
The path that you've plotted seems to imply that the robot can go in diagonals. Otherwise it would look like:

Code:
00000001200000000
00000000340000000
00000000056000000
00000000007800000
00000000000900000
And adding diagonals is probably the simplest we to make it do more than literally just left/right/up/down. This is of course not the only way, and doesn't give you nice curves.