mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 13:33:34 +08:00
commander: More docs-only changes in headers.
This commit is contained in:
@@ -1,9 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 PX4 Development Team. All rights reserved.
|
* Copyright (c) 2013, 2014 PX4 Development Team. All rights reserved.
|
||||||
* Author: Thomas Gubler <thomasgubler@student.ethz.ch>
|
|
||||||
* Julian Oes <joes@student.ethz.ch>
|
|
||||||
* Anton Babushkin <anton.babushkin@me.com>
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -37,6 +34,11 @@
|
|||||||
/**
|
/**
|
||||||
* @file commander_helper.cpp
|
* @file commander_helper.cpp
|
||||||
* Commander helper functions implementations
|
* Commander helper functions implementations
|
||||||
|
*
|
||||||
|
* @author Thomas Gubler <thomasgubler@student.ethz.ch>
|
||||||
|
* @author Julian Oes <julian@oes.ch>
|
||||||
|
* @author Anton Babushkin <anton.babushkin@me.com>
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
*
|
*
|
||||||
* Copyright (C) 2013 PX4 Development Team. All rights reserved.
|
* Copyright (c) 2013, 2014 PX4 Development Team. All rights reserved.
|
||||||
* Author: Thomas Gubler <thomasgubler@student.ethz.ch>
|
|
||||||
* Julian Oes <joes@student.ethz.ch>
|
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@@ -36,6 +34,9 @@
|
|||||||
/**
|
/**
|
||||||
* @file commander_helper.h
|
* @file commander_helper.h
|
||||||
* Commander helper functions definitions
|
* Commander helper functions definitions
|
||||||
|
*
|
||||||
|
* @author Thomas Gubler <thomasgubler@student.ethz.ch>
|
||||||
|
* @author Julian Oes <julian@oes.ch>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef COMMANDER_HELPER_H_
|
#ifndef COMMANDER_HELPER_H_
|
||||||
@@ -77,6 +78,8 @@ void rgbled_set_pattern(rgbled_pattern_t *pattern);
|
|||||||
* Use integral of current if battery capacity known (BAT_CAPACITY parameter set),
|
* Use integral of current if battery capacity known (BAT_CAPACITY parameter set),
|
||||||
* else use simple estimate based on voltage.
|
* else use simple estimate based on voltage.
|
||||||
*
|
*
|
||||||
|
* @param voltage the current battery voltage
|
||||||
|
* @param discharged the discharged capacity
|
||||||
* @return the estimated remaining capacity in 0..1
|
* @return the estimated remaining capacity in 0..1
|
||||||
*/
|
*/
|
||||||
float battery_remaining_estimate_voltage(float voltage, float discharged);
|
float battery_remaining_estimate_voltage(float voltage, float discharged);
|
||||||
|
|||||||
Reference in New Issue
Block a user