open-rmf / open-rmf/rmf

[Other issue]: How to access RobotContext inside Negotiation Evaluator?

Open
#461 1 comment 0 reactions 0 assignees View on GitHub

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?
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.