#include <Coordinate.h>
Definition at line 1228 of file Coordinate.h.
◆ Base
◆ derived_type
◆ StampedAngularAcceleration() [1/3]
◆ StampedAngularAcceleration() [2/3]
◆ StampedAngularAcceleration() [3/3]
gams::pose::StampedAngularAcceleration::StampedAngularAcceleration |
( |
| ) |
|
|
default |
◆ approximately_equal()
template<typename Impl >
template<typename Base2 >
Tests if this Coordinate is within epsilon in distance (as defined by this Coordinate's reference frame's distance metric).
If the other Coordinate is in a different reference frame, it is first copied, and converted to this Coordinate's reference frame.
- Parameters
-
other | the other Coordinate to test against |
epsilon | the maximum distance permitted to return true |
- Returns
- true if the distance is less than or equal to epsilon
Definition at line 208 of file Framed.h.
◆ distance_to()
Calculate distance from this Coordinate to a target.
If the target is in another reference frame, this and the target will be copied, and converted to their closest common frame.
Requres "ReferenceFrame.h"
- Parameters
-
target | the target Coordinate to calculate distance to |
- Returns
- the distance according to the distance metric in the common frame, for CoordType. Typically, return will be meters or degrees.
- Exceptions
-
unrelated_frames | thrown if the target's reference frame is not part of the same tree as the current one. |
undefined_transform | thrown if no conversion between two frames along the conversion path has been defined. |
◆ frame() [1/2]
◆ frame() [2/2]
Setter for the ReferenceFrame this Coordinate belongs to.
Any further calculations using this Coordinate will use this frame.
Not thread-safe.
- Parameters
-
new_frame | the frame the Coordinate will now belong to |
- Returns
- the old frame
Definition at line 190 of file Framed.h.
◆ nanos() [1/2]
Get time as nanos since std::steady_clock epoch.
Definition at line 174 of file Stamped.h.
◆ nanos() [2/2]
Set time as nanos since std::steady_clock epoch.
Definition at line 181 of file Stamped.h.
◆ normalize()
Reduces this Coordinate to it's normalized form, should one exist.
Typically useful for Coordinate types which incorporate angles.
Requres "ReferenceFrame.h"
◆ operator AngularAcceleration()
◆ operator AngularAccelerationVector()
◆ secs() [1/2]
Get time as seconds since std::steady_clock epoch.
Definition at line 188 of file Stamped.h.
◆ secs() [2/2]
Set time as seconds since std::steady_clock epoch.
Definition at line 195 of file Stamped.h.
◆ time() [1/2]
Get time as std::chrono based TimeValue.
Definition at line 167 of file Stamped.h.
◆ time() [2/2]
Set time from std::chrono based TimeValue.
- Returns
- the new time
Definition at line 171 of file Stamped.h.
◆ transform_this_to()
Transform this coordinate, in place, to a new reference frame.
Requres "ReferenceFrame.h"
- Parameters
-
new_frame | the frame to transform to |
- Exceptions
-
unrelated_frames | thrown if the new reference frame is not part of the same tree as the current one. |
undefined_transform | thrown if no conversion between two frames along the conversion path has been defined. |
◆ transform_to()
Copy and transform this coordinate to a new reference frame.
Requres "ReferenceFrame.h"
- Parameters
-
new_frame | the frame to transform to |
- Returns
- the new coordinate in the new frame
- Exceptions
-
unrelated_frames | thrown if the new reference frame is not part of the same tree as the current one. |
undefined_transform | thrown if no conversion between two frames along the conversion path has been defined. |
◆ frame_
◆ time_
◆ type_name
constexpr const char* gams::pose::StampedAngularAcceleration::type_name = "Stamped" "AngularAcceleration" |
|
staticconstexpr |
The documentation for this class was generated from the following file: