Debian Codegraph @

altoslib/NewProduct

raw
1 When adding a new product to the java code, there are a number of
2 places that might need adjustment:
3
4 altoslib/
5
6 1. AltosLib.java
7
8 Declare new log format
9 Declare new USB ids
10 Declare new Product name
11 Add item to product_name function
12 Add entry in product_id_from_log_format
13 Declare new sensor model
14
15 2. AltosIdleFetch.java
16
17 Declare any new sensors, create new sensor class
18 Create new sensor class for ADC values
19 Add new AltosIdler entry to idlers array
20
21 3. AltosEepromRecordSet.java
22
23 Map new log format to new log record decode class
24
25 4. AltosIMU.java
26
27 Map new imu_type (which includes orientation) correctly
28
29 5. AltosConfigData.java
30
31 Adjust invert_accel_value for new log format or product name
32 Adjust use_flash_for_config as needed
33 Adjust various accel_inverted functions
34 Adjust adxl375_axis
35
36 6. AltosTelemetry.java
37
38 Define new telemetry packet types
39
40
41 7. AltosTelemetryStandard.java
42
43 Map telemetry packet type to new decoder class
44
45 8. AltosTelemetry*.java
46
47 Adjust existing telemetry decoders for new sensors
48
49
50 9. AltosConvert.java
51
52 Add conversion functions for ADC values
53
54 altosuilib/
55
56 1. AltosUSBDevice.java
57
58 Add new product ID as appropriate to matchProduct
59
60 ao-tools/lib/
61
62 1. ao-eeprom-read.h
63
64 Add new log file format as appropriate
65
66 ao-tools/ao-eeprom/
67
68 1. ao-eeprom.c
69
70 Parse new log file contents