Menu structure
[**********TO DO: Menu structure is not finalized yet. Once finalized the text menu should be replaced with a image.**********]
Following figure illustrates the structure of the menu system. The following sections describe the details and operation of each function.
1. Configure
1.1. Toggle day/night mode -> switch to toggle
1.2. Zero accelerometer -> display levelling now, whilst levelling the accels
1.3. Language -> select from “English”, “German”, “French”
1.4. Display Contrast -> as now
1.5. Day Brightness
1.5.1. Display
1.5.2. Shiftlights
1.6. Night Brightness
1.6.1. Display
1.6.2. Shiftlights
1.7. Unit information-> this is a “whole screen” which displays a list of available licences, and allows the user to enter a licence code, these will be in the same format as on the D2P (ask Rasika about these). Also displays all versions including config software, bootloader, firmware, hardware. At the bottom right we’ll have a “return to menu button”. and menu
2. Laptiming
2.1. View laps times -> this is a “whole screen” display, which lists all the lap times and sector times on a grid, as well as the best theoretical, and best continuous lap, in a similar format to analysis.
2.2. Reset all lap times -> are you sure y/n
2.3. Reset lap counter -> are you sure y/n
2.4. Lap markers -> this is a whole screen display that shows the track with the markers on it. Buttons for add track marker, and reset all track markers. This needs more thought/design.
3. Logging
3.1. Start/Stop Internal logging -> display “logging started” or “logging stopped”
3.2. Start/stop external logging display “logging started” or “logging stopped”
3.3. Format card display -> are you sure y/n -> formatting
3.4. Check space on card -> display free space in MB
4. Review
4.1. Alarms -> this is a whole screen display with a scrollable list of all alarms that have been triggered, and a reset and a return to main menu button
4.2. System info log -> this is a whole screen display with a scrollable list of all information messages that have been generated, the list is the same as the DL1 stores in its info.txt file (ask Chaminda for an example) also a reset and a return to main menu button
4.3. Mins/Maxs -> this is a whole screen list of variable names and the minimum, maximum values of them. also a reset and a return to main menu button
5. Test
5.1. Check Data
5.1.1. All Variables this is a whole screen list of all variables showing live data, so name and then value as taken directly from the internal variable data base (for the structure of this internal data base, please ask Chaminda) with no scaling of filtering etc
5.1.2. Internal sensors -> this is a whole screen list of data taken from the internal sensors, that will include GPS, analogue inputs, accelerometer, RPM, wheel speed. For each we display the name, and the current value with no scaling of filtering etc
5.1.3. Serial port -> similar to above but for the serial port, we do something similar to this already on the D4P, ask Thisara
5.1.4. CAN port 1-> similar to above but for the CAN port, we do something similar to this already on the D4P, ask Thisara
5.1.5. CAN port 2
5.1.6. CAN port 3
5.1.7. CAN port 4
5.2. Test outputs
5.2.1. Toggle output 1 -> toggle on/off
5.2.2. Toggle output 2
5.2.3. Toggle output 3
5.2.4. Toggle output 4
5.3. Demo mode -> this is for exhibitions, basically it will switch to a full screen display with
6. SPEEDBOX (only shown in industrial mode)
6.1. Review tests -> this is a scrollable list of previous text results from the SPEEDBOX, similar to what we have on the D4P. Needs reset and back to main menu buttons
6.2. Configure test -> the functionality is the same as on the D4P, but on the D4P we have separate screens for start/end conditions etc, on the D5P we can have everything on the same screen. Please look at the test configuration in the SPEEDBOX config software or the run processor, I would like the layout to be similar
6.2.1. Test 1
6.2.2. Test 2
6.2.3. Test 3
6.2.4. Test 4
6.2.5. Test 5
6.3. Print results -> sends a serial command to the SPEEDBOX
6.4. Start test -> sends a serial command to the SPEEDBOX
6.5. Abort test -> sends a serial command to the SPEEDBOX
6.6. Level IMU -> sends a serial command to the SPEEDBOX
7. Car computer (same functions as on the D2P now, but I think we can simply display everything on a single screen with reset buttons - only shown in race mode)