-
Notifications
You must be signed in to change notification settings - Fork 3
Testing With Predefined Sensor Data
Ajay Ramachandran edited this page Jul 12, 2020
·
6 revisions
To enable testing mode, define the TESTING
environment variable.
On Linux/WSL:
Set: export TESTING=1
Unset: unset TESTING
Testing data is a csv formatted in the same way as the following example file:
TODO
This file should be placed in TBD.
To use testing mode with the Cmake Vscode plugin, you can setup a cmake kit.
First, open up your current kits using Ctrl + shift + P
and "Edit User-Local Cmake Kits". Copy the data from the one you are currently using.
Create a file in the .vscode
folder called cmake-kits.json
and format it like below:
[{
"name": "Testing",
"environmentVariables": {
"TESTING": "1"
},
<DATA FROM EXISTING CMAKE KIT GOES HERE>
}]
Then, change your active kit and rebuild.
- Getting started
- Environment Variables
- Compiling the SBG Library on Linux\Unix\WSL
- Developing on Windows with VSCode
- Set Environment Variable In Vscode With The Cmake Plugin
- Creating Unit Tests
- Cross compiling for the Raspberry Pi
- Info and Error Logging in the Rocket Code
- Send Folder via SSH
Configuration:
Raspberry Pi Setup:
- Add a new wifi network on the Raspberry Pi
- Connect to Raspberry Pi via SSH
- Important Notes About Setting Up Raspberry Pi
- Running Emulation of Raspberry Pi
Logging Format: