mavros_examples.px4_offboard module

class mavros_examples.px4_offboard.OffboardControl(*args: Any, **kwargs: Any)

Bases: Node

OFFBOARD mode control node.

arm()

Arm the vehicle asynchronously.

land()

Command the vehicle to land by switching to AUTO.LAND mode.

set_mode(mode: str)

Set flight mode asynchronously.

state_cb(msg)

State callback.

timer_callback()

Execute the main control loop callback.

wait_for_services()

Wait for all services to be available.

mavros_examples.px4_offboard.main(args=None)