Extend the editing of vehicles to allow editing of weight

Assignment Help Basic Computer Science
Reference no: EM13909267

I need help on this assignment as I haven't got the time as I have others!The project requirements consist of several parts as detailed below. I have arranged these more or less in order of increasing difficulty, so I suggest you work through them in order.

1. Simplify the default set of sources, vehicles and barriers presented to the user at startup to be just one source, one vehicle and one barrier; the source and barrier should be positioned so that the vehicle interacts with them in an interesting way, e.g., it orbits the source until it hits the barrier at which point it orbits in the other direction.

2. Change the set of vehicles listed in the "Add Vehicle" dropdown JComboBox to match those listed in Braitenberg's book, and update the help documentation to explain what these vehicles do. It should be possible to add instances of vehicle types 2a, 2b, 3a, 3b and 3c from Braitenberg's book, and each vehicle type should be a different colour. This will involve writing a new class for each vehicle type, but these should be a straightforward extension of the SimpleVehicle class or one of its subclasses.

3. Modify the drawing of a vehicle with a source attached so that it is clear that it has a source attached. For example, you could add a yellow shape to the rear of the vehicle to show that it has a light attached and a red shape to show that it has a heat source attached. It should be possible to attach a source to any vehicle type as at present.

4. Extend the editing of vehicles to allow editing of the weight (importance) of a sensor in determining the motion of the vehicle.

You should also note any bugs you fixed as part of implementing the requirements above (this is important!).

The source files are in the src folder, and the documentation of the files are in the documentation folder.

Reference no: EM13909267

Questions Cloud

T and o it manufactures these products in separate factories : Vanna Co. produces and sells two products, T and O. It manufactures these products in separate factories and markets them through different channels.
What is the benefit of doing step five of the apv process : What is the benefit of doing Step 5 of the APV process? What are some potential problems that could be involved with this type of value decomposition?
Healthcare reform, immigration reform, privacy rights : The topic of your project needs to be a contemporary societal problem, such as healthcare reform, immigration reform, privacy rights, euthanasia, First Amendment Rights, stem cell research, capital punishment, corporate prisons, legalizing drugs, age..
Manufacturing and selling the product required : Manufacturing and selling the product required $ 200,000 of fixed manufacturing costs and $ 325,000 of fixed selling and administrative costs.
Extend the editing of vehicles to allow editing of weight : Extend the editing of vehicles to allow editing of the weight
How would you rank these firms in firms of their risk : With 10,000 units as a base, what is the percentage changes in units sold and EBIT as sales move from the base to the other sales level used in part b?
Analysis offer management for long term planning : Patriot Co. manufactures and sells three products: red, white, and blue.
Find the probability that the system enters failure mode : For δ small, find the probability that the system enters failure mode in the interval (t, t + δ] in the limit as t → ∞. Find the expected time between successive entries into failure mode.
Find an expression for the cdf of y : Let Y(t) be the interval from t until the first arrival (from either process) after t. Find an expression for the CDF ofY(t) in the limit t → ∞ (you may assume that time averages and ensemble averages are the same).

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Consider an rgb raster system and color lookup table

Consider an RGB raster system that has a 1024 by 800 frame buffer with 16 bits per pixel and a color lookup table with 24 bits per pixel.

  Write using the summation notation

Write using the summation notation

  Violating terms of the agreement between the companies

In 2004, Toys"R"Us sued Amazon.com for violating terms of the agreement between the companies; specifically, Toys"R"Us objected to Amazon.com's permitting Amazon Marketplace retailers to sell toys. (Note: When the lawsuit was filed, Amazon Marketplac..

  Describe of what the computer considers true or false

For your initial post, provide your own description of what the computer considers "TRUE" and what the computer considers "FALSE." Then, provide at least two code examples (original examples) that would return TRUE

  Design an algorithm that prompts the user to enter a number

Design an algorithm that prompts the user to enter a number in the range of 1 through 100 and validates the input.

  What is the output of this code sequence

What is the output of this code sequence?

  Tsee economic espionage and the protection of trade secrets

economic espionage and the protection of trade secrets have become increasingly important as domestic and international

  Write a short essay using no more than 600 words

Write a short essay (using no more than 600 words) to discuss how (or whether) the XML equivalent capabilities were used in the past (before XML) in WBIS and what changes are expected in XML in future?

  Write a program that creates a 4x3 array of integers

Write a program that creates a 4x3 array of integers. Populate the array with random numbers between 0 and 200. Sum up the values in each column and display the three sums to the screen.

  Calculate the program average using the formula

Program average = total program points / maximum program points possible * 100. If no programs have been turned in at this point of the semester, set the program average to 0.0.

  Design a remote access control policy for richman

Richman Investments is an investment and consulting firm. The company wants to expand its business operations both in the U.S. and in foreign countries. It intends to eventually have 10,000 employees in 20 countries.

  Make a client server program with tcp (sockstream) socket

Make a Client Server program with following requirements : The server will create a TCP (sockstream) socket. The server will listen on the port 9999.

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