We went over the DifferentialPilot class in class. There are other types of Pilo
ID: 3907033 • Letter: W
Question
We went over the DifferentialPilot class in class. There are other types of Pilot classes. Describe what type of robot would be used with each type of Pilot class and how the moves, turns, etc. work with that type of pilot. They can be short descriptions, but each pilot description should be about three lines and in plain English. You can check our book, the lejos.org web site, etc. Include references, reference links, etc. to cite your sources. Attach a file with your descriptions and submit.
DifferentialPilot
MovePilot
OmniPilot
SegowayPilot
StreeringPilot
Explanation / Answer
Before going in deep
Let us have a broad view on interfaces and implementation of interfaces in class.
All those classes you mention implemented the most common interfaces.
Interface is a technique of abstraction of details of movements.
Piloting is about driving the robot
Wheeled (two, three, ,…)
Not wheeled (walking , other)
In this if we go deep wheeled move forward by rotating it wheels accordingly where as walking robot moves its legs or other sources of movement accordingly.
To hide the content on the way of motion and its details both the class implement the fuction with same name like
moveforward() -- both move forward but in their own way.
Movebackward() - both move backward but in their own way.
In the same way they have their own technique of movement.
Let us get back to the classes given and their interfaces.
DifferentialPilot
MovePilot
OminPilot
SegowayPilot
SteeringPilot
All these classes have implemented the almost same interfaces
All the above interfaces are implemented in the below classes.
LEJOS HAS 3 TYPES EV3,NXJ,RCX (which may vary again in detail)
MovePilot: This class support the movements of all types of chassis and their movements where other classes are particular.
Omni Pilot: It is for holomonic three wheel vehicles and its movement . It has extra interface of Regulated motor for its own rotational motion handling.
SegowayPilot: In movement every 5 seconds it halts to gain balance and again proceeds in movement.
Steering Pilot: It is to simulate the motion of car in the same way of steering its motion calls varies . Differential pilot can call the steering pilot technique.
Function names and calls are same (arguments may vary) but their detailed movement instruction vary based on the movement.
It is forbidden to provide link in chegg. Where for further detailed information you can visit LEJOS.ORG->API where you get all classes and their details.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.