Skip to content

Propeller test not reporting motorPass #1430

Open
@ttolbol

Description

I am trying to get the automatic propeller test to work. I am using python cflib and doing the following:

cflib.crtp.init_drivers()
scf = SyncCrazyflie(uri, cf=Crazyflie(rw_cache="./cache"))
scf.open_link()
log_config = LogConfig(name="Motor Health", period_in_ms=100)
log_config.add_variable("health.motorPass", "uint8_t")
with SyncLogger(scf, log_config) as logger:
    scf.cf.param.set_value("health.startPropTest", "1")
    for log_entry in logger:
        print(log_entry[1])

I am getting {'health.motorPass': 0} despite all 4 propellers being on.
When doing the test, two of the propellers spin, then I get 4 beeps (like when powering on the CF), followed by a repeating pattern of 4 quick red blinks and a pause.

  • How do I know when the test has concluded?
  • Why am I not seeing anything in health.motorPass after running the test?
  • How do I get the drone back in a state where it can fly after the test?

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions