5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-02-27 10:13:57 -04:00

added size of Vector6f

This commit is contained in:
Andrew Tridgell 2012-02-11 23:00:08 +11:00
parent 2792abfce2
commit 94a86204ee

View File

@ -178,6 +178,8 @@ const uint8_t AP_Param::type_size(enum ap_var_type type)
return 4;
case AP_PARAM_VECTOR3F:
return 3*4;
case AP_PARAM_VECTOR6F:
return 6*4;
case AP_PARAM_MATRIX3F:
return 3*3*4;
}