help on angle stuff! Sumo bot orintation towards object to push
in
Programming Questions
•
2 years ago
well the header is a little long so im hoping people anyway take their time to read and you did :-)
all bots and objects are circular
well im programming an interface where i have an rraylist of bugs and an arraylist of objects.
the objects are letters that read "hello world" and the array of new positions are posibble anagrams of "hello world"
the anagram creator is allready made in perl.
my problem is how to tell a bot to move to an object and push it towards the objects new position.
the subproblems are:
i see a high demand for this kind of general knowledge on "sumobots" and will with the finnished project put it up on this forum for young robotists to see.
_____
allways on the lookout for new toys to mod
_____
all bots and objects are circular
well im programming an interface where i have an rraylist of bugs and an arraylist of objects.
- the objects are pushed (by the bots) to their "original" position
- bots go to x=10,y=10 (their hiding position)
- the objects are pushed to a a position decided by opening a random array of positions and looking for its id number and thereby its new position.
- bots go to x=10,y=10 (their hiding position)
- state=1
the objects are letters that read "hello world" and the array of new positions are posibble anagrams of "hello world"
the anagram creator is allready made in perl.
my problem is how to tell a bot to move to an object and push it towards the objects new position.
the subproblems are:
- find the angle on the objects where if you push you will push it towards its decided new position.
- the angle will decide a point i a cordinate system where the bot will go and orient itself in the decided angle towards the object
i see a high demand for this kind of general knowledge on "sumobots" and will with the finnished project put it up on this forum for young robotists to see.
_____
allways on the lookout for new toys to mod
_____
1