Skip to content

Qna-rmf_fleet_adapter#100

Open
thedevmanek wants to merge 7 commits into
osrf:masterfrom
thedevmanek:qna
Open

Qna-rmf_fleet_adapter#100
thedevmanek wants to merge 7 commits into
osrf:masterfrom
thedevmanek:qna

Conversation

@thedevmanek
Copy link
Copy Markdown
Contributor

@thedevmanek thedevmanek commented Sep 29, 2022

This PR solves discussions on fleet_adapter. Following discussions are resolved.

@marcoag
Copy link
Copy Markdown
Member

marcoag commented Oct 10, 2022

This PR seems to include some updates and the addition of fleet adapters? shouldn't that be on the fleet adapter update?

Also can we have the explanation in the description with a link to the discussion that this PR solves? It makes it WAY easier to track what discussion(s) this PR solves.

@thedevmanek
Copy link
Copy Markdown
Contributor Author

I will add the info and remove the fleet adapter commits

Comment thread src/integration_doors.md Outdated
Comment thread src/integration_doors.md Outdated

There is no way to trigger a door request before a robot reaches the door by default however it can be implemented by the user by following the steps below:-

The fleet adapter integration can track the position of the robot, and if it is detected that robot is "close enough" to a door,a DoorRequest can be published to the `adapter_door_requests` topic. The robot will still stop for a moment at door_in to make sure that the door is open before proceeding, but that should only take a fraction of a second if the network is decent.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The fleet adapter integration can track the position of the robot, and if it is detected that robot is "close enough" to a door,a DoorRequest can be published to the `adapter_door_requests` topic. The robot will still stop for a moment at door_in to make sure that the door is open before proceeding, but that should only take a fraction of a second if the network is decent.
The fleet adapter integration can track the position of the robot, and if it is detected that robot is "close enough" to a door,a door request can be published to the `adapter_door_requests` topic. The robot will still stop for a moment at door_in to make sure that the door is open before proceeding, but that should only take a fraction of a second if the network is decent.

Is it a message DoorRequest? then we might use the quotes and say DoorRequest message?

What is door_in? shall we use quotes? add some clarification.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by fc6ada5

Comment thread src/integration_doors.md Outdated

The fleet adapter integration can track the position of the robot, and if it is detected that robot is "close enough" to a door,a DoorRequest can be published to the `adapter_door_requests` topic. The robot will still stop for a moment at door_in to make sure that the door is open before proceeding, but that should only take a fraction of a second if the network is decent.

Note:- User should make sure that `requester_id` matches what the fleet adapter is for the your robot, which will be fleet_name/robot_name. Using the correct `requester_id` for the robot means that the task management system will automatically clear the DoorOpen request once the robot reaches door_out. If a different requester_id is used, then the fleet adapter integration will need to clear the request itself by sending a DoorClose request with the same `requester_id` once the robot has moved far enough away from the door.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Note:- User should make sure that `requester_id` matches what the fleet adapter is for the your robot, which will be fleet_name/robot_name. Using the correct `requester_id` for the robot means that the task management system will automatically clear the DoorOpen request once the robot reaches door_out. If a different requester_id is used, then the fleet adapter integration will need to clear the request itself by sending a DoorClose request with the same `requester_id` once the robot has moved far enough away from the door.
Note: The user should make sure that `requester_id` matches what the fleet adapter is for the your robot, which will be fleet_name/robot_name. Using the correct `requester_id` for the robot means that the task management system will automatically clear the `DoorOpen` request once the robot reaches `door_out`. If a different `requester_id` is used, then the fleet adapter integration will need to clear the request itself by sending a `DoorClose` request with the same `requester_id` once the robot has moved far enough away from the door.

Clarify: ...matches what the fleet adapter is for the your robot...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by ec37eeb

Comment thread src/integration_doors.md Outdated
Comment thread src/integration_doors.md Outdated

There is no way to trigger a door request before a robot reaches the door by default however it can be implemented by the user by following the steps below:

The fleet adapter integration can track the position of the robot, and if it is detected that robot is "close enough" to a door,a door request can be published to the `adapter_door_requests` topic. The robot will still stop for a moment at door_in to make sure that the door is open before proceeding, but that should only take a fraction of a second if the network is decent.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The fleet adapter integration can track the position of the robot, and if it is detected that robot is "close enough" to a door,a door request can be published to the `adapter_door_requests` topic. The robot will still stop for a moment at door_in to make sure that the door is open before proceeding, but that should only take a fraction of a second if the network is decent.
The fleet adapter integration can track the position of the robot. If it is detected that the robot is "close enough" to a door, a door request can be published to the `adapter_door_requests` topic. The robot will still stop for a moment at door_in to make sure that the door is open before proceeding, but this should only take a fraction of a second if the network is decent.

What is door_in ? should it be highlighted as code?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems it's a way point, should be clarified and highlighted.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed by b585255

Comment thread src/integration_doors.md Outdated

The fleet adapter integration can track the position of the robot, and if it is detected that robot is "close enough" to a door,a door request can be published to the `adapter_door_requests` topic. The robot will still stop for a moment at door_in to make sure that the door is open before proceeding, but that should only take a fraction of a second if the network is decent.

Note: The user should make sure that `requester_id` matches what the fleet adapter is for the your robot, which will be fleet_name/robot_name. Using the correct `requester_id` for the robot means that the task management system will automatically clear the `DoorOpen` request once the robot reaches `door_out`. If a different `requester_id` is used, then the fleet adapter integration will need to clear the request itself by sending a `DoorClose` request with the same `requester_id` once the robot has moved far enough away from the door.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please clarify this: "is for the your robot"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Note: The user should make sure that `requester_id` matches what the fleet adapter is for the your robot, which will be fleet_name/robot_name. Using the correct `requester_id` for the robot means that the task management system will automatically clear the `DoorOpen` request once the robot reaches `door_out`. If a different `requester_id` is used, then the fleet adapter integration will need to clear the request itself by sending a `DoorClose` request with the same `requester_id` once the robot has moved far enough away from the door.
Note: The user should make sure that `requester_id` matches what the fleet adapter is using for your robot, which will be `fleet_name/robot_name`. Using the correct `requester_id` for the robot means that the task management system will automatically clear the `DoorOpen` request once the robot reaches `door_out`. If a different `requester_id` is used, then the fleet adapter integration will need to clear the request itself by sending a `DoorClose` request with the same `requester_id` once the robot has moved far enough away from the door.

Comment thread src/integration_doors.md Outdated
thedevmanek and others added 7 commits November 28, 2022 11:02
Signed-off-by: Dev Manek <manekdev2001@gmail.com>
Co-authored-by: Marco A. Gutierrez <marco@openrobotics.org>
Signed-off-by: Dev Manek <58616961+thedevmanek@users.noreply.github.com>
Signed-off-by: Dev Manek <manekdev2001@gmail.com>
Co-authored-by: Marco A. Gutierrez <marco@openrobotics.org>
Signed-off-by: Dev Manek <58616961+thedevmanek@users.noreply.github.com>
Signed-off-by: Dev Manek <manekdev2001@gmail.com>
Co-authored-by: Marco A. Gutierrez <marco@openrobotics.org>
Signed-off-by: Dev Manek <58616961+thedevmanek@users.noreply.github.com>
Signed-off-by: Dev Manek <manekdev2001@gmail.com>
Signed-off-by: Dev Manek <manekdev2001@gmail.com>
Signed-off-by: Dev Manek <manekdev2001@gmail.com>
Signed-off-by: Dev Manek <manekdev2001@gmail.com>
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