-
Notifications
You must be signed in to change notification settings - Fork 83
Customizable weights for task assignment cost #466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customizable weights for task assignment cost #466
Conversation
Signed-off-by: kjchee <[email protected]>
Signed-off-by: kjchee <[email protected]>
Signed-off-by: kjchee <[email protected]>
Signed-off-by: kjchee <[email protected]>
Signed-off-by: kjchee <[email protected]>
Signed-off-by: kjchee <[email protected]>
mxgrey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is good to go. I've opened #501 as a reminder to add python bindings for these new settings, but I don't think that needs to block this PR.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #466 +/- ##
=========================================
- Coverage 17.61% 0 -17.62%
=========================================
Files 209 0 -209
Lines 19351 0 -19351
Branches 9297 0 -9297
=========================================
- Hits 3409 0 -3409
+ Misses 12274 0 -12274
+ Partials 3668 0 -3668
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
New feature implementation
Implemented feature
This PR is to support the new feature proposed at PR in rmf_task open-rmf/rmf_task#129
Implementation description
A new parameter in fleet_config.yaml (task_assignment_strategy) is read and passed to EasyFullControl and to FleetUpdateHandle and finally to TaskPlanner.
Also, for context, there are new functions added in
rmf_task::Statein rmf_task:purpose is to reflect whether the robot is in idle state, and so it can be set in TaskManager.cpp
TaskManager::expected_finish_state(). Then this idle state will be stored in initial_states and passed to TaskPlanner via FleetUpdateHandle.cpp.GenAI Use
We follow OSRA's policy on GenAI tools
Generated-by: