-
Notifications
You must be signed in to change notification settings - Fork 20
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
Task request time and initiator in Booking #81
Conversation
271183a
to
6975638
Compare
6975638
to
89225c7
Compare
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.
Sorry for the overdue review. Left feedback on the API introduced to discuss further.
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.
Thanks for iterating! This is looking good. Last set of comments from me.
Most recent changes,
|
@Yadunund the changes have been made |
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.
Thanks for iterating! Apart from the feedback to move task_planner_name
into TaskPlanner::Configuration
the rest of the suggestions are all nits.
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.
LGTM. @mxgrey any feedback for these changes?
I'll be holding off of merging till I finish end-to-end testing with rmf_ros2. I'll try to resolve the missing signed commit too |
… time, new booking constructor Signed-off-by: Aaron Chong <[email protected]>
…attery and Loop Signed-off-by: Aaron Chong <[email protected]>
…ean and Deliver Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
…agated changes to all constructors and make functions Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
Signed-off-by: Aaron Chong <[email protected]>
564e5a3
to
ff5f0ec
Compare
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.
LGTM
Good job keeping the API stable with these additional fields!
I've finished the changes required with open-rmf/rmf_ros2#267 and open-rmf/rmf_demos#180. Will be merging this |
@aaronchongth could you help backport to |
* Fixed missing constructor implementation, commented to deprecate next time, new booking constructor Signed-off-by: Aaron Chong <[email protected]> * Add requester to factories, add request time and initiator to ChargeBattery and Loop Signed-off-by: Aaron Chong <[email protected]> * Using requester instead of initiator, added new make API to legacy Clean and Deliver Signed-off-by: Aaron Chong <[email protected]> * lint Signed-off-by: Aaron Chong <[email protected]> * Revert to original constructor with optional arguments appended, propagated changes to all constructors and make functions Signed-off-by: Aaron Chong <[email protected]> * Move description into booking, lint Signed-off-by: Aaron Chong <[email protected]> * Pass a clock functor to ParkRobotFactory Signed-off-by: Aaron Chong <[email protected]> * Using non-deprecated Request constructor Signed-off-by: Aaron Chong <[email protected]> * new make_request API to include requester and request time Signed-off-by: Aaron Chong <[email protected]> * Overload TaskPlanner constructor with a name argument Signed-off-by: Aaron Chong <[email protected]> * Retained old API and marked as deprecated Signed-off-by: Aaron Chong <[email protected]> * Overloading booking instead of adding default arguments Signed-off-by: Aaron Chong <[email protected]> * Overloading all affected functions with non optional arguments Signed-off-by: Aaron Chong <[email protected]> * Lint Signed-off-by: Aaron Chong <[email protected]> * Revert deprecation tag on Request, to be done in a separate PR Signed-off-by: Aaron Chong <[email protected]> * Argument name changes, linting, documentation Signed-off-by: Aaron Chong <[email protected]> * TaskPlanner constructor to have planner id as first argument Signed-off-by: Aaron Chong <[email protected]> * request factories to accept a callback that returns the current time Signed-off-by: Aaron Chong <[email protected]> --------- Signed-off-by: Aaron Chong <[email protected]> (cherry picked from commit a7875a9) Signed-off-by: Aaron Chong <[email protected]>
* Fixed missing constructor implementation, commented to deprecate next time, new booking constructor Signed-off-by: Aaron Chong <[email protected]> * Add requester to factories, add request time and initiator to ChargeBattery and Loop Signed-off-by: Aaron Chong <[email protected]> * Using requester instead of initiator, added new make API to legacy Clean and Deliver Signed-off-by: Aaron Chong <[email protected]> * lint Signed-off-by: Aaron Chong <[email protected]> * Revert to original constructor with optional arguments appended, propagated changes to all constructors and make functions Signed-off-by: Aaron Chong <[email protected]> * Move description into booking, lint Signed-off-by: Aaron Chong <[email protected]> * Pass a clock functor to ParkRobotFactory Signed-off-by: Aaron Chong <[email protected]> * Using non-deprecated Request constructor Signed-off-by: Aaron Chong <[email protected]> * new make_request API to include requester and request time Signed-off-by: Aaron Chong <[email protected]> * Overload TaskPlanner constructor with a name argument Signed-off-by: Aaron Chong <[email protected]> * Retained old API and marked as deprecated Signed-off-by: Aaron Chong <[email protected]> * Overloading booking instead of adding default arguments Signed-off-by: Aaron Chong <[email protected]> * Overloading all affected functions with non optional arguments Signed-off-by: Aaron Chong <[email protected]> * Lint Signed-off-by: Aaron Chong <[email protected]> * Revert deprecation tag on Request, to be done in a separate PR Signed-off-by: Aaron Chong <[email protected]> * Argument name changes, linting, documentation Signed-off-by: Aaron Chong <[email protected]> * TaskPlanner constructor to have planner id as first argument Signed-off-by: Aaron Chong <[email protected]> * request factories to accept a callback that returns the current time Signed-off-by: Aaron Chong <[email protected]> --------- Signed-off-by: Aaron Chong <[email protected]> (cherry picked from commit a7875a9) Signed-off-by: Aaron Chong <[email protected]>
* Task request time and initiator in Booking (#81) * Fixed missing constructor implementation, commented to deprecate next time, new booking constructor Signed-off-by: Aaron Chong <[email protected]> * Add requester to factories, add request time and initiator to ChargeBattery and Loop Signed-off-by: Aaron Chong <[email protected]> * Using requester instead of initiator, added new make API to legacy Clean and Deliver Signed-off-by: Aaron Chong <[email protected]> * lint Signed-off-by: Aaron Chong <[email protected]> * Revert to original constructor with optional arguments appended, propagated changes to all constructors and make functions Signed-off-by: Aaron Chong <[email protected]> * Move description into booking, lint Signed-off-by: Aaron Chong <[email protected]> * Pass a clock functor to ParkRobotFactory Signed-off-by: Aaron Chong <[email protected]> * Using non-deprecated Request constructor Signed-off-by: Aaron Chong <[email protected]> * new make_request API to include requester and request time Signed-off-by: Aaron Chong <[email protected]> * Overload TaskPlanner constructor with a name argument Signed-off-by: Aaron Chong <[email protected]> * Retained old API and marked as deprecated Signed-off-by: Aaron Chong <[email protected]> * Overloading booking instead of adding default arguments Signed-off-by: Aaron Chong <[email protected]> * Overloading all affected functions with non optional arguments Signed-off-by: Aaron Chong <[email protected]> * Lint Signed-off-by: Aaron Chong <[email protected]> * Revert deprecation tag on Request, to be done in a separate PR Signed-off-by: Aaron Chong <[email protected]> * Argument name changes, linting, documentation Signed-off-by: Aaron Chong <[email protected]> * TaskPlanner constructor to have planner id as first argument Signed-off-by: Aaron Chong <[email protected]> * request factories to accept a callback that returns the current time Signed-off-by: Aaron Chong <[email protected]> --------- Signed-off-by: Aaron Chong <[email protected]> (cherry picked from commit a7875a9) Signed-off-by: Aaron Chong <[email protected]> * Add rmf_task_sequence to workflows, lint (#91) Signed-off-by: Aaron Chong <[email protected]> (cherry picked from commit 40f3e92) Signed-off-by: Aaron Chong <[email protected]> * Only running iron jammy workflows Signed-off-by: Aaron Chong <[email protected]> --------- Signed-off-by: Aaron Chong <[email protected]>
* Task request time and initiator in Booking (#81) * Fixed missing constructor implementation, commented to deprecate next time, new booking constructor Signed-off-by: Aaron Chong <[email protected]> * Add requester to factories, add request time and initiator to ChargeBattery and Loop Signed-off-by: Aaron Chong <[email protected]> * Using requester instead of initiator, added new make API to legacy Clean and Deliver Signed-off-by: Aaron Chong <[email protected]> * lint Signed-off-by: Aaron Chong <[email protected]> * Revert to original constructor with optional arguments appended, propagated changes to all constructors and make functions Signed-off-by: Aaron Chong <[email protected]> * Move description into booking, lint Signed-off-by: Aaron Chong <[email protected]> * Pass a clock functor to ParkRobotFactory Signed-off-by: Aaron Chong <[email protected]> * Using non-deprecated Request constructor Signed-off-by: Aaron Chong <[email protected]> * new make_request API to include requester and request time Signed-off-by: Aaron Chong <[email protected]> * Overload TaskPlanner constructor with a name argument Signed-off-by: Aaron Chong <[email protected]> * Retained old API and marked as deprecated Signed-off-by: Aaron Chong <[email protected]> * Overloading booking instead of adding default arguments Signed-off-by: Aaron Chong <[email protected]> * Overloading all affected functions with non optional arguments Signed-off-by: Aaron Chong <[email protected]> * Lint Signed-off-by: Aaron Chong <[email protected]> * Revert deprecation tag on Request, to be done in a separate PR Signed-off-by: Aaron Chong <[email protected]> * Argument name changes, linting, documentation Signed-off-by: Aaron Chong <[email protected]> * TaskPlanner constructor to have planner id as first argument Signed-off-by: Aaron Chong <[email protected]> * request factories to accept a callback that returns the current time Signed-off-by: Aaron Chong <[email protected]> --------- Signed-off-by: Aaron Chong <[email protected]> (cherry picked from commit a7875a9) Signed-off-by: Aaron Chong <[email protected]> * Add rmf_task_sequence to workflows, lint (#91) Signed-off-by: Aaron Chong <[email protected]> (cherry picked from commit 40f3e92) Signed-off-by: Aaron Chong <[email protected]> * Running only humble jammy workflows Signed-off-by: Aaron Chong <[email protected]> --------- Signed-off-by: Aaron Chong <[email protected]>
New feature implementation
Implemented feature
Related to open-rmf/rmf_api_msgs#35,
rmf_task::Request
rmf_task::Task::Booking
to include task request time and requestermake(...)
API for different types of requestsrequester
input, which will be propagated into each request they create