Remote Controlled Car

The first assignment is to write psuedocode for a remote control car like the one here.

Viper-Blue-160B

Here is the functionality of the remote. The left control moves up and down. This is your forward and reverse. The right control moves left and right which controls the direction of the car. There is a power switch and a power indicator light. Batteries must be considered when writing your psuedocode.

Assumptions:

  • The left control has 3 positions: top 100% forward motion, middle is stop and bottom is 100% reverse motion.
  • The right controller turns the wheels of the car up to a 45 degree angle in either direction. The middle is 0 degrees, right is 45 and left is -45
  • The controller is initially off
  • The batter has NOT been depleted of it’s energy
  • Left and Right controls start in their middle positions (no motion/stop and going straight)

My answer will be posted in a following post.

Advertisements
Tagged

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: