-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the StandardAccelerationOfGravitation in the Math component
- Loading branch information
1 parent
a1c4b45
commit a4af4be
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* @file Costants.h | ||
* @authors Giulio Romualdi | ||
* @copyright 2021 Istituto Italiano di Tecnologia (IIT). This software may be modified and | ||
* distributed under the terms of the GNU Lesser General Public License v2.1 or any later version. | ||
*/ | ||
|
||
#ifndef BIPEDAL_LOCOMOTION_MATH_CONSTANTS_H | ||
#define BIPEDAL_LOCOMOTION_MATH_CONSTANTS_H | ||
|
||
namespace BipedalLocomotion | ||
{ | ||
namespace Math | ||
{ | ||
/** | ||
* The standard acceleration due to gravity (or standard acceleration of free fall), sometimes | ||
* abbreviated as standard gravity, is the nominal gravitational | ||
* acceleration of an object in a vacuum near the surface of the Earth. | ||
*/ | ||
constexpr double StandardAccelerationOfGravitation = 9.80665; | ||
} // namespace Math | ||
} // namespace BipedalLocomotion | ||
|
||
#endif // BIPEDAL_LOCOMOTION_MATH_CONSTANTS_H |