clang-tidy modernize-redundant-void-arg

This commit is contained in:
Daniel Agar
2017-01-28 20:49:47 -05:00
parent e927f3e040
commit 6631e72d6f
33 changed files with 126 additions and 124 deletions
@@ -2854,7 +2854,7 @@ bool AttPosEKF::FilterHealthy()
return true;
}
void AttPosEKF::ResetPosition(void)
void AttPosEKF::ResetPosition()
{
if (staticMode) {
states[7] = 0;
@@ -2877,7 +2877,7 @@ void AttPosEKF::ResetPosition(void)
P[8][8] = P[7][7];
}
void AttPosEKF::ResetHeight(void)
void AttPosEKF::ResetHeight()
{
// write to the state vector
states[9] = -hgtMea;
@@ -2892,7 +2892,7 @@ void AttPosEKF::ResetHeight(void)
P[6][6] = sq(0.7f);
}
void AttPosEKF::ResetVelocity(void)
void AttPosEKF::ResetVelocity()
{
if (staticMode) {
states[4] = 0.0f;
@@ -74,12 +74,12 @@ void ekf_debug(const char *fmt, ...) { while(0){} }
/* we don't want to pull in the standard lib just to swap two floats */
void swap_var(float &d1, float &d2);
float Vector3f::length(void) const
float Vector3f::length() const
{
return sqrt(x*x + y*y + z*z);
}
void Vector3f::zero(void)
void Vector3f::zero()
{
x = 0.0f;
y = 0.0f;