No version for distro humble showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.0.0
License Apache 2.0
Build type AMENT_PYTHON
Use RECOMMENDED

Repository Summary

Description Materials for Open-RMF workshop at ROSCon 2022 Kyoto
Checkout URI https://github.com/open-rmf/roscon_workshop.git
VCS Type git
VCS Version main
Last Updated 2023-02-18
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

Example lift adapter to be used with rmf_demos simulations

Additional Links

No additional links.

Maintainers

  • Luca Della Vedova

Authors

No additional authors.

roscon_lift_adapter

Lift adapter for the roscon workshop

API Endpoints

This lift adapter integration relies on a lift manager and a lift adapter:

  • The lift manager comprises of specific endpoints that help relay commands to the simulated lifts. It communicates with the lifts over internal ROS 2 messages, while interfacing with the adapter via an API chosen by the user. For this demo lift adapter implementation, we are using REST API with FastAPI framework.
  • The lift adapter receives commands from RMF and interfaces with the lift manager to receive lift state information, as well as query for available lifts and send commands to go to different floors and open / close doors.

To interact with endpoints, launch the demo and then visit http://127.0.0.1:5003/docs in your browser.

1. Get Lift Names

Get a list of the lift names being managed by this adapter. This endpoint does not require a Request Body.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_names

Response Body:
{
  "data": {
    "lift_names": [
      "lift"
    ]
  },
  "success": true,
  "msg": ""
}

2. Get Lift State

Gets the state of the lift with the specified name. This endpoint only requires a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_state?lift_name=lift

Response Body:
{
  "data": {
    "available_floors": [
      "L1",
      "L2"
    ],
    "current_floor": "L1",
    "destination_floor": "L1",
    "door_state": 0,
    "motion_state": 0
  },
  "success": true,
  "msg": ""
}

3. Send Lift Request

The lift_request endpoint allows the lift adapter to send requests to a specified lift. This endpoint requires a Request Body and a lift_name query parameter.

Request URL: http://127.0.0.1:5003/open-rmf/demo-lift/lift_request?lift_name=lift

Request Body:
{
  "floor": "L2",
  "door_state": 0
}

Response Body:
{
  "data": {},
  "success": true,
  "msg": ""
}

CHANGELOG
No CHANGELOG found.

Package Dependencies

System Dependencies

Dependant Packages

Name Deps
roscon_demos

Launch files

  • launch/lift_adapter.launch.xml
      • use_sim_time [default: true]
      • manager_address [default: localhost]
      • manager_port [default: 5003]
      • output [default: screen]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged roscon_lift_adapter at Robotics Stack Exchange