09 March 2025

Team 7: Progress Report

 For this project, Final Team 7 decided to work with our second sketch for Rocket League with the controller in the shape of a car. We were thinking about putting potentiometers as wheels to control a constant speed value so the player does not have to constantly move the car in along the desk, making them work more like analog triggers than actual wheels, but still gives the player the sense of moving the vehicle. Left and right movement is controlled by a sliding potentiometer located on the rear wing of the vehicle. Jumping can be accomplished using a tilt switch, allowing the player to be able to shake the vehicle controller to jump. Players can activate their boost by blowing into a microphone located on the roof of the car or an exhaust pipe. As we are using the Circuit Playground, we could add extra controls for air roll left and right using the tilt sensors located on the board.

Sketch:


Pseudo Code:


//Establish inputs
  //Forward/Reverse potentiometer Pin A4
    //Determine what starting position value is
  //Turn Left/Right Pin A7
    //Determine center value
  //Boost Mic pickup Pin A6
    //Read room on start for base audio level
  //Jump Pin A5
    //Pulldown

// Forward/Reverse Movement and speed.
  //Read value from pin A4
  //If value above starting
    //Move car forward, speed based on number distance from starting value
  //If value below Starting
    //Move car reverse, speed based on number distance from starting value


//Left/Right movement
  //Read Value from pin A7
  //If value above starting
    //Turn left, angle of turn based on distance from starting value
  //If value below starting
    //Turn right, angle of turn based on distance from starting value

//Boost Control
  //Read Pin A6
  //If value is greater than starting
    //Activate boost

//Jump
  //Read pin A5
  //If activated
    //Jump



Circuit Diagram

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.