mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-26 01:00:36 +08:00
docs: fix @param names that do not match the declaration (#28482)
Assisted-by: Claude:claude-opus-5 Signed-off-by: Dmitry Rantovov <rantovov5@gmail.com> Co-authored-by: Dmitry Rantovov <rantovov5@gmail.com>
This commit is contained in:
1 parent
c0634f6426
commit
096f6f4387
10 files changed
+10
-10
No files matched your search
@@ -215,7 +215,7 @@ private:
|
||||
/**
|
||||
* Set the FXOS8701C mag measurement range.
|
||||
*
|
||||
* @param max_ga The measurement range of the mag is in Ga
|
||||
* @param max_g The measurement range of the mag is in Ga
|
||||
* Zero selects the maximum supported range.
|
||||
* @return OK if the value can be supported, -ERANGE otherwise.
|
||||
*/
|
||||
|
||||
@@ -227,7 +227,7 @@ private:
|
||||
/**
|
||||
* Set the LSM303D mag measurement range.
|
||||
*
|
||||
* @param max_ga The measurement range of the mag is in Ga
|
||||
* @param max_g The measurement range of the mag is in Ga
|
||||
* Zero selects the maximum supported range.
|
||||
* @return OK if the value can be supported, -ERANGE otherwise.
|
||||
*/
|
||||
|
||||
+1
-1
@@ -150,7 +150,7 @@ typedef struct {
|
||||
/**
|
||||
* CRC8 implementation for ST24 protocol
|
||||
*
|
||||
* @param prt Pointer to the data to CRC
|
||||
* @param ptr Pointer to the data to CRC
|
||||
* @param len number of bytes to accumulate in the checksum
|
||||
* @return the checksum of these bytes over len
|
||||
*/
|
||||
|
||||
@@ -96,7 +96,7 @@ private:
|
||||
|
||||
/**
|
||||
* Switch to a specific task (for normal usage)
|
||||
* @param task index to switch to
|
||||
* @param new_task_index index to switch to
|
||||
* @return 0 on success, <0 on error
|
||||
*/
|
||||
FlightTaskError switchTask(FlightTaskIndex new_task_index);
|
||||
|
||||
@@ -97,7 +97,7 @@ public:
|
||||
/**
|
||||
* Select a backend, so that future calls to write_message() only write to the selected
|
||||
* sel_backend, until unselect_write_backend() is called.
|
||||
* @param backend
|
||||
* @param sel_backend
|
||||
*/
|
||||
void select_write_backend(Backend sel_backend);
|
||||
void unselect_write_backend() { select_write_backend(BackendAll); }
|
||||
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
* @param messageName
|
||||
* This represents the uORB message name; This message name should be
|
||||
* globally unique.
|
||||
* @param msgRate
|
||||
* @param msgRateInHz
|
||||
* The max rate at which the subscriber can accept the messages. This value is unused.
|
||||
* @return
|
||||
* 0 = success; This means the messages is successfully sent to the receiver
|
||||
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
* @param messageName
|
||||
* This represents the uORB message name; This message name should be
|
||||
* globally unique.
|
||||
* @param msgRate
|
||||
* @param msgRateInHz
|
||||
* The max rate at which the subscriber can accept the messages. This parameter is unused.
|
||||
* @return
|
||||
* 0 = success; This means the messages is successfully sent to the receiver
|
||||
|
||||
@@ -131,7 +131,7 @@ private:
|
||||
/**
|
||||
* @brief Send DO_GRIPPER vehicle command with specified gripper action
|
||||
*
|
||||
* @param gripper_command GRIPPER_ACTION_GRAB or GRIPPER_ACTION_RELEASE
|
||||
* @param gripper_action GRIPPER_ACTION_GRAB or GRIPPER_ACTION_RELEASE
|
||||
*/
|
||||
bool send_gripper_vehicle_command(const int32_t gripper_action);
|
||||
|
||||
|
||||
@@ -186,7 +186,7 @@ protected:
|
||||
|
||||
/**
|
||||
* handle delay until topic can be published.
|
||||
* @param next_file_timestamp timestamp of next message to publish
|
||||
* @param next_file_time timestamp of next message to publish
|
||||
* @param timestamp_offset offset between file start time and replay start time
|
||||
* @return timestamp that the message to publish should have
|
||||
*/
|
||||
|
||||
@@ -78,7 +78,7 @@ public:
|
||||
/**
|
||||
* Set reset interval during runtime. This won't reset the integrator.
|
||||
*
|
||||
* @param reset_interval New reset time interval for the integrator in microseconds.
|
||||
* @param reset_interval_us New reset time interval for the integrator in microseconds.
|
||||
*/
|
||||
void set_reset_interval(uint32_t reset_interval_us) { _reset_interval_min = reset_interval_us * 1e-6f; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user