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
Define a Prolog predicate flatten(List, FlattenedList) that asserts List is any nested list of atoms and FlattenedList is the same list with the nesting removed. The atom [] should

find value of nCr using function

A manager at the local Walmart needs to determine how many workers to hire to cover a 24-hour period. Each worker must work 9 consecutive hours but may only start work at the begin

,how to write matlab program for fast decoupled method

The purpose of the HB Programming test is to assess whether a candidate has sufficient knowledge to join our team here and beyond that where they would fit within our teams. The

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

I need a program that writes the first column of the matrix. The numbers in this column follow the pattern below: 1. Numbers start at 1 and count up to ''nels'' in increments of

Write a function called triple (in a file called 'triple.m'). That takes a single variable x and returns a single variable in which every element of x is multiplied by 3. Make sure

i have 4 variables in my linkage section of PIC 9(3) ..while submitting i m passing parameter value i.e. numeic to them but its taking space for 2 varaible and for two its taking c

Question 1 Discuss on Inheritance Question 2 What are the four phases of the object modeling technique that can be repetitively executed? Question 3 Explain the di