PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Adapter / shim layer for system calls needed by ECL. More...
#include <cstdio>
#include <cstdint>
#include <math.h>
Go to the source code of this file.
Macros | |
#define | ecl_absolute_time() (0) |
#define | ecl_elapsed_time(t) (*t * 0UL) |
#define | ECL_INFO printf |
#define | ECL_WARN printf |
#define | ECL_ERR printf |
#define | ECL_INFO_TIMESTAMPED printf |
#define | ECL_WARN_TIMESTAMPED printf |
#define | ECL_ERR_TIMESTAMPED printf |
#define | ISFINITE(x) __builtin_isfinite(x) |
Typedefs | |
using | ecl_abstime = uint64_t |
Adapter / shim layer for system calls needed by ECL.
Definition in file ecl.h.
#define ecl_absolute_time | ( | ) | (0) |
Definition at line 85 of file ecl.h.
Referenced by TECS::_update_speed_states(), ECL_YawController::control_attitude(), ECL_YawController::control_bodyrate(), ECL_RollController::control_bodyrate(), ECL_WheelController::control_bodyrate(), ECL_PitchController::control_bodyrate(), map_projection_init(), DataValidator::print(), TECS::update_pitch_throttle(), and TECS::update_vehicle_state_estimates().
#define ecl_elapsed_time | ( | t | ) | (*t * 0UL) |
Definition at line 86 of file ecl.h.
Referenced by ECL_YawController::control_attitude(), ECL_YawController::control_bodyrate(), ECL_RollController::control_bodyrate(), ECL_WheelController::control_bodyrate(), and ECL_PitchController::control_bodyrate().
#define ECL_ERR printf |
Definition at line 92 of file ecl.h.
Referenced by Ekf::controlFusionModes().
#define ECL_ERR_TIMESTAMPED printf |
Definition at line 95 of file ecl.h.
Referenced by Ekf::fuseAirspeed(), Ekf::fuseGpsAntYaw(), Ekf::fuseHeading(), Ekf::fuseMag(), Ekf::fuseSideslip(), EstimatorInterface::initialise_interface(), EstimatorInterface::setAirspeedData(), EstimatorInterface::setAuxVelData(), EstimatorInterface::setBaroData(), EstimatorInterface::setExtVisionData(), EstimatorInterface::setGpsData(), EstimatorInterface::setIMUData(), EstimatorInterface::setMagData(), EstimatorInterface::setOpticalFlowData(), and EstimatorInterface::setRangeData().
#define ECL_INFO printf |
Definition at line 90 of file ecl.h.
Referenced by Ekf::controlFusionModes(), DataValidatorGroup::print(), DataValidator::print(), and EstimatorInterface::print_status().
#define ECL_INFO_TIMESTAMPED printf |
Definition at line 93 of file ecl.h.
Referenced by Ekf::collect_gps(), Ekf::controlExternalVisionFusion(), Ekf::controlGpsFusion(), and Ekf::initialiseFilter().
#define ECL_WARN printf |
Definition at line 91 of file ecl.h.
Referenced by ECL_YawController::control_attitude(), ECL_PitchController::control_attitude(), and ECL_YawController::control_attitude_impl_openloop().
#define ECL_WARN_TIMESTAMPED printf |
Definition at line 94 of file ecl.h.
Referenced by Ekf::controlGpsFusion(), Ekf::controlHeightSensorTimeouts(), Ekf::controlVelPosFusion(), Ekf::fixCovarianceErrors(), and Ekf::realignYawGPS().
#define ISFINITE | ( | x | ) | __builtin_isfinite(x) |
Definition at line 100 of file ecl.h.
Referenced by TECS::_update_height_setpoint(), TECS::_update_speed_states(), EstimatorInterface::attitude_valid(), Ekf::calcOptFlowBodyRateComp(), ECL_Controller::constrain_airspeed(), ECL_WheelController::control_attitude(), ECL_RollController::control_attitude(), ECL_PitchController::control_attitude(), ECL_YawController::control_attitude_impl_openloop(), ECL_YawController::control_bodyrate(), ECL_RollController::control_bodyrate(), ECL_WheelController::control_bodyrate(), ECL_PitchController::control_bodyrate(), Ekf::controlGpsFusion(), Ekf::fuseGpsAntYaw(), Ekf::resetGpsAntYaw(), WindEstimator::run_sanity_checks(), EstimatorInterface::setGpsData(), ECL_L1_Pos_Controller::update_roll_setpoint(), and TECS::update_vehicle_state_estimates().
using ecl_abstime = uint64_t |