Skip to content

Wrap PixhawkInstruction values in float() #5

@benjaminwp18

Description

@benjaminwp18

PixhawkInstruction values must be floats. Python is weird, so computed values should be passed through the float() function before being passed to PixhawkInstruction(). i.e.

PixhawkInstruction(
    forward=float(0.5),
    vertical=float(-0.25),
    author=PixhawkInstruction.MANUAL_CONTROL
)

Write instructions to that effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions