Skip to content

ECE492W18T01/RaspberryPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RaspberryPi

Includes all RPI functionality for the project. Utilizes python 3 development version.

Dependencies

Getting Started:

  1. Install Git:
apt-get install git
  1. Clone Repository onto Raspberry Pi:
git clone https://github.com/ECEw18T01/RaspberryPi
  1. Run configuration script:
chmod +x RaspberryPi/utilities/setup.sh
RaspberryPi/utilities/setup.sh

Connecting Raspberry Pi Camera module:

  1. Open RaspberryPi Configuration:
sudo raspi-config
  1. Navigate to Peripherals and enable camera interface: Ensure the camera module is working by running camera_preview() available in test.py.

Connecting the Dualshock 4 Controller:

  1. Run the Dualshock 4 Driver Utility Setup.
chmod +x RaspberryPi/utilities/setup.sh
RaspberryPi/utilities/setup.sh
  1. Next start ds4drv:
sudo ds4drv

As daemon:

sudo ds4drv &
  1. Pair bluetooth controller to the device: You can test that the device is properly connected by running utilities/joystick.py

Running the application:

  1. Run drive.py from the RaspberryPi directory:
python drive.py

Currently the main program is broken up into two seperate processes drive.py and stream.py. These two files will be combined into the main program once testing is complete.

About

All Raspberry Pi modules

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published