Firmware
Functions
ControlMath.cpp File Reference
#include "ControlMath.hpp"
#include <platforms/px4_defines.h>
#include <float.h>
#include <mathlib/mathlib.h>

Functions

vehicle_attitude_setpoint_s ControlMath::thrustToAttitude (const Vector3f &thr_sp, const float yaw_sp)
 
Vector2f ControlMath::constrainXY (const Vector2f &v0, const Vector2f &v1, const float &max)
 
bool ControlMath::cross_sphere_line (const Vector3f &sphere_c, const float sphere_r, const Vector3f &line_a, const Vector3f &line_b, Vector3f &res)