question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

timeout on command arm, takeoff etc.

See original GitHub issue

I’m getting an error while using example 'takeoff_and_land.py":

Waiting for mavsdk_server to be ready...
Connected to mavsdk_server!
Waiting for drone to connect...
Drone discovered with UUID: 1
-- Arming
Traceback (most recent call last):
  File "test.py", line 37, in <module>
    loop.run_until_complete(run())
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\asyncio\base_events.py", line 587, in run_until_complete
    return future.result()
  File "test.py", line 25, in run
    await drone.action.arm()
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\mavsdk\generated\action.py", line 230, in arm
    raise ActionError(result, "arm()")
mavsdk.generated.action.ActionError: TIMEOUT: 'Timeout'; origin: arm(); params: ()

What cause that problem? I’m connecting with pixhawk with esp8266 (pre build bin pixracer for connecting udp 14560 port) without any problems on mission planner app, but some kind of error appears using python example.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15

github_iconTop GitHub Comments

1reaction
julianoescommented, Jun 15, 2020

Aha! There is a param to skip that check, I think it’s this one: https://dev.px4.io/master/en/advanced/parameter_reference.html#CBRK_SUPPLY_CHK

0reactions
Owiec94commented, Jun 12, 2020

Dear @julianoes Thank You for Your support. It was an error “avionics power low” 4.89V which is a mistake, my pixhawk power module has 5.3V output. Where I can calibrate or set lower threshold or do something to ignore that message?

Of course my module bought in china, it is not original FC.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Prearm, Arm, Disarm Configuration - PX4 User Guide
The feature is configured using the following timeouts. Time-out for auto disarm after landing.
Read more >
Timeout Command in Linux
timeout is a command-line utility that runs a specified command and terminates it if it is still running after a given period of...
Read more >
Messages (common) · MAVLink Developer Guide
[Command] Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. The command should be ignored by vehicles that...
Read more >
BREVITY - Army Publishing Directorate
This multi-Service tactics, techniques, and procedures (MTTP) publication is a product of the Air Land Sea Application (ALSA) Center in ...
Read more >
Arming the motors — Copter documentation - ArduPilot
The AUTO_OPTIONS parameter can be used to alter this behaviour, allowing arming while in AUTO mode, and/or, allowing a mission takeoff command to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found