Browse Source

Changes actuator_test syscmd value arg to be a float from -1 to 1

master
Charles Cross 3 years ago committed by Beat Küng
parent
commit
46f8de3a17
  1. 2
      src/systemcmds/actuator_test/actuator_test.cpp

2
src/systemcmds/actuator_test/actuator_test.cpp

@ -85,7 +85,7 @@ WARNING: remove all props before using this command.
PRINT_MODULE_USAGE_PARAM_INT('s', -1, 1, 8, "Servo to test (1...8)", true); PRINT_MODULE_USAGE_PARAM_INT('s', -1, 1, 8, "Servo to test (1...8)", true);
PRINT_MODULE_USAGE_PARAM_INT('f', -1, 1, 8, "Specify function directly", true); PRINT_MODULE_USAGE_PARAM_INT('f', -1, 1, 8, "Specify function directly", true);
PRINT_MODULE_USAGE_PARAM_INT('v', 0, 0, 100, "value (-1...1)", false); PRINT_MODULE_USAGE_PARAM_FLOAT('v', 0, -1, 1, "value (-1...1)", false);
PRINT_MODULE_USAGE_PARAM_INT('t', 0, 0, 100, "Timeout in seconds (run interactive if not set)", true); PRINT_MODULE_USAGE_PARAM_INT('t', 0, 0, 100, "Timeout in seconds (run interactive if not set)", true);
PRINT_MODULE_USAGE_COMMAND_DESCR("iterate-motors", "Iterate all motors starting and stopping one after the other"); PRINT_MODULE_USAGE_COMMAND_DESCR("iterate-motors", "Iterate all motors starting and stopping one after the other");

Loading…
Cancel
Save