forked from Archive/PX4-Autopilot
modal_io: add rpm unit to parameters (#21473)
This commit is contained in:
parent
89a00f9505
commit
73db1a02ca
|
@ -82,6 +82,7 @@ PARAM_DEFINE_INT32(MODAL_IO_BAUD, 250000);
|
|||
* Minimum RPM for ESC
|
||||
*
|
||||
* @group MODAL IO
|
||||
* @unit rpm
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MODAL_IO_RPM_MIN, 5500);
|
||||
|
||||
|
@ -91,6 +92,7 @@ PARAM_DEFINE_INT32(MODAL_IO_RPM_MIN, 5500);
|
|||
* Maximum RPM for ESC
|
||||
*
|
||||
* @group MODAL IO
|
||||
* @unit rpm
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MODAL_IO_RPM_MAX, 15000);
|
||||
|
||||
|
|
|
@ -364,7 +364,7 @@ class SourceParser(object):
|
|||
'S', 'A/%', '(m/s^2)^2', 'm/m', 'tan(rad)^2', '(m/s)^2', 'm/rad',
|
||||
'm/s^3/sqrt(Hz)', 'm/s/sqrt(Hz)', 's/(1000*PWM)', '%m/s', 'min', 'us/C',
|
||||
'N/(m/s)', 'Nm/rad', 'Nm/(rad/s)', 'Nm', 'N',
|
||||
'RPM',
|
||||
'rpm',
|
||||
'normalized_thrust/s', 'normalized_thrust', 'norm', 'SD',''])
|
||||
for group in self.GetParamGroups():
|
||||
for param in group.GetParams():
|
||||
|
|
|
@ -154,6 +154,7 @@ parameters:
|
|||
'S', 'A/%', '(m/s^2)^2', 'm/m', 'tan(rad)^2', '(m/s)^2', 'm/rad',
|
||||
'm/s^3/sqrt(Hz)', 'm/s/sqrt(Hz)', 's/(1000*PWM)', '%m/s', 'min', 'us/C',
|
||||
'N/(m/s)', 'Nm/(rad/s)', 'Nm', 'N',
|
||||
'rpm',
|
||||
'normalized_thrust/s', 'normalized_thrust', 'norm', 'SD']
|
||||
bit:
|
||||
# description of all bits for type bitmask.
|
||||
|
|
Loading…
Reference in New Issue