0.1.2 runningAngle

This commit is contained in:
rob tillaart 2021-05-28 13:43:31 +02:00
parent b8a1b07a7d
commit 3656f18941
8 changed files with 21 additions and 7 deletions

View File

@ -22,9 +22,9 @@ void setup()
test1();
test2();
test3();
}
void loop()
{
}
@ -101,6 +101,7 @@ void test2()
delay(10);
}
void test3()
{
Serial.println("\nTEST 100x ADD 10000 RANDOM ANGLES");
@ -120,4 +121,5 @@ void test3()
delay(10);
}
// -- END OF FILE --

View File

@ -0,0 +1,7 @@
compile:
# Choosing to run compilation tests on 2 different Arduino platforms
platforms:
- uno
- leonardo
# - due
# - zero

View File

@ -15,7 +15,8 @@
"type": "git",
"url": "https://github.com/RobTillaart/runningAngle.git"
},
"version":"0.1.1",
"version": "0.1.2",
"license": "MIT",
"frameworks": "arduino",
"platforms": "*"
}

View File

@ -1,5 +1,5 @@
name=runningAngle
version=0.1.1
version=0.1.2
author=Rob Tillaart <rob.tillaart@gmail.com>
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
sentence=Library to average angles by means of low pass filtering with wrapping.

View File

@ -1,15 +1,16 @@
//
// FILE: runningAngle.cpp
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// VERSION: 0.1.2
// PURPOSE: Library to average angles by means of low pass filtering with wrapping.
// URL: https://github.com/RobTillaart/runningAngle
// RELATED: https://github.com/RobTillaart/AverageAngle
//
// HISTORY:
// 0.1.0 2020-10-28 initial version (based on code of Edgar Bonet)
// 0.1.0 2020-10-28 initial version (based on code of Edgar Bonet)
// 0.1.1 2021-01-07 arduino-ci + unit test
// 0.1.2 2021-05-27 Arduino-lint
#include "runningAngle.h"
@ -57,4 +58,5 @@ float runningAngle::wrap(float angle)
return angle;
}
// -- END OF FILE --

View File

@ -2,7 +2,7 @@
//
// FILE: runningAngle.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.1
// VERSION: 0.1.2
// PURPOSE: Library to average angles by means of low pass filtering with wrapping.
@ -11,7 +11,7 @@
#include "math.h"
#define RUNNING_ANGLE_LIB_VERSION (F("0.1.1"))
#define RUNNING_ANGLE_LIB_VERSION (F("0.1.2"))
class runningAngle
@ -40,4 +40,5 @@ private:
bool _reset;
};
// -- END OF FILE --

View File

@ -38,6 +38,7 @@ unittest_setup()
{
}
unittest_teardown()
{
}