Skip to content

move_on_path_async fails with YawControlMode.ForwardOnly throwing ERROR code 2.0 (std::exception) #81

@QinCheng0928

Description

@QinCheng0928

Question

What's your question?

move_on_path_async fails with YawControlMode.ForwardOnly throwing ERROR code 2.0 (std::exception)

Include context on what you are trying to achieve

    await self.drone.move_on_path_async(
        path=segment,
        velocity=2.0,
        yaw_control_mode=YawControlMode.ForwardOnly,
        lookahead=-1,
        adaptive_lookahead=1
    )

segment =
[(0.0, 0.0, -4.0), (0.2593904971285841, -4.993267069725244, -6)]

Context details

16:21:25:431 [ERROR] Exception occurred for task '/Sim/SceneDroneClassic/robots/Drone1/MoveOnPath': ERROR code: 2.0, message: std::exception
Traceback (most recent call last):
File "projectairsim/client.py", line 379, in postprocess_response_async_with_callback
result = self.postprocess_response(response)
File "projectairsim/client.py", line 367, in postprocess_response
raise RuntimeError(
RuntimeError: ERROR code: 2.0, message: std::exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions