Conversation
|
POC works, just need to do some more checks |
|
Ready for review. We'll need to think of a cleaner solution long-term |
jplapp
left a comment
There was a problem hiding this comment.
This looks great and I think of all our discussed approaches, this is the nicest one
Regarding the nav2 generalization - I think one would also need to think about how to abstract the "trigger" so whether using a topic , some fixed interval, or e.g. an update from the input topics
| for (std::shared_ptr<Polygon> polygon : polygons_) { | ||
| if (polygon->getActionType() == PUBLISH) { | ||
| timer_ = this->create_wall_timer( | ||
| 100ms, |
There was a problem hiding this comment.
on second thought, I think it would be nice to be able to configure this interval, depending on the application also a reduced frequency could be used, e.g. 5Hz or 2Hz to further reduce CPU impact
There was a problem hiding this comment.
at 10 Hz the CPU usage was not more than 10%. But I can surely still add it if you see it necessary
For https://lvserv01.logivations.com/browse/AMRNAV-3997.