COMP3702 Artificial Intelligence Assignment

Assignment Help Other Engineering
Reference no: EM132634332

COMP3702 Artificial Intelligence - University of Queensland

Assignment: Continuous motion planning in CANADARM

The CANADARM2 motion planning environment

CANADARM2 is a remote-controlled mechanical arm aboard the International Space Station (ISS), see Fig- ure 1. The robotic arm is used to deploy, capture and repair satellites, position astronauts, maintain equipment, and move cargo. The rest of this specification document details the system and task.

workspace is a plane, represented as [0, 1] [0, 1] R2, and is populated by rectangular obstacles. In addition, The system: The simplified Canadarm operates in a 2D workspace (rather than 3D). In particular, the 2D there are grapple point(s) which the end effectors of the robotic arm can attach to. One of the end effectors must be grappled to a grapple point at any time. The exact dimensions and positions of each obstacle and the number and position of the grapple points in the environment are known prior to execution. Figure 2a illustrates this environment.

The robotic arm is composed of x links and x joints, where x is a non-negative integer, with two end effectors EE1 and EE2, which can attach onto grapple points. An example robotic arm with 3 links is shown in Figure 2b. Each link of the robot is a line segment attached to a joint. The link connected to the grappled

1703_figure.jpg

Figure 1: Canadarm2 with astronaut Stephen K. Robinson. Source: NASA 1

2359_figure1.jpg

(a) An example of the workspace

1997_figure2.jpg

(b) The robot arm and its components

Figure 2

2419_figure3.jpg

Figure 3: An illustration of the co-ordinate scheme of each joint on a 4-segment robotic arm.

end effector acts as a joint. Each joint is a rotational joint which means it can only rotate. A local coordinate system is attached to each joint. The co-ordinate system of the joint at the location of the grappled end effector, coincides with the coordinate system of the end effector. For the remaining joints, the x-axis is the line that coincides with the previous link. We define the angle of segment-i as the angle between link-i and the X axis of the coordinate system attached to joint-i. The joints are numbered relative to the grappled end-effector. Figure 3 illustrates the rotational joints. In some tasks, the links are telescopic and can change length (i.e. when the specified min and max segment lengths differ). This allows the robotic arm to more easily reach the grapple points.

Motion planning for CANADARM

This section describes what your program should do. Given the initial and goal configurations of the Canadarm robotic arm, as well as a map of the environment, your program must find a valid path from the initial to the goal configurations. A valid path means that when the Canadarm executes the path, it will satisfy the following requirements:

1. The path consists of primitive steps. In each primitive step, each joint of the robot arm cannot move more than 0.001 units (i.e. radians or arm length).

2. It will not collide with any of the obstacles 3.It will not collide with itself
4. The entire Canadarm robotic arm must lie inside the workspace
5. The angle between adjacent arm segments cannot be tighter than 15 degrees (i.e. angles 2, 3, 4... must be between -165? and +165?).
6. The segment lengths must be within the bounds specified in the input file (i.e. within min and max lengths)
7. Since a primitive step is very small, it is sufficient to satisfy requirements 2-4 at the beginning and end of each primitive step.

What is provided to you
We will provide supporting code in Python only, in the form of:
1.Support code to represent the problem ( problem spec.py, robot config.py, obstacle.py, angle.py)
2.A visualiser
3.A tester
4.Test cases to test and evaluate your solution

The support code can be found. Au- tograding of code will be done through Gradescope, so that you can test your submission and continue to improve it based on this feedback - you are strongly encouraged to make use of this feedback.

Your assignment task

You have been hired to develop Motion Planning software for a simplified version of the robotic arm. You will be graded on both your submitted program (Part 1) and the report (Part 2). These percentages will be scaled to the course weighting for this assessment item.

Part 1 - The programming task

Your program will be graded using the Gradescope autograder, using the COMP3702 testcases in the support code.

Interaction with the testcases and autograder
The input is a .txt file. To describe the format of this file, we first need to describe the format of a configuration.

Format of a configuration: A configuration is represented by n real numbers, where n is the dimension of the C-space. See example output.txt in the support code for an example of how this is formatted. Each number is separated by a space, and each group of numbers is separated by a semicolon:
• The first two numbers are the position of the origin of the grappled end effector in the workspace.
The next x numbers are the joint angles (ordered relative to the grappled end effector), with each joint angle defined in degrees.
The last x numbers are the lengths of each link (line segment) of the robot ordered relative to end effector 1.

