$search
#include <Object.h>
Public Types | |
typedef boost::shared_ptr < Object const > | ConstPtr |
typedef worldmodel_msgs::ObjectState::_state_type | State |
Public Member Functions | |
void | addSupport (float support) |
const std::string & | getClassId () const |
const Eigen::Matrix3f & | getCovariance () const |
std_msgs::Header | getHeader () const |
const std::string & | getName () const |
const std::string & | getObjectId () const |
const worldmodel_msgs::Object & | getObjectMessage () const |
const geometry_msgs::Pose & | getPose () const |
const geometry_msgs::PoseWithCovariance & | getPoseWithCovariance () const |
const Eigen::Vector3f & | getPosition () const |
State | getState () const |
float | getSupport () const |
void | getVisualization (visualization_msgs::MarkerArray &markers) const |
void | intersect (const Eigen::Vector3f &position, const Eigen::Matrix3f &covariance, float support) |
Object (const std::string class_id="", const std::string object_id="") | |
void | setCovariance (const Eigen::Matrix3f &covariance) |
void | setHeader (const std_msgs::Header &header) |
void | setName (const std::string &name) |
void | setOrientation (const geometry_msgs::Quaternion &orientation) |
void | setPose (const geometry_msgs::Pose &pose) |
void | setPose (const geometry_msgs::PoseWithCovariance &pose) |
void | setPosition (const Eigen::Vector3f &position) |
void | setPosition (const geometry_msgs::Point &position) |
void | setState (const State &state) |
void | setSupport (float support) |
void | update (const Eigen::Vector3f &position, const Eigen::Matrix3f &covariance, float support) |
virtual | ~Object () |
Static Public Member Functions | |
static void | reset () |
static void | setNamespace (const std::string &ns) |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef boost::shared_ptr < Object > | Ptr |
Private Attributes | |
Eigen::Matrix3f | covariance |
ros::NodeHandle | nh |
worldmodel_msgs::Object | object |
Eigen::Vector3f | position |
Static Private Attributes | |
static std::map< std::string, unsigned int > | object_count |
static std::string | object_namespace |
Definition at line 16 of file Object.h.
typedef boost::shared_ptr<Object const> object_tracker::Object::ConstPtr |
object_tracker::Object::Object | ( | const std::string | class_id = "" , |
|
const std::string | object_id = "" | |||
) |
Definition at line 7 of file Object.cpp.
object_tracker::Object::~Object | ( | ) | [virtual] |
Definition at line 24 of file Object.cpp.
void object_tracker::Object::addSupport | ( | float | support | ) | [inline] |
const std::string& object_tracker::Object::getClassId | ( | ) | const [inline] |
const Eigen::Matrix3f & object_tracker::Object::getCovariance | ( | ) | const |
Definition at line 44 of file Object.cpp.
std_msgs::Header object_tracker::Object::getHeader | ( | ) | const [inline] |
const std::string& object_tracker::Object::getName | ( | ) | const [inline] |
const std::string& object_tracker::Object::getObjectId | ( | ) | const [inline] |
const worldmodel_msgs::Object& object_tracker::Object::getObjectMessage | ( | ) | const [inline] |
const geometry_msgs::Pose& object_tracker::Object::getPose | ( | ) | const [inline] |
const geometry_msgs::PoseWithCovariance& object_tracker::Object::getPoseWithCovariance | ( | ) | const [inline] |
const Eigen::Vector3f & object_tracker::Object::getPosition | ( | ) | const |
Definition at line 31 of file Object.cpp.
void object_tracker::Object::getVisualization | ( | visualization_msgs::MarkerArray & | markers | ) | const |
Definition at line 89 of file Object.cpp.
void object_tracker::Object::intersect | ( | const Eigen::Vector3f & | position, | |
const Eigen::Matrix3f & | covariance, | |||
float | support | |||
) |
Definition at line 62 of file Object.cpp.
void object_tracker::Object::reset | ( | ) | [static] |
Definition at line 27 of file Object.cpp.
void object_tracker::Object::setCovariance | ( | const Eigen::Matrix3f & | covariance | ) |
Definition at line 48 of file Object.cpp.
void object_tracker::Object::setHeader | ( | const std_msgs::Header & | header | ) | [inline] |
void object_tracker::Object::setName | ( | const std::string & | name | ) | [inline] |
void object_tracker::Object::setNamespace | ( | const std::string & | ns | ) | [static] |
Definition at line 140 of file Object.cpp.
void object_tracker::Object::setOrientation | ( | const geometry_msgs::Quaternion & | orientation | ) | [inline] |
void object_tracker::Object::setPose | ( | const geometry_msgs::Pose & | pose | ) | [inline] |
void object_tracker::Object::setPose | ( | const geometry_msgs::PoseWithCovariance & | pose | ) | [inline] |
void object_tracker::Object::setPosition | ( | const Eigen::Vector3f & | position | ) |
Definition at line 35 of file Object.cpp.
void object_tracker::Object::setPosition | ( | const geometry_msgs::Point & | position | ) | [inline] |
void object_tracker::Object::setState | ( | const State & | state | ) | [inline] |
void object_tracker::Object::setSupport | ( | float | support | ) | [inline] |
void object_tracker::Object::update | ( | const Eigen::Vector3f & | position, | |
const Eigen::Matrix3f & | covariance, | |||
float | support | |||
) |
Definition at line 77 of file Object.cpp.
Eigen::Matrix3f object_tracker::Object::covariance [private] |
ros::NodeHandle object_tracker::Object::nh [private] |
std::map< std::string, unsigned int > object_tracker::Object::object_count [static, private] |
std::string object_tracker::Object::object_namespace [static, private] |
Eigen::Vector3f object_tracker::Object::position [private] |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef boost::shared_ptr<Object> object_tracker::Object::Ptr |