|
perception_interfaces 1.2.0
|
Convenience getter functions for object state members. More...
#include <perception_msgs_utils/checks.hpp>#include <perception_msgs_utils/covariance_transform.hpp>#include <perception_msgs_utils/state_getters.hpp>#include <perception_msgs_utils/state_index.hpp>#include <algorithm>#include <cmath>Go to the source code of this file.
Functions | |
| std::vector< double > | perception_msgs::object_access::getContinuousState (const ObjectState &state) |
| Get the continuous state for a given object state. | |
| template<typename T > | |
| std::vector< double > | perception_msgs::object_access::getContinuousState (const T &obj) |
| Get the continuous state for a given template object that contains an object state. | |
| std::vector< long int > | perception_msgs::object_access::getDiscreteState (const ObjectState &state) |
| Get the discrete state for a given object state. | |
| template<typename T > | |
| std::vector< long int > | perception_msgs::object_access::getDiscreteState (const T &obj) |
| Get the discrete state for a given template object that contains an object state. | |
| std::vector< double > | perception_msgs::object_access::getContinuousStateCovariance (const ObjectState &state) |
| Get the full continuous state covariance for a given object state. Empty storage yields INVALID diagonals and zero cross terms without modifying the state. | |
| template<typename T > | |
| std::vector< double > | perception_msgs::object_access::getContinuousStateCovariance (const T &obj) |
| Get the continuous state covariance for a given template object that contains an object state. | |
| double | perception_msgs::object_access::getContinuousStateCovarianceAt (const ObjectState &state, const unsigned int i, const unsigned int j) |
| Get the continuous state covariance entry (i,j) for a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getContinuousStateCovarianceAt (const T &obj, const unsigned int i, const unsigned int j) |
| Get the continuous state covariance entry (i,j) for a given template object that contains an object state. | |
| std::vector< double > | perception_msgs::object_access::getContinuousStateCovarianceDiagonal (const ObjectState &state) |
| Get the continuous state covariance diagonal for a given object state. | |
| template<typename T > | |
| std::vector< double > | perception_msgs::object_access::getContinuousStateCovarianceDiagonal (const T &obj) |
| Get the continuous state covariance diagonal for a given template object that contains an object state. | |
| gm::Point | perception_msgs::object_access::getPosition (const ObjectState &state) |
| Get the position of a given object state. | |
| template<typename T > | |
| gm::Point | perception_msgs::object_access::getPosition (const T &obj) |
| Get the position of a given template object that contains an object state. | |
| gm::Quaternion | perception_msgs::object_access::getOrientation (const ObjectState &state) |
| Get the orientation of a given object state. | |
| template<typename T > | |
| gm::Quaternion | perception_msgs::object_access::getOrientation (const T &obj) |
| Get the orientation of a given template object that contains an object state. | |
| gm::Pose | perception_msgs::object_access::getPose (const ObjectState &state) |
| Get the pose of a given object state. | |
| gm::Point | perception_msgs::object_access::getCenterPosition (const ObjectState &state) |
| Get the object's geometric center position. | |
| template<typename T > | |
| gm::Point | perception_msgs::object_access::getCenterPosition (const T &object) |
| Get the object's geometric center position. | |
| template<typename T > | |
| gm::Pose | perception_msgs::object_access::getPose (const T &obj) |
| Get the pose of a given template object that contains an object state. | |
| std::vector< double > | perception_msgs::object_access::getPoseCovariance (const ObjectState &state) |
| Get the pose covariance of a given object state. | |
| template<typename T > | |
| std::vector< double > | perception_msgs::object_access::getPoseCovariance (const T &obj) |
| Get the pose covariance of a given template object that contains an object state. | |
| gm::PoseWithCovariance | perception_msgs::object_access::getPoseWithCovariance (const ObjectState &state) |
| Get the pose with covariance of a given object state. | |
| template<typename T > | |
| gm::PoseWithCovariance | perception_msgs::object_access::getPoseWithCovariance (const T &obj) |
| Get the pose with covariance of a given template object that contains an object state. | |
| gm::Vector3 | perception_msgs::object_access::getVelocity (const ObjectState &state) |
| Get the velocity of a given object state. | |
| template<typename T > | |
| gm::Vector3 | perception_msgs::object_access::getVelocity (const T &obj) |
| Get the velocity of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getVelocityMagnitude (const ObjectState &state) |
| Get the velocity magnitude of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getVelocityMagnitude (const T &obj) |
| Get the velocity magnitude of a given template object that contains an object state. | |
| gm::Vector3 | perception_msgs::object_access::getAcceleration (const ObjectState &state) |
| Get the acceleration of a given object state. | |
| template<typename T > | |
| gm::Vector3 | perception_msgs::object_access::getAcceleration (const T &obj) |
| Get the acceleration of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getAccelerationMagnitude (const ObjectState &state) |
| Get the acceleration magnitude of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getAccelerationMagnitude (const T &obj) |
| Get the acceleration magnitude of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getRollInDeg (const ObjectState &state) |
| Get the roll in degree of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getRollInDeg (const T &obj) |
| Get the roll in degree of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getPitchInDeg (const ObjectState &state) |
| Get the pitch in degree of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getPitchInDeg (const T &obj) |
| Get the pitch in degree of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getYawInDeg (const ObjectState &state) |
| Get the yaw in degree of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getYawInDeg (const T &obj) |
| Get the yaw in degree of a given template object that contains an object state. | |
| gm::PoseWithCovariance | perception_msgs::object_access::getVelocityXYZWithCovariance (const ObjectState &state) |
| Get the velocity XYZ with covariance of a object state. | |
| template<typename T > | |
| gm::PoseWithCovariance | perception_msgs::object_access::getVelocityXYZWithCovariance (const T &obj) |
| Get the velocity XYZ with covariance of a given template object that contains an object state. | |
| gm::Vector3 | perception_msgs::object_access::getVelocityXYZ (const ObjectState &state) |
| Get the velocity XYZ of a given object state. | |
| template<typename T > | |
| gm::Vector3 | perception_msgs::object_access::getVelocityXYZ (const T &obj) |
| Get the velocity XYZ of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getVelX (const ObjectState &state) |
| Get the x-velocity of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getVelX (const T &obj) |
| Get the x-velocity of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getVelY (const ObjectState &state) |
| Get the y-velocity of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getVelY (const T &obj) |
| Get the y-velocity of a given template object that contains an object state. | |
| gm::PoseWithCovariance | perception_msgs::object_access::getAccelerationXYZWithCovariance (const ObjectState &state) |
| Get the acceleration XYZ with covariance of a given object state. | |
| template<typename T > | |
| gm::PoseWithCovariance | perception_msgs::object_access::getAccelerationXYZWithCovariance (const T &obj) |
| Get the acceleration XYZ with covariance of a given template object that contains an object state. | |
| gm::Vector3 | perception_msgs::object_access::getAccelerationXYZ (const ObjectState &state) |
| Get the acceleration XYZ of a given object state. | |
| template<typename T > | |
| gm::Vector3 | perception_msgs::object_access::getAccelerationXYZ (const T &obj) |
| Get the acceleration XYZ of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getAccX (const ObjectState &state) |
| Get the x-acceleration of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getAccX (const T &obj) |
| Get the x-acceleration of a given template object that contains an object state. | |
| double | perception_msgs::object_access::getAccY (const ObjectState &state) |
| Get the y-acceleration of a given object state. | |
| template<typename T > | |
| double | perception_msgs::object_access::getAccY (const T &obj) |
| Get the y-acceleration of a given template object that contains an object state. | |
| ObjectClassification | perception_msgs::object_access::getClassWithHighestProbability (const ObjectState &state) |
| Get the classification with highest probability of a given object state. | |
| template<typename T > | |
| ObjectClassification | perception_msgs::object_access::getClassWithHighestProbability (const T &obj) |
| Get the classification with highest probability of a given template object that contains an object state. | |
Convenience getter functions for object state members.
Definition in file convenience_state_getters.hpp.
|
inline |
Get the acceleration of a given object state.
| state |
Definition at line 414 of file convenience_state_getters.hpp.
|
inline |
Get the acceleration of a given template object that contains an object state.
| T |
| obj |
Definition at line 430 of file convenience_state_getters.hpp.
|
inline |
Get the acceleration magnitude of a given object state.
| state |
Definition at line 440 of file convenience_state_getters.hpp.
|
inline |
Get the acceleration magnitude of a given template object that contains an object state.
| T |
| obj |
Definition at line 454 of file convenience_state_getters.hpp.
|
inline |
Get the acceleration XYZ of a given object state.
| state |
Definition at line 711 of file convenience_state_getters.hpp.
|
inline |
Get the acceleration XYZ of a given template object that contains an object state.
| T |
| obj |
Definition at line 730 of file convenience_state_getters.hpp.
|
inline |
Get the acceleration XYZ with covariance of a given object state.
| state |
Definition at line 654 of file convenience_state_getters.hpp.
|
inline |
Get the acceleration XYZ with covariance of a given template object that contains an object state.
| T |
| obj |
Definition at line 701 of file convenience_state_getters.hpp.
|
inline |
Get the x-acceleration of a given object state.
| state |
Definition at line 740 of file convenience_state_getters.hpp.
|
inline |
Get the x-acceleration of a given template object that contains an object state.
| T |
| obj |
Definition at line 750 of file convenience_state_getters.hpp.
|
inline |
Get the y-acceleration of a given object state.
| state |
Definition at line 760 of file convenience_state_getters.hpp.
|
inline |
Get the y-acceleration of a given template object that contains an object state.
| T |
| obj |
Definition at line 770 of file convenience_state_getters.hpp.
|
inline |
Get the object's geometric center position.
| state | The state to get the center position from |
Definition at line 231 of file convenience_state_getters.hpp.
|
inline |
Get the object's geometric center position.
| T |
| object | The object to get the center position from |
Definition at line 253 of file convenience_state_getters.hpp.
|
inline |
Get the classification with highest probability of a given object state.
| state |
Definition at line 782 of file convenience_state_getters.hpp.
|
inline |
Get the classification with highest probability of a given template object that contains an object state.
| T |
| obj |
Definition at line 804 of file convenience_state_getters.hpp.
|
inline |
Get the continuous state for a given object state.
| state |
Definition at line 31 of file convenience_state_getters.hpp.
|
inline |
Get the continuous state for a given template object that contains an object state.
| T |
| obj |
Definition at line 44 of file convenience_state_getters.hpp.
|
inline |
Get the full continuous state covariance for a given object state. Empty storage yields INVALID diagonals and zero cross terms without modifying the state.
| state |
Definition at line 78 of file convenience_state_getters.hpp.
|
inline |
Get the continuous state covariance for a given template object that contains an object state.
| T |
| obj |
Definition at line 95 of file convenience_state_getters.hpp.
|
inline |
Get the continuous state covariance entry (i,j) for a given object state.
| state | |
| i | |
| j |
Definition at line 107 of file convenience_state_getters.hpp.
|
inline |
Get the continuous state covariance entry (i,j) for a given template object that contains an object state.
| T |
| obj | |
| i | |
| j |
Definition at line 127 of file convenience_state_getters.hpp.
|
inline |
Get the continuous state covariance diagonal for a given object state.
| state |
Definition at line 137 of file convenience_state_getters.hpp.
|
inline |
Get the continuous state covariance diagonal for a given template object that contains an object state.
| T |
| obj |
Definition at line 152 of file convenience_state_getters.hpp.
|
inline |
Get the discrete state for a given object state.
| state |
Definition at line 54 of file convenience_state_getters.hpp.
|
inline |
Get the discrete state for a given template object that contains an object state.
| T |
| obj |
Definition at line 67 of file convenience_state_getters.hpp.
|
inline |
Get the orientation of a given object state.
| state |
Definition at line 190 of file convenience_state_getters.hpp.
|
inline |
Get the orientation of a given template object that contains an object state.
| T |
| obj |
Definition at line 208 of file convenience_state_getters.hpp.
|
inline |
Get the pitch in degree of a given object state.
| state |
Definition at line 486 of file convenience_state_getters.hpp.
|
inline |
Get the pitch in degree of a given template object that contains an object state.
| T |
| obj |
Definition at line 496 of file convenience_state_getters.hpp.
|
inline |
Get the pose of a given object state.
| state |
Definition at line 218 of file convenience_state_getters.hpp.
|
inline |
Get the pose of a given template object that contains an object state.
| T |
| obj |
Definition at line 265 of file convenience_state_getters.hpp.
|
inline |
Get the pose covariance of a given object state.
| state |
Definition at line 275 of file convenience_state_getters.hpp.
|
inline |
Get the pose covariance of a given template object that contains an object state.
| T |
| obj |
Definition at line 326 of file convenience_state_getters.hpp.
|
inline |
Get the pose with covariance of a given object state.
| state |
Definition at line 337 of file convenience_state_getters.hpp.
|
inline |
Get the pose with covariance of a given template object that contains an object state.
| T |
| obj |
Definition at line 355 of file convenience_state_getters.hpp.
|
inline |
Get the position of a given object state.
| state |
Definition at line 164 of file convenience_state_getters.hpp.
|
inline |
Get the position of a given template object that contains an object state.
| T |
| obj |
Definition at line 180 of file convenience_state_getters.hpp.
|
inline |
Get the roll in degree of a given object state.
| state |
Definition at line 466 of file convenience_state_getters.hpp.
|
inline |
Get the roll in degree of a given template object that contains an object state.
| T |
| obj |
Definition at line 476 of file convenience_state_getters.hpp.
|
inline |
Get the velocity of a given object state.
| state |
Definition at line 365 of file convenience_state_getters.hpp.
|
inline |
Get the velocity of a given template object that contains an object state.
| T |
| obj |
Definition at line 381 of file convenience_state_getters.hpp.
|
inline |
Get the velocity magnitude of a given object state.
| state |
Definition at line 391 of file convenience_state_getters.hpp.
|
inline |
Get the velocity magnitude of a given template object that contains an object state.
| T |
| obj |
Definition at line 405 of file convenience_state_getters.hpp.
|
inline |
Get the velocity XYZ of a given object state.
| state |
Definition at line 585 of file convenience_state_getters.hpp.
|
inline |
Get the velocity XYZ of a given template object that contains an object state.
| T |
| obj |
Definition at line 604 of file convenience_state_getters.hpp.
|
inline |
Get the velocity XYZ with covariance of a object state.
| state |
Definition at line 526 of file convenience_state_getters.hpp.
|
inline |
Get the velocity XYZ with covariance of a given template object that contains an object state.
| T |
| obj |
Definition at line 575 of file convenience_state_getters.hpp.
|
inline |
Get the x-velocity of a given object state.
| state |
Definition at line 614 of file convenience_state_getters.hpp.
|
inline |
Get the x-velocity of a given template object that contains an object state.
| T |
| obj |
Definition at line 624 of file convenience_state_getters.hpp.
|
inline |
Get the y-velocity of a given object state.
| state |
Definition at line 634 of file convenience_state_getters.hpp.
|
inline |
Get the y-velocity of a given template object that contains an object state.
| T |
| obj |
Definition at line 644 of file convenience_state_getters.hpp.
|
inline |
Get the yaw in degree of a given object state.
| state |
Definition at line 506 of file convenience_state_getters.hpp.
|
inline |
Get the yaw in degree of a given template object that contains an object state.
| T |
| obj |
Definition at line 516 of file convenience_state_getters.hpp.