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
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

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

I am working on a matlab project and need help debugging one question i have written and need help working through another problem.

This assignment is divided into two parts. The goal is to write a Java program that calculates capital gain on a stock market, see Lab 7. When a share of common stock of some co

Tamagochi were all the rage in the 90's as a small toy that had limited functionality but modelled a pet. The "owner" could do the following • Feed the pet • Heal the pet

Can you please make my assignment in 3 days?I will pay you good

the details on the two pictures on the link below : http://rak-up.com/up/files/18637.jpg ">http://rak-up.com/up/files/18636.jpg http://rak-up.com/up/files/18637.jpg

You have been employed by a bounty hunter to create hit list (yes... you better do this right). Create a Hit List program that can records the name, bounty, and difficulty for ten

Write a Prolog predicate has_duplicates(L) that is true if list L contains duplicated elements (that is at least 2 copies of an element). For instance: ?- has_duplicates([a,e,b,

depth estimation from block matching algorithm motion estimation