In this part, you will implement a program which interacts with the RPi2’s sensors. The RPi2 provides multiple General Purpose Input/Output ( GPIO) connectors, which carry signals to/from the sensors. You will connect the sensors to the RPi2, and implement a user space program using the WiringPi library for GPIO communications. The program you will create emulates a sensor platform that detects emergency situations in operating vehicles.Subsequently, you will use the base code that extends sensors with longer latencies, on which you will implement an Energyefficient EDF scheduler.
Complete the following steps:
- Familiarize yourself with WiringPI: http://wiringpi.com/
- Implement a sensor interaction program based on skeleton code available at:
https://cseweb.ucsd.edu/classes/wi16/cse237Aa/project/part2
- Update your sensor interaction program, which now includes latencies, to implement an earliestdeadlinefirst ( EDF) scheduler.
- Implement an energyefficient EDF scheduler for your application
The scheduler should manage the workloads available at: http://seelab.ucsd.edu/cse237a_wi16
Reviews
There are no reviews yet.