Spelling errors (#19935)

This commit is contained in:
Hamish Willee
2022-07-27 14:33:16 +10:00
committed by GitHub
parent 97f632a408
commit e6eed43648
97 changed files with 170 additions and 158 deletions
+3 -3
View File
@@ -49,7 +49,7 @@ float calc_IAS_corrected(enum AIRSPEED_COMPENSATION_MODEL pmodel, enum AIRSPEED_
float tube_len, float tube_dia_mm, float differential_pressure, float pressure_ambient, float temperature_celsius)
{
if (!PX4_ISFINITE(temperature_celsius)) {
temperature_celsius = 15.f; // ICAO Standard Atmosphere 15 degrees celcius
temperature_celsius = 15.f; // ICAO Standard Atmosphere 15 degrees Celsius
}
// air density in kg/m3
@@ -189,7 +189,7 @@ float calc_IAS(float differential_pressure)
float calc_TAS_from_CAS(float speed_calibrated, float pressure_ambient, float temperature_celsius)
{
if (!PX4_ISFINITE(temperature_celsius)) {
temperature_celsius = 15.f; // ICAO Standard Atmosphere 15 degrees celcius
temperature_celsius = 15.f; // ICAO Standard Atmosphere 15 degrees Celsius
}
return speed_calibrated * sqrtf(CONSTANTS_AIR_DENSITY_SEA_LEVEL_15C / get_air_density(pressure_ambient,
@@ -222,7 +222,7 @@ float calc_TAS(float total_pressure, float static_pressure, float temperature_ce
float get_air_density(float static_pressure, float temperature_celsius)
{
if (!PX4_ISFINITE(temperature_celsius)) {
temperature_celsius = 15.f; // ICAO Standard Atmosphere 15 degrees celcius
temperature_celsius = 15.f; // ICAO Standard Atmosphere 15 degrees Celsius
}
return static_pressure / (CONSTANTS_AIR_GAS_CONST * (temperature_celsius - CONSTANTS_ABSOLUTE_NULL_CELSIUS));
+4 -4
View File
@@ -92,7 +92,7 @@ __EXPORT float calc_IAS(float differential_pressure);
*
* @param speed_equivalent current calibrated airspeed
* @param pressure_ambient pressure at the side of the tube/airplane
* @param temperature_celsius air temperature in degrees celcius
* @param temperature_celsius air temperature in degrees Celsius
* @return TAS in m/s
*/
__EXPORT float calc_TAS_from_CAS(float speed_indicated, float pressure_ambient,
@@ -116,7 +116,7 @@ __EXPORT float calc_CAS_from_IAS(float speed_indicated, float scale);
*
* @param total_pressure pressure inside the pitot/prandtl tube
* @param static_pressure pressure at the side of the tube/airplane
* @param temperature_celsius air temperature in degrees celcius
* @param temperature_celsius air temperature in degrees Celsius
* @return true airspeed in m/s
*/
__EXPORT float calc_TAS(float total_pressure, float static_pressure, float temperature_celsius);
@@ -125,7 +125,7 @@ __EXPORT float calc_TAS(float total_pressure, float static_pressure, float tempe
* Calculates air density.
*
* @param static_pressure ambient pressure in millibar
* @param temperature_celcius air / ambient temperature in celcius
* @param temperature_celcius air / ambient temperature in Celsius
*/
__EXPORT float get_air_density(float static_pressure, float temperature_celsius);
@@ -135,7 +135,7 @@ __EXPORT float get_air_density(float static_pressure, float temperature_celsius)
*
* @param speed_true current true airspeed
* @param pressure_ambient pressure at the side of the tube/airplane
* @param temperature_celsius air temperature in degrees celcius
* @param temperature_celsius air temperature in degrees Celsius
* @return CAS in m/s
*/
__EXPORT float calc_CAS_from_TAS(float speed_true, float pressure_ambient,
+1 -1
View File
@@ -43,7 +43,7 @@ parameters:
description:
short: Voltage drop per cell on full throttle
long: |
This implicitely defines the internal resistance
This implicitly defines the internal resistance
to maximum current ratio for battery 1 and assumes linearity.
A good value to use is the difference between the
5C and 20-25C load. Not used if BAT${i}_R_INTERNAL is
+2 -2
View File
@@ -69,7 +69,7 @@ public:
int populate_smbus_data(battery_status_s &msg);
virtual void RunImpl(); // Can be overriden by derived implimentation
virtual void RunImpl(); // Can be overridden by derived implimentation
virtual void custom_method(const BusCLIArguments &cli) = 0; //Has be overriden by derived implimentation
@@ -81,7 +81,7 @@ public:
/**
* @brief Read info from battery on startup.
* @return Returns PX4_OK on success, PX4_ERROR on failure. Can be overriden by derived implimentation
* @return Returns PX4_OK on success, PX4_ERROR on failure. Can be overridden by derived implimentation
*/
virtual int get_startup_info();
+1 -1
View File
@@ -76,7 +76,7 @@ public:
}
/**
* get maxium time between two consecutive calls to update() in us.
* get maximum time between two consecutive calls to update() in us.
*/
int maximum_update_interval() const
{
+1 -1
View File
@@ -1048,7 +1048,7 @@ int parameter_flashfs_init(sector_descriptor_t *fconfig, uint8_t *buffer, uint16
flash_entry_header_t *pf = find_entry(parameters_token);
/* No paramaters */
/* No parameters */
if (pf == NULL) {
size_t total_size = size + sizeof(flash_entry_header_t);
+1 -1
View File
@@ -33,7 +33,7 @@
############################################################################
#
# PX4 paramaters processor (main executable file)
# PX4 parameters processor (main executable file)
#
# This tool scans the PX4 source code for declarations of tunable parameters
# and outputs the list in various formats.
+2 -2
View File
@@ -146,7 +146,7 @@ PARAM_DEFINE_INT32(SYS_CAL_BARO, 0);
* Required temperature rise during thermal calibration
*
* A temperature increase greater than this value is required during calibration.
* Calibration will complete for each sensor when the temperature increase above the starting temeprature exceeds the value set by SYS_CAL_TDEL.
* Calibration will complete for each sensor when the temperature increase above the starting temperature exceeds the value set by SYS_CAL_TDEL.
* If the temperature rise is insufficient, the calibration will continue indefinitely and the board will need to be repowered to exit.
*
* @unit celcius
@@ -223,7 +223,7 @@ PARAM_DEFINE_INT32(SYS_HAS_BARO, 1);
*
* If set to the number of distance sensors, the preflight check will check
* for their presence and valid data publication. Disable with 0 if no distance
* sensor present or to disbale the preflight check.
* sensor present or to disable the preflight check.
*
* @reboot_required true
*
+2 -2
View File
@@ -83,8 +83,8 @@
*/
// ordinal name tune interruptable* hint
// * Repeated tunes should always be defined as interruptable, if not an explict 'tone_control stop' is needed
// ordinal name tune interruptible* hint
// * Repeated tunes should always be defined as interruptible, if not an explicit 'tone_control stop' is needed
PX4_DEFINE_TUNE(0, CUSTOM, "", true /* empty to align with the index */)
PX4_DEFINE_TUNE(1, STARTUP, "MFT240L8 O4aO5dc O4aO5dc O4aO5dc L16dcdcdcdc", true /* startup tune */)
PX4_DEFINE_TUNE(2, ERROR_TUNE, "MBT200a8a8a8PaaaP", true /* ERROR tone */)
+1 -1
View File
@@ -92,7 +92,7 @@ public:
* or the tune being already played is a repeated tune.
* @param tune_control struct containig the uORB message
* @return return ControlResult::InvalidTune if the default tune does not exist,
* ControlResult::WouldInterrupt if tune was already playing and not interruptable,
* ControlResult::WouldInterrupt if tune was already playing and not interruptible,
* ControlResult::AlreadyPlaying if same tune was already playing,
* ControlResult::Success if new tune was set.
*/