Skip to content
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

Provide an API for changing participant profile #87

Merged
merged 2 commits into from
Sep 16, 2022

Conversation

mxgrey
Copy link
Contributor

@mxgrey mxgrey commented Sep 8, 2022

This PR adds an API to rmf_traffic::schedule::Participant that allows participants to update their profile on the schedule. This allows the profile to be changed in the database without destructing and recreating the Participant object.

Signed-off-by: Michael X. Grey <grey@openrobotics.org>
@codecov
Copy link

codecov bot commented Sep 8, 2022

Codecov Report

Merging #87 (ac5e5c1) into main (6594a26) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main      #87      +/-   ##
==========================================
- Coverage   23.17%   23.16%   -0.01%     
==========================================
  Files         370      370              
  Lines       30768    30776       +8     
  Branches    14372    14377       +5     
==========================================
  Hits         7129     7129              
- Misses      14134    14174      +40     
+ Partials     9505     9473      -32     
Flag Coverage Δ
tests 23.03% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...affic/include/rmf_traffic/schedule/Participant.hpp 0.00% <ø> (ø)
...f_traffic/src/rmf_traffic/schedule/Participant.cpp 50.27% <0.00%> (-2.30%) ⬇️
.../src/rmf_traffic/schedule/internal_Participant.hpp 100.00% <ø> (ø)
rmf_traffic/src/rmf_traffic/agv/Planner.cpp 52.91% <0.00%> (ø)
rmf_traffic/test/unit/agv/test_Negotiator.cpp 10.83% <0.00%> (ø)
rmf_traffic/src/rmf_traffic/DetectConflict.cpp 50.00% <0.00%> (ø)
rmf_traffic/src/rmf_traffic/schedule/Mirror.cpp 41.62% <0.00%> (ø)
rmf_traffic/src/rmf_traffic/schedule/Database.cpp 49.12% <0.00%> (ø)
rmf_traffic/src/rmf_traffic/schedule/Timeline.hpp 46.34% <0.00%> (ø)
rmf_traffic/test/unit/schedule/utils_Database.hpp 17.85% <0.00%> (ø)
... and 25 more

@luca-della-vedova luca-della-vedova enabled auto-merge (squash) September 16, 2022 03:12
@luca-della-vedova luca-della-vedova merged commit e60a256 into main Sep 16, 2022
@luca-della-vedova luca-della-vedova deleted the resize_participant branch September 16, 2022 03:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants