Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Robotics Education and Curriculum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=66)
-   -   Robot movements (http://www.chiefdelphi.com/forums/showthread.php?t=74178)

dooka1 11-02-2009 17:20

Robot movements
 
I am completely lost in my c++ class and have no clue how to do my existing assignment.

I need to design a program to move and locate the XxY locations of the robots A,B, and C that belong to a class H robot. It is assumed that the area is rectangular of Nft x Mft (each step equals to one foot).

Member functions will initialize the initial position of the robots, move the robot forward, backward, right and/or left form current position, and display the current location of the robot. Each movement of the robot will be commanded by a separate message. If the robot reaches the edge of the area, it will inform the controlller and refuse to obey the command that may force it to move outside the defined area.

Please help if you know how to design this program.


All times are GMT -5. The time now is 06:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi