mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
RPMCapture: fix copyright year, improve comments
This commit is contained in:
parent
f4c8e0e35f
commit
267fa06da8
@ -1,4 +1,4 @@
|
||||
uint64 timestamp # time since system start (microseconds)
|
||||
|
||||
float32 rpm_estimate # filtered revolutions per minute
|
||||
float32 rpm_raw # measured rpm
|
||||
float32 rpm_raw
|
||||
|
||||
@ -81,7 +81,7 @@ CameraCapture::CameraCapture() :
|
||||
int32_t function;
|
||||
|
||||
if (function_handle != PARAM_INVALID && param_get(function_handle, &function) == 0) {
|
||||
if (function == 2032) { // Camera_Capture
|
||||
if (function == 2032) { // Camera_Capture see mixer_module/output_functions.yaml parameter metadata definition
|
||||
_capture_channel = i;
|
||||
}
|
||||
}
|
||||
|
||||
@ -51,7 +51,7 @@ void CameraInterface::get_pins()
|
||||
int32_t function;
|
||||
|
||||
if (function_handle != PARAM_INVALID && param_get(function_handle, &function) == 0) {
|
||||
if (function == 2000) { // Camera_Trigger
|
||||
if (function == 2000) { // Camera_Trigger see mixer_module/output_functions.yaml parameter metadata definition
|
||||
_pins[pin_index++] = i;
|
||||
}
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@ bool PPSCapture::init()
|
||||
int32_t function;
|
||||
|
||||
if (function_handle != PARAM_INVALID && param_get(function_handle, &function) == 0) {
|
||||
if (function == 2064) { // PPS_Input
|
||||
if (function == 2064) { // PPS_Input see mixer_module/output_functions.yaml parameter metadata definition
|
||||
_channel = i;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
############################################################################
|
||||
#
|
||||
# Copyright (c) 2021 PX4 Development Team. All rights reserved.
|
||||
# Copyright (c) 2024 PX4 Development Team. All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
# modification, are permitted provided that the following conditions
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
*
|
||||
* Copyright (c) 2021 PX4 Development Team. All rights reserved.
|
||||
* Copyright (c) 2024 PX4 Development Team. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@ -66,7 +66,7 @@ bool RPMCapture::init()
|
||||
int32_t function;
|
||||
|
||||
if (function_handle != PARAM_INVALID && param_get(function_handle, &function) == 0) {
|
||||
if (function == 2070) { // RPM_Input
|
||||
if (function == 2070) { // RPM_Input see mixer_module/output_functions.yaml parameter metadata definition
|
||||
_channel = i;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
*
|
||||
* Copyright (c) 2021 PX4 Development Team. All rights reserved.
|
||||
* Copyright (c) 2024 PX4 Development Team. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
*
|
||||
* Copyright (c) 2021 PX4 Development Team. All rights reserved.
|
||||
* Copyright (c) 2024 PX4 Development Team. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user