37namespace perception_msgs {
39namespace object_access {
48 state.model_id = model_id;
Convenience setter functions for objects state members.
void setContinuousStateCovarianceDiagonal(ObjectState &state, const std::vector< double > val)
Set the continuous state covariance diagonal of a given object state.
void setContinuousState(ObjectState &state, const std::vector< double > &val)
Set the continuous state of a given object state.
void setDiscreteState(ObjectState &state, const std::vector< long int > &val)
Set the discrete state of a given object state.
void setContinuousStateCovariance(ObjectState &state, const std::vector< double > &val)
Set the continuous state covariance of a given object state.
void initializeState(ObjectState &state, const unsigned char &model_id)
This function initializes a given object state.
Object state utility functions.
int getDiscreteStateSize(const ObjectState &state)
Get the discrete state size for a given object state.
int getContinuousStateSize(const ObjectState &state)
Get the continuous state size for a given object state.
int getContinuousStateCovarianceSize(const ObjectState &state)
Get the continuous state covariance size for a given object state.