RPMCapture: fix copyright year, improve comments

This commit is contained in:
Matthias Grob 2024-12-12 12:08:39 +01:00
parent f4c8e0e35f
commit 267fa06da8
8 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -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

View File

@ -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;
}
}

View File

@ -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

View File

@ -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