[go: up one dir, main page]

File: NewProduct

package info (click to toggle)
altos 1.9.21-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 83,636 kB
  • sloc: ansic: 119,717; java: 42,907; makefile: 8,459; sh: 4,995; xml: 2,154; pascal: 2,008
file content (70 lines) | stat: -rw-r--r-- 1,338 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
When adding a new product to the java code, there are a number of
places that might need adjustment:

altoslib/

 1. AltosLib.java

	Declare new log format
	Declare new USB ids
	Declare new Product name
	Add item to product_name function
	Add entry in product_id_from_log_format
	Declare new sensor model

 2. AltosIdleFetch.java

	Declare any new sensors, create new sensor class
	Create new sensor class for ADC values
	Add new AltosIdler entry to idlers array

 3. AltosEepromRecordSet.java

	Map new log format to new log record decode class

 4. AltosIMU.java

	Map new imu_type (which includes orientation) correctly

 5. AltosConfigData.java

	Adjust invert_accel_value for new log format or product name
	Adjust use_flash_for_config as needed
	Adjust various accel_inverted functions
	Adjust adxl375_axis

 6. AltosTelemetry.java

	Define new telemetry packet types


 7. AltosTelemetryStandard.java

	Map telemetry packet type to new decoder class

 8. AltosTelemetry*.java

	Adjust existing telemetry decoders for new sensors


 9. AltosConvert.java

	Add conversion functions for ADC values

altosuilib/

 1. AltosUSBDevice.java

	Add new product ID as appropriate to matchProduct

ao-tools/lib/

 1. ao-eeprom-read.h

	Add new log file format as appropriate

ao-tools/ao-eeprom/

 1. ao-eeprom.c

	Parse new log file contents