Question: How to make a finch robot do a square, triangle and figure 8 motion using java coding. I having a hard time this is what

How to make a finch robot do a square, triangle and figure 8 motion using java coding. I having a hard time this is what i have so far.

package simpleOutput;

import edu.cmu.ri.createlab.terk.robot.finch.Finch; /** * Write a description of class Shapes here. * * @author (your name) * @version (a version number or a date) */ public class Shapes { { Finch myFinch = new Finch(); myFinch.setWheelVelocities(80,-100,1000); myFinch.setWheelVelocities(255,255,1000); myFinch.setWheelVelocities(80,-100,1000); myFinch.setWheelVelocities(255,255,1000); myFinch.setWheelVelocities(80,-100,1000); myFinch.setWheelVelocities(255,255,1000); myFinch.setWheelVelocities(80,-100,1000); myFinch.setWheelVelocities(255,255,1000); myFinch.setWheelVelocities(80,-100,1000);

myFinch.quit(); System.exit(0);

} }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!