Skip to content

Commit e8590c5

Browse files
committed
made track and initialize functions virtual
1 parent 05b3cd8 commit e8590c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/dbot/tracker/object_tracker.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,15 @@ class ObjectTracker
8080
* \param image
8181
* Current observation image
8282
*/
83-
State track(const Obsrv& image);
83+
virtual State track(const Obsrv& image);
8484

8585
/**
8686
* \brief Initializes the particle filter with the given initial states and
8787
* the number of evaluations
8888
* @param initial_states
8989
* @param evaluation_count
9090
*/
91-
void initialize(const std::vector<State>& initial_states);
91+
virtual void initialize(const std::vector<State>& initial_states);
9292

9393
/**
9494
* \brief Transforms the given state or pose in the model coordinate system

0 commit comments

Comments
 (0)