Rover wrapper brainstormin
2 posters
Page 1 of 1
Rover wrapper brainstormin
What up rover group, lets get the ball rolling on the thinking about what we want our robot to do. This is all about what all we want our robot to do, physically.
MoveFoward - where the robot moves forward one "unit", to be called repeatedly to create continuous forward movement.
MoveBackward - same as above just in reverse
MoveOffset - the robot moves to an offset position from where it is currently at.
MovePosition - moves the robot to a position based on a static 2D field. (might be interesting to see if we can do this, as we would need to know the position of our robot in the 2D plane)
RotateLeft - where the robot rotates left one "degree", to be called repeatedly to create continuous rotation
RotateRight - same as above except right
RotateDegree - rotates X degrees then stops.
MoveFoward - where the robot moves forward one "unit", to be called repeatedly to create continuous forward movement.
MoveBackward - same as above just in reverse
MoveOffset - the robot moves to an offset position from where it is currently at.
MovePosition - moves the robot to a position based on a static 2D field. (might be interesting to see if we can do this, as we would need to know the position of our robot in the 2D plane)
RotateLeft - where the robot rotates left one "degree", to be called repeatedly to create continuous rotation
RotateRight - same as above except right
RotateDegree - rotates X degrees then stops.
making- Posts : 35
Join date : 2009-01-08
Re: Rover wrapper brainstormin
i was thinking for turning to do
rotate45right() - rotates the rover 45 degrees to the right
rotate45left()- rotates the rover 45 degrees to the left
rotate90left()- rotates the rover 90 degrees to the left
rotate90right()- rotates the rover 90 degrees to the right
rotate180()- rotates 180 degrees (left or right) to face opposite direction it was
this way we hard code 5 different turning. i am sure we can come up with better ideas once we look at the code
maybe the bought knows which degree its facing from the previous, otherwise we might need some trial and error
based on time? or how much power applied. I am kind of interested in how this will work.
-Sean Cavanaugh
rotate45right() - rotates the rover 45 degrees to the right
rotate45left()- rotates the rover 45 degrees to the left
rotate90left()- rotates the rover 90 degrees to the left
rotate90right()- rotates the rover 90 degrees to the right
rotate180()- rotates 180 degrees (left or right) to face opposite direction it was
this way we hard code 5 different turning. i am sure we can come up with better ideas once we look at the code
maybe the bought knows which degree its facing from the previous, otherwise we might need some trial and error
based on time? or how much power applied. I am kind of interested in how this will work.
-Sean Cavanaugh
Similar topics
» Rover group needs.
» Rover group's stub code
» Rover group meetup times.
» Rover group header file.
» Rover Group and Sensor Group API and Stub code
» Rover group's stub code
» Rover group meetup times.
» Rover group header file.
» Rover Group and Sensor Group API and Stub code
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|