@@ -22,11 +22,12 @@ def __init__(self, components_data: dict):
22
22
self .fc_manufacturer = components_data .get ('Flight Controller' , {}).get ('Product' , {}).get ('Manufacturer' , '' )
23
23
self .fc_model = components_data .get ('Flight Controller' , {}).get ('Product' , {}).get ('Model' , '' )
24
24
self .tow_max_kg = components_data .get ('Frame' , {}).get ('Specifications' , {}).get ('TOW max Kg' , '' )
25
+ self .prop_diameter_inches = components_data .get ('Propellers' , {}).get ('Specifications' , {}).get ('Diameter_inches' , '' )
25
26
self .rc_protocol = components_data .get ('RC Receiver' , {}).get ('FC Connection' , {}).get ('Protocol' , '' )
26
27
self .telemetry_model = components_data .get ('Telemetry' , {}).get ('Product' , {}).get ('Model' , '' )
27
28
self .esc_protocol = components_data .get ('ESC' , {}).get ('FC Connection' , {}).get ('Protocol' , '' )
28
- self .prop_diameter_inches = components_data .get ('Propellers' , {}).get ('Specifications' , {}).get ('Diameter_inches' , '' )
29
29
self .gnss_model = components_data .get ('GNSS receiver' , {}).get ('Product' , {}).get ('Model' , '' )
30
+ self .gnss_connection = components_data .get ('GNSS receiver' , {}).get ('FC Connection' , {}).get ('Type' , '' )
30
31
31
32
@staticmethod
32
33
def columns ():
@@ -35,11 +36,13 @@ def columns():
35
36
"FC\n Manufacturer" ,
36
37
"FC\n Model" ,
37
38
"TOW Max\n [KG]" ,
39
+ "Prop Diameter\n [inches]" ,
38
40
"RC\n Protocol" ,
39
41
"Telemetry\n Model" ,
40
42
"ESC\n Protocol" ,
41
- "Prop Diameter\n [inches]" ,
42
- "GNSS\n Model" )
43
+ "GNSS\n Model" ,
44
+ "GNSS\n Connection" ,
45
+ )
43
46
44
47
def attributes (self ):
45
48
return self .__dict__ .keys ()
0 commit comments