Input format: The program you develop should accept an input file. The file contains information on the set-up of the robotic arm, the initial configuration, the goal configuration, and the environment. This input file uses comments (marked with ‘#') to label which values correspond to which parameters. The input parameters are as follows:

 

# Robotic arm details number of segments
min lengths for each segment (order from ee1) max lengths for each segment (order from ee1)

# Initial Configuration
initial grappled ee (either 1 or 2, representing ee1 or ee2) initial grappled eex, eey
initial angles from grappled ee +ve axis (degrees) initial segment lengths from ee1

# Goal Configuration
goal grappled ee (either 1 or 2, representing ee1 or ee2) goal grappled eex, eey
goal angles from grappled ee +ve axis (degrees) goal segment lengths from ee1

# Environment
number of grapple points
x, y for each grapple point

number of obstacles
x1, y1, x2, y2 for each obstacle

Output format: Your program should output the robot arm's path to a file with the following format.

1.The file consists of m +1 lines, where m is the number of primitive steps in your path.

2. The first line is the initial configuration.

3. The next m lines are the end configuration of each primitive step, where the final line should correspond to the goal configuration.

Examples of the input and output files are in the accompanying support code.

Part 2 - The report

The report tests your understanding of the methods you have used in your code, and contributes 40/100 of your assignment marks. Please make use of the report templates provided on Blackboard, be- cause Gradescope makes use of a predefined assignment template. Submit your report via Gradescope, in .pdf format (i.e. use "save as pdf" or "print-to-file" functionality), and named according to the format a2-[courseCode]-[SID].pdf. Reports will be graded by the teaching team.
Your report task is to answer the questions below:

Question 1.
Please define the Configuration Space of the problem and describe which method you use for searching in continuous space.

Question 2.
If you used a sampling-based method, describe the strategy you applied to develop each of its components (sampling strategy, connection strategy, checking if a configuration is valid or not, checking if a line segment in C-space is valid or not). Otherwise, please describe the equivalent details of your discretization method.

Question 3.
Which class of scenarios do you think your program will be able to solve and under what situation(s) do you think your program will fail? Please explain your answers.

Attachment:- Continuous motion planning in CANADARM.rar

Reference no: EM132634332

Questions Cloud

Compute journal entry to recognize interest expense : The company has not recognized any interest expense during 20X4. What is the journal entry necessary to recognize interest expense as of December 31, 20X4?
How would you use the disc results in a business setting : How did the results align with your personal beliefs of your personality and preferences in the workplace? How would you use these DISC results in a business.
Analyst within one of intelligence agencies : Assume you are an analyst within one of the intelligence agencies.
Define gloria from humanistic or psychoanalytic perspective : Describe Gloria from either the humanistic OR the psychoanalytic perspective of personality development. Describe Gloria from Erickson's lifespan development.
COMP3702 Artificial Intelligence Assignment : COMP3702 Artificial Intelligence Assignment Help and Solution, University of Queensland - Assessment Writing Service - Continuous motion planning in CANADARM
What is the impact on profit for the year : What is the impact on profit for the year if Alpine accepts the special order? (Enter your answers in thousands of dollars. Select option "higher" or "lower")
Benchmark-diversity in leadership : The conflict between the boomers and millennials has become more hostile and team meetings unproductive.
Make a journal entries for distribution of payroll : Journal Entries for Distribution of payroll (no need to set up payroll fund, assumed paid) and Accruals of employer's contribution
American government-explain the social safety net : Explain the social safety net. Explain the distributive policy and the redistributive policy.

Reviews

Write a Review

Other Engineering Questions & Answers

  What is the maximum dc voltage you could expect to obtain

What is the maximum dc voltage you could expect to obtain from a transformer with a 3 Vrms secondary using a bridge circuit with a filter capacitor?

  What percentage would take route

It is known that at user equilibrium, 75% of the origin-destination demand takes route 1. What percentage would take route 1 if a system-optimal solution were achieved, and how much travel time would be saved?

  Compare and contrast wired media with wireless media

Discuss, compare, and contrast wired media (coaxial cable, twisted pair, fiber optic) with wireless media (802.11 a,b,g,n). Decide which is better and defend your position.

  How does a cast iron cooling curve look

How does a cast iron cooling curve look,effect of heating temp, duration also cooling rate

  Discuss about project portfolio monitoring and control

Discuss "Argentina in the Spotlight: Monitoring and Controlling Project Performance" in PMC Corporation Case Study,Discuss about Project Portfolio Monitoring

  Calculate the overhead percentage

3.Show the framing of the letter ASCII ‘Z' (0101 1010), no parity, 1 stop bit. 4.If there is no data transfer and the line is high, it is called ____ (mark, space).

  What is the total depreciation of the building

Use the graph to find the total depreciation of the building over the first 10 years (t = 0 to t = 10).

  What rate of super elevation is required for curve

A new interstate highway is being built with a design speed of 70 mi/h. For one of the horizontal curves, the radius (measured to the innermost vehicle path) is tentatively planned as 2500 ft. What rate of super elevation is required for this curv..

  Explain what is the relevance of the thermal diffusivity

Explain what is the relevance of the Thermal Diffusivity of a brick to the temperature measured on the hot side of a brick wall heated on one side

  Define stripping ratio and give three examples

Define stripping ratio and give three examples of the units it may be expressed in.

  Case study - mobile offshore drilling units

CASE STUDY for Specialist Module H - Mobile Offshore Drilling Units. Identify areas of the unit which do not comply with the Code

  Why is bagging based on random sampling with replacement

Why is bagging based on random sampling with replacement? Would bagging still reduce a forecast's variance if sampling were without replacement?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd