Implement the control mechanism for the robot, Programming Languages

You must implement the control mechanism for the robot arm so that it can safely move the blocks from the source pile to their destination, without colliding with any obstacles or other blocks that have already been moved.

The control mechanism for the robot is implemented in the control() method of the RobotControl class, this has been divided up into three separate methods for you to work on - controlPartA(), controlPartB() and controlPartC() so there is a new method for each scenario. There are three scenarios in total for which you need to implement control mechanism for.

Scenario A--Fixed size blocks and obstacles

Initially you may assume that the obstacles and blocks will be of fixed size--the blocks are of heights 1, 2, 1 and 2 (the last block is always at the top of the source pile) and all obstacles are of height 4.

The robot will start off with code in the control() method, which demonstrates how the different movements may be combined to transport the first block from the source pile to the its target position.

You will need to update the control method so that it picks up each block and moves it to one of the obstacles, starting from the last obstacle and working backwards.

You can do this by repeating the code segment for moving the first block for each new block and making the necessary adjustments to the degree the arm moves in each direction, to reflect  the location of the top of the next block in the source pile, and the target pile that particular block should be dropped on (if you can do it more efficiently then that's okay too).

Posted Date: 3/18/2013 1:28:34 AM | Location : United States







Related Discussions:- Implement the control mechanism for the robot, Assignment Help, Ask Question on Implement the control mechanism for the robot, Get Answer, Expert's Help, Implement the control mechanism for the robot Discussions

Write discussion on Implement the control mechanism for the robot
Your posts are moderated
Related Questions
The standard way for debuggers to plant interactive breakpoints in a program in RAM (whatever the processor instruction set) is to save the break pointed instruction and replace it

Expertsmind brings you unique solution in java assignments Event Delegation Model The Delegation Model with java assignment help Version 1.1 of the Java TM foundation

A function that takes a list with at least 4 numbers and if three of the numbers sum is equal to the remaining numbers return #t else return #f

Question: (a) Outline the six norms to be considered before designing a Web page. (b) Write a program such that when a user right-clicks anywhere on a Web page, the follow

W.A.S.S to find the maximum of three numbers Program # W.A.S.S to find the maximum of three numbers echo "Enter three No.:" read no1 read no2 read no3 if test $no1 -gt $n

For this assignment you will need to design and construct a basic math program which targets elementary school children. Your program must adhere to the following steps and require

1. Introduction The Tube Challenge is a Guinness World Records challenge that tests both the physical and mental abilities of the person trying to break it. The main components

Eclipse Jsp Project. I am making a a project on my website and i was making a help support page on which the user can submit their question and the question is saved to a text file

'This program compares interest rates between two banks and determines the best bank 'Eric Weber, Adam Litchfield, Eric Romero, Sarah, Alex, Amy '10/5/12 'Lab #4 Problem 42 'CSC

On a single XHTML page, include the following two div container elements in the body. Using an external stylesheet, add style to the div elements such that one div has some overlap