16namespace perception_msgs {
18namespace object_access {
28 state.model_id = model_id;
31 state.continuous_state_covariance.clear();
Convenience setter functions for objects state members.
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 initializeState(ObjectState &state, const unsigned char &model_id)
Initialize an object state with empty covariance storage. Covariance getters expose INVALID diagonals...
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.