You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check FeatureValues validity at initialization. Thus, invalid FeatureValues DON'T EXIST. (Perhaps a pointer in each FeatureValue linking to its FeatureSpace? This could compile out for speed, but would be useful for reliability.)
FeatureSpaces know how to create valid FeatureValues for themselves.
Possiblity: specialized ROS callbacks to create FeatureValues, which are passed to polymorphic code that doesn't anything about them.
Changes:
Add the following methods to appropriate FeatureSpaces:
shared_ptr FeatureSpace::createValue(int discrete)
shared_ptr FeatureSpace::createValue(std::vector belief)
shared_ptr FeatureSpace::createValue(std::vector vector)
Make FeatureValue constructors private.
The text was updated successfully, but these errors were encountered:
Why?
Changes:
shared_ptr FeatureSpace::createValue(int discrete)
shared_ptr FeatureSpace::createValue(std::vector belief)
shared_ptr FeatureSpace::createValue(std::vector vector)
The text was updated successfully, but these errors were encountered: