mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.2.1 AverageAngle
This commit is contained in:
parent
1ec5fc8bd3
commit
e7befae33b
@ -1,9 +1,9 @@
|
||||
//
|
||||
// FILE: AverageAngle.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.2.0
|
||||
// VERSION: 0.2.1
|
||||
// DATE: 2017-11-21
|
||||
// PURPOSE: class for averaging angles
|
||||
// PURPOSE: Arduino library to calculate correctly the average of multiple angles.
|
||||
// URL: https://github.com/RobTillaart/AverageAngle
|
||||
|
||||
|
||||
|
@ -2,9 +2,9 @@
|
||||
//
|
||||
// FILE: AverageAngle.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.2.0
|
||||
// VERSION: 0.2.1
|
||||
// DATE: 2017-11-21
|
||||
// PURPOSE: class for averaging angles.
|
||||
// PURPOSE: Arduino library to calculate correctly the average of multiple angles.
|
||||
|
||||
|
||||
#include "math.h"
|
||||
|
@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.2.1] - 2023-10-17
|
||||
- update readme.md
|
||||
- update keywords.txt
|
||||
|
||||
|
||||
## [0.2.0] - 2023-02-01
|
||||
- add experimental OVERFLOW detection in **add()**
|
||||
- add **lastError()**
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/AverageAngle/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/AverageAngle/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/AverageAngle/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/AverageAngle/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/AverageAngle/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/AverageAngle.svg)](https://github.com/RobTillaart/AverageAngle/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/AverageAngle/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/AverageAngle.svg?maxAge=3600)](https://github.com/RobTillaart/AverageAngle/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/AverageAngle.svg)](https://registry.platformio.org/libraries/robtillaart/AverageAngle)
|
||||
|
||||
|
||||
# AverageAngle
|
||||
@ -165,7 +168,7 @@ just change the type runtime.
|
||||
#### Must
|
||||
|
||||
- investigate if and how the internal math can be made more robust against overflow.
|
||||
- use double iso float (will work on certain platforms) (must)
|
||||
- use double instead of float (will work on certain platforms) (must) => 0.3.0
|
||||
- uint32_t?
|
||||
- accuracy threshold depends on float/double usage. (sizeof(double)==8)
|
||||
- threshold depends on the units of length.
|
||||
@ -193,3 +196,12 @@ just change the type runtime.
|
||||
|
||||
#### Wont
|
||||
|
||||
|
||||
## Support
|
||||
|
||||
If you appreciate my libraries, you can support the development and maintenance.
|
||||
Improve the quality of the libraries by providing issues and Pull Requests, or
|
||||
donate through PayPal or GitHub sponsors.
|
||||
|
||||
Thank you,
|
||||
|
||||
|
@ -26,7 +26,9 @@ DEGREES LITERAL1
|
||||
RADIANS LITERAL1
|
||||
GRADIANS LITERAL1
|
||||
|
||||
GRAD_TO_RAD LITERAL1
|
||||
RAD_TO_GRAD LITERAL1
|
||||
|
||||
AVERAGE_ANGLE_OK LITERAL1
|
||||
AVERAGE_ANGLE_OVERFLOW LITERAL1
|
||||
AVERAGE_ANGLE_SINGULARITY LITERAL1
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "AverageAngle",
|
||||
"keywords": "Angle,average,RADIANS,DEGREES,GRADIANS,heading",
|
||||
"description": "Library to average angles.",
|
||||
"description": "Arduino library to calculate correctly the average of multiple angles.",
|
||||
"authors":
|
||||
[
|
||||
{
|
||||
@ -15,9 +15,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/AverageAngle.git"
|
||||
},
|
||||
"version": "0.2.0",
|
||||
"version": "0.2.1",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "AverageAngle.h"
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
name=AverageAngle
|
||||
version=0.2.0
|
||||
version=0.2.1
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Library to average angles correctly around 0.
|
||||
sentence=Arduino library to calculate correctly the average of multiple angles.
|
||||
paragraph= degrees radians gradians
|
||||
category=Data Processing
|
||||
url=https://github.com/RobTillaart/AverageAngle
|
||||
|
Loading…
x
Reference in New Issue
Block a user