[Other issue]: How to access RobotContext inside Negotiation Evaluator?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 438
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Before proceeding, is there an existing issue or discussion for this?
- I have done a search for similar issues and discussions.
Description
Hello team, I am trying to create a customized Negotiation Evaluator that looks at what task the robot is running and assign priorities to those tasks. However it seems I cannot access RobotContext inside Negotiation class or the Evaluator class, and the proposals passed into the Evaluator::choose(~) are not associated with RobotContext either. I tried to look into the ParticipantId but it seems I cannot get a RobotContext using a participandId.
Any advice on this would be highly appreciated. Many thanks in advance!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with rmf_traffic/include/rmf_traffic/schedule/Negotiation.hpp and trace Evaluator::choose in rmf_traffic/src/rmf_traffic/schedule/Negotiation.cpp. Determine how proposals and ParticipantId relate to RobotContext, then clarify whether the desired outcome is documentation or an API change; the issue currently defines no acceptance criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- robotics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100