Skip to content

[TASK] EtaQuat struct #16

@Andeshog

Description

@Andeshog

Description of task

Implement a new EtaQuat struct in include/vortex/utils/types.hpp that holds the 3D NED position and orientation in quaternion. It should have methods to return the position vector, the quaternion, the whole state as vector, necessary rotation and transformation matrices, and overloaded - operator. A method to convert between EtaQuat and Eta would also be nice.

Suggested Workflow

No response

Specifications

The EtaQuat struct should have methods to return the position vector, the quaternion, the whole state as vector, necessary rotation and transformation matrices, and overloaded - operator. A method to convert between EtaQuat and Eta would also be nice.

Contacts

No response

Code Quality

  • Every function in header files are documented (inputs/returns/exceptions)
  • The project has automated tests that cover MOST of the functions and branches in functions (pytest/gtest)
  • The code is documented on the wiki (provide link)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions