This program is for an autonomous robot for the competition at the Hochschule Luzern. http://cruisingcrepe.wordpress.com/ We are one of the 32 teams. http://cruisingcrepe.wordpress.com/ The postition control is based on this Documentation: Control of Wheeled Mobile Robots: An Experimental Overview from Alessandro De Luca, Giuseppe Oriolo, Marilena Vendittelli. For more information see here: http://www.dis.uniroma1.it/~labrob/pub/papers/Ramsete01.pdf
Fork of autonomous Robot Android by
Diff: RobotControl/RobotControl.h
- Revision:
- 5:48a258f6335e
- Parent:
- 3:92ba0254af87
- Child:
- 6:48eeb41188dd
--- a/RobotControl/RobotControl.h Fri Mar 08 09:54:34 2013 +0000 +++ b/RobotControl/RobotControl.h Thu Mar 21 08:56:53 2013 +0000 @@ -103,19 +103,37 @@ * Sets the desired X-position of the robot. * @param xposition the desired position, given in [m] */ - void setxPosition(float xposition); + void setDesiredxPosition(float xposition); /** * Sets the desired Y-position of the robot. * @param yposition the desired position, given in [m] */ - void setyPosition(float yposition); + void setDesiredyPosition(float yposition); /** * Sets the desired θ of the robot. * @param theta the desired θ, given in [rad] */ - void setTheta(float theta); + void setDesiredTheta(float theta); + + /** + * Get the desired X-position of the robot. + * @return xposition the desired position, given in [m] + */ + float getDesiredxPosition(); + + /** + * Get the desired Y-position of the robot. + * @return yposition the desired position, given in [m] + */ + float getDesiredyPosition(); + + /** + * Get the desired θ of the robot. + * @return theta the desired θ, given in [rad] + */ + float getDesiredTheta(); /** * Sets the desired Position and θ. @@ -123,7 +141,7 @@ * @param yposition the desired position, given in [m] * @param theta the desired θ, given in [rad] */ - void setPositionAngle(float xposition, float yposition, float theta); + void setDesiredPositionAndAngle(float xposition, float yposition, float theta); /** * Gets the desired θ of the goal point.