mav_navigateNull - Navigation functions.

[ Maverik Level 1 functions ]

#

mav_navigateNull

mav_navigateNull, mav_navigateTransX, mav_navigateTransY, mav_navigateTransZ, mav_navigateRotRight, mav_navigateRotUp, mav_navigateForwards, mav_navigateForwardsFixedUp, mav_navigateUp, mav_navigateUpFixedUp, mav_navigateRight, mav_navigateRightFixedUp, mav_navigateRoll, mav_navigatePitch, mav_navigatePitchFixedUp, mav_navigateYaw, mav_navigateYawFixedUp

## Summary

Navigation functions.

## Syntax

void mav_navigateNull(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateTransX(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateTransY(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateTransZ(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateRotRight(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateRotUp(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateForwards(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateForwardsFixedUp(MAV_viewParams *vp, float am, float ls,float as);

void mav_navigateUp(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateUpFixedUp(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateRight(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateRightFixedUp(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateRoll(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigatePitch(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigatePitchFixedUp(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateYaw(MAV_viewParams *vp, float am, float ls, float as);

void mav_navigateYawFixedUp(MAV_viewParams *vp, float am, float ls, float as);

## Description

These are the navigation functions:

- mav_navigateNull does nothing.

- mav_navigateTransX translates the eyepoint along the world x-axis by an amount `am` *`ls`.

- mav_navigateTransY translates the eyepoint along the world y-axis by an amount `am` *`ls`.

- mav_navigateTransZ translates the eyepoint along the world z-axis by an amount `am` *`ls`.

- mav_navigateRotRight rotates the view direction vectors and the eyepoint about the view right vector by amount `am` *`as`. `ls` is ignored.

- mav_navigateRotUp rotates the view direction vectors, and the eyepoint about the view up vector by amount `am` *`as`. `ls` is ignored.

- mav_navigateForwards moves the eypoint forwards along the view direction vector by an amount `am` *`ls`.

- mav_navigateForwardsFixedUp moves the eypoint along the projection of the view vector onto the place normal to the global up vector, by an amount `am` *`ls`.

- mav_navigateUp moves the eypoint along the view up vector by an amount `am` *`ls`.

- mav_navigateUpFixedUp moves the eypoint along the world "up" vector by an amount `am` *`ls`.

- mav_navigateRight moves the eypoint along the view right vector by an amount `am` *`ls`.

- mav_navigateRightFixedUp moves the eypoint along the projection of the view right vector onto the place normal to the global up vector by an amount `am` *`ls`.

- mav_navigateRoll rotates the view vectors about the view direction vector by an amount `am` * `as`.

- mav_navigatePitch rotates the view vectors about the view right vector by an amount `am` * `as`.

- mav_navigatePitchFixedUp rotates the view vectors about the projection of the view right vector onto the plane normal to the global up vector, by an amount `am` * `as`.

- mav_navigateYaw rotates the view vectors about the view up vector by an amount `am` * `as`.

- mav_navigateYawFixedUp rotates the view vectors about the world up vector by an amount `am` * `as`.

Back to the index page.