This assignment is about getting familiar with smoothening of pulse sensor data which is given to a real time system and count the heart beat i.e number of peaks.
The solution and results are found under the Assignment_1 directory.
This assignment is about getting familiar with asynchronous inputs and push inputs to a real time system. Here we are treating raspberry pi 2B as a real time system.
The code and other information related to asynchronous inputs can be found under the Assignment_2/asynchronous_inputs directory. The code and other information related to push inputs can be found under the Assignment_2/push_inputs directory.
This assignment is about getting familiar with creation of child processess, creation of threads and their address spaces.
The code and other information related to process address space can be found under Assignment_3/address_space_process directory. The code and other information related to thread address space can be found under Assignment_3/address_space_thread directory.
This assignment is about getting familiar with various IPC (Inter Process Communication) mechanisms. In this assignment, we had used POSIX standard api calls instead of System V api calls for message queues and shared memory IPC mechanisms.
IPC mechanism | Directory of code and related files |
---|---|
PIPES | Assignment_4/pipes |
MESSAGE QUEUES | Assignment_4/message_queues |
SHARED_MEMORY | Assignment_4/shared_memory |
SOCKETS | Assignment_4/sockets |
[1] Savitzky–Golay filter
[2] Smoothing Derivative in C++?
[3] Median filter
[4] linux/Documentation/gpio/sysfs.txt
[5] The sysfs Filesystem by Patrick Mochel
[6] Man pages
[7] RPi GPIO Code Samples
[8] Raspberry Pi GPIO Layout
[9] Priority, Interrupts and Threads
[10] RPi GPIO Code Samples
[11] wiringPi Pin mapping
[12] closing the unwanted file descriptors
[13] The Linux Programming Interface by Michael Kerrisk
[14] How to split a string in C/C++, Python and Java?
[15] C Library - <limits.h>
[16] Catching SIGCHLD