mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 16:38:53 +08:00
Spelling errors (#19935)
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
#include "api/argus_def.h"
|
||||
|
||||
/*!***************************************************************************
|
||||
* @brief A printf-like function to print formated data to an debugging interface.
|
||||
* @brief A printf-like function to print formatted data to an debugging interface.
|
||||
*
|
||||
* @details Writes the C string pointed by fmt_t to an output. If format
|
||||
* includes format specifiers (subsequences beginning with %), the
|
||||
|
||||
@@ -482,10 +482,12 @@ int PGA460::print_usage(const char *reason)
|
||||
PRINT_MODULE_DESCRIPTION(
|
||||
R"DESCR_STR(
|
||||
### Description
|
||||
|
||||
Ultrasonic range finder driver that handles the communication with the device and publishes the distance via uORB.
|
||||
|
||||
### Implementation
|
||||
This driver is implented as a NuttX task. This Implementation was chosen due to the need for polling on a message
|
||||
|
||||
This driver is implemented as a NuttX task. This Implementation was chosen due to the need for polling on a message
|
||||
via UART, which is not supported in the work_queue. This driver continuously takes range measurements while it is
|
||||
running. A simple algorithm to detect false readings is implemented at the driver levelin an attemptto improve
|
||||
the quality of data that is being published. The driver will not publish data at all if it deems the sensor data
|
||||
|
||||
@@ -286,7 +286,7 @@ public:
|
||||
int read_eeprom();
|
||||
|
||||
/**
|
||||
* @brief Writes the user defined paramaters to device EEPROM.
|
||||
* @brief Writes the user defined parameters to device EEPROM.
|
||||
* @return Returns true if the EEPROM was successfully written to.
|
||||
*/
|
||||
int write_eeprom();
|
||||
@@ -341,7 +341,7 @@ private:
|
||||
int initialize_device_settings();
|
||||
|
||||
/**
|
||||
* @brief Writes the user defined paramaters to device register map.
|
||||
* @brief Writes the user defined parameters to device register map.
|
||||
* @return Returns true if the thresholds were successfully written.
|
||||
*/
|
||||
int initialize_thresholds();
|
||||
|
||||
@@ -71,7 +71,7 @@ using namespace time_literals;
|
||||
|
||||
/**
|
||||
* Assume standard deviation to be equal to sensor resolution.
|
||||
* Static bench tests have shown that the sensor ouput does
|
||||
* Static bench tests have shown that the sensor output does
|
||||
* not vary if the unit is not moved.
|
||||
*/
|
||||
#define SENS_VARIANCE 0.045f * 0.045f
|
||||
|
||||
Reference in New Issue
Block a user