PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <distance_sensor.h>
Public Attributes | |
uint64_t | timestamp |
float | min_distance |
float | max_distance |
float | current_distance |
float | variance |
float | h_fov |
float | v_fov |
float | q [4] |
int8_t | signal_quality |
uint8_t | type |
uint8_t | id |
uint8_t | orientation |
uint8_t | _padding0 [4] |
Definition at line 70 of file distance_sensor.h.
uint8_t distance_sensor_s::_padding0[4] |
Definition at line 84 of file distance_sensor.h.
float distance_sensor_s::current_distance |
Definition at line 75 of file distance_sensor.h.
Referenced by CollisionPrevention::_addDistanceSensorData(), DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), DfISL29501Wrapper::_publish(), SRF02::collect(), TERARANGER::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), SF0X::collect(), MappyDot::collect(), BlockLocalPositionEstimator::lidarMeasure(), TerrainEstimator::measurement_update(), Simulator::publish_distance_topic(), Ekf2::Run(), MavlinkStreamDistanceSensor::send(), BlockLocalPositionEstimator::sonarMeasure(), TEST_F(), PGA460::uORB_publish_results(), and PX4Rangefinder::update().
float distance_sensor_s::h_fov |
Definition at line 77 of file distance_sensor.h.
Referenced by CollisionPrevention::_addDistanceSensorData(), Simulator::publish_distance_topic(), PX4Rangefinder::set_hfov(), and TEST_F().
uint8_t distance_sensor_s::id |
Definition at line 82 of file distance_sensor.h.
Referenced by DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), DfISL29501Wrapper::_publish(), SRF02::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), SF0X::collect(), Simulator::publish_distance_topic(), MavlinkStreamDistanceSensor::send(), and PX4Rangefinder::set_device_id().
float distance_sensor_s::max_distance |
Definition at line 74 of file distance_sensor.h.
Referenced by CollisionPrevention::_addDistanceSensorData(), DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), DfISL29501Wrapper::_publish(), SRF02::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), SF0X::collect(), BlockLocalPositionEstimator::lidarMeasure(), Simulator::publish_distance_topic(), Ekf2::Run(), MavlinkStreamDistanceSensor::send(), PX4Rangefinder::set_max_distance(), BlockLocalPositionEstimator::sonarMeasure(), TEST_F(), PGA460::uORB_publish_results(), and PX4Rangefinder::update().
float distance_sensor_s::min_distance |
Definition at line 73 of file distance_sensor.h.
Referenced by CollisionPrevention::_addDistanceSensorData(), DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), DfISL29501Wrapper::_publish(), SRF02::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), SF0X::collect(), BlockLocalPositionEstimator::lidarMeasure(), Simulator::publish_distance_topic(), Ekf2::Run(), MavlinkStreamDistanceSensor::send(), PX4Rangefinder::set_min_distance(), BlockLocalPositionEstimator::sonarMeasure(), TEST_F(), PGA460::uORB_publish_results(), and PX4Rangefinder::update().
uint8_t distance_sensor_s::orientation |
Definition at line 83 of file distance_sensor.h.
Referenced by CollisionPrevention::_adaptSetpointDirection(), DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), SRF02::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), SF0X::collect(), Simulator::publish_distance_topic(), MavlinkStreamDistanceSensor::send(), PX4Rangefinder::set_orientation(), TEST_F(), and PGA460::uORB_publish_results().
float distance_sensor_s::q[4] |
Definition at line 79 of file distance_sensor.h.
Referenced by CollisionPrevention::_adaptSetpointDirection(), and Simulator::publish_distance_topic().
int8_t distance_sensor_s::signal_quality |
Definition at line 80 of file distance_sensor.h.
Referenced by DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), DfISL29501Wrapper::_publish(), SRF02::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), SF0X::collect(), Simulator::publish_distance_topic(), Ekf2::Run(), TEST_F(), PGA460::uORB_publish_results(), and PX4Rangefinder::update().
uint64_t distance_sensor_s::timestamp |
Definition at line 72 of file distance_sensor.h.
Referenced by DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), DfISL29501Wrapper::_publish(), SRF02::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), PX4FLOW::collect(), SF0X::collect(), MavlinkReceiver::handle_message_distance_sensor(), MavlinkReceiver::handle_message_hil_optical_flow(), MavlinkReceiver::handle_message_optical_flow_rad(), TerrainEstimator::measurement_update(), Simulator::publish_distance_topic(), Ekf2::Run(), MavlinkStreamDistanceSensor::send(), TEST_F(), PGA460::uORB_publish_results(), and PX4Rangefinder::update().
uint8_t distance_sensor_s::type |
Definition at line 81 of file distance_sensor.h.
Referenced by DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), DfISL29501Wrapper::_publish(), SRF02::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), SF0X::collect(), Simulator::publish_distance_topic(), MavlinkStreamDistanceSensor::send(), TEST_F(), and PGA460::uORB_publish_results().
float distance_sensor_s::v_fov |
Definition at line 78 of file distance_sensor.h.
Referenced by Simulator::publish_distance_topic(), PX4Rangefinder::set_vfov(), and TEST_F().
float distance_sensor_s::variance |
Definition at line 76 of file distance_sensor.h.
Referenced by DfBebopRangeFinderWrapper::_publish(), DfTROneWrapper::_publish(), DfISL29501Wrapper::_publish(), SRF02::collect(), VL53LXX::collect(), Radar::collect(), MB12XX::collect(), SF1XX::collect(), SF0X::collect(), BlockLocalPositionEstimator::lidarCorrect(), Simulator::publish_distance_topic(), MavlinkStreamDistanceSensor::send(), BlockLocalPositionEstimator::sonarCorrect(), and TEST_F().