-
Notifications
You must be signed in to change notification settings - Fork 1
Description
This assignment will involve working with physical hardware in the GAS laboratory.
We are finally at the point in which we can start writing SPA wrappers for our physical sensors! A SPA wrapper is basically a class that takes the drivers for each sensor and arranges their functionality into something that is SPA-compliant. Essentially, it should arrange the sensors' output into SpaData messages, handle incoming messages in a meaningful way, and handle other sensor-specific logic.
The SPA wrapper should be in lib/components and inherit from Component
The SensorData component will specifically be a wrapper to handle all of our strictly data-producing components:
- BNO055 Gyroscope
- MCP9808 Temperature sensor
- DS1307RTC Clock
- CoolSat Barometer
- TinyGPSPlus
- uCamII Camera
This, of course, requires interfacing the sensor with the Beaglebone Black. Study errno_3's code to find the necessary libraries and see how to use each sensor!