You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click this link: https://open-rmf.github.io/rmf-panel-js/
61
-
62
-
> For a full-proof web application of Open-RMF, please refer to [rmf-web](https://github.com/open-rmf/rmf-web).
63
-
64
-
The [RMF panel](https://github.com/open-rmf/rmf-panel-js) is a web based dashboard for interacting with rmf_demos. It allows users to send task requests to RMF and monitor the status of robots and submitted tasks. For more [details](rmf_demos_panel/README.md).
65
-
66
-
There are two main modes of submitting tasks to Open-RMF via the Panel:
67
-
68
-
1. Submit a Task: Used to submit a single task.
69
-
2. Submit a List of Tasks: Used to submit a batch of tasks. A `.json` file containing a list of tasks may be loaded via the `Choose file` button. Some example files are found in `rmf_demos_panel/task_lists`.
70
-
71
-
**LATEST UPDATE: Display Task States**
72
-
73
-
`task_state_uptates` are now published via websocket. To display task states on `rmf-panel`, specify `server_uri:="ws://localhost:7878"` during ros2 launch. Example:
This will let Open-RMF (websocket clients) to publish their states to port `7878`. In this case, rmf-panel's `api_simple_server` is the websocket server.
Here, we will showcase 2 types of Tasks: **Loop** and **Clean**
102
-
103
-
Open [RMF Panel](https://open-rmf.github.io/rmf-panel-js/) to submit clean or loop requests.
104
-
To submit a **loop task**, select `Loop` from the `Select a request type` dropdown list. Choose desired start and end locations and click submit. Similarly for **Clean task**, select `Clean`, then choose the desired `cleaning zone` from the dropdown list.
105
-
106
-
Or, dispatch robot via CLI
78
+
Here, we will showcase 2 types of Tasks: **Loop** and **Clean**, you can dispatch them via CLI as follows:
107
79
```bash
108
-
ros2 run rmf_demos_tasks dispatch_clean -cs clean_lobby --use_sim_time
109
80
ros2 run rmf_demos_tasks dispatch_patrol -p restaurant L3_master_suite -n 1 --use_sim_time
81
+
ros2 run rmf_demos_tasks dispatch_clean -cs clean_lobby --use_sim_time
110
82
```
111
83
112
84
Robots running Clean and Loop Task:
@@ -117,8 +89,6 @@ Robots running Clean and Loop Task:
117
89
To submit a list of scheduled tasks via rmf web panel, load [hotel_tasks.json](https://github.com/open-rmf/rmf_demos/blob/main/rmf_demos_panel/task_lists/hotel_tasks.json),
118
90
or paste the json list to the _Submit a List of Tasks_ section. Next, click on submit.
119
91
120
-
> Tip: To speedup simulation on gazebo, user can run `gz physics -s 0.01` on a separate terminal after launching the world. Use with care!
Now we will showcase 2 types of Tasks: **Delivery** and **Loop**
136
106
137
-
To send task requests, open rmf_demos web panel: https://open-rmf.github.io/rmf-panel-js/
138
-
139
107

140
108
141
-
To submit a **delivery task**, select `Delivery` from the `Select a request type` dropdown list. Next, select `coke` from the `Select delivery task` list. Choose an desired start time for task and click submit.
142
-
143
-
Or, submit a task via CLI:
109
+
You can request the robot to deliver a can of coke from `pantry` to `hardware_2` through the following:
144
110
```bash
145
-
ros2 run rmf_demos_tasks dispatch_patrol -p coe lounge -n 3 --use_sim_time
To submit a **loop task**, select `Loop` from the `Select a request type` dropdown list. Choose desired start and end locations and click submit.
150
-
To run a scenario with multiple task requests, load [office_tasks.json](https://github.com/open-rmf/rmf_demos/blob/main/rmf_demos_panel/task_lists/office_tasks.json) from `rmf_demos_panel/task_lists` in the `Submit a list of tasks` section. This should populate the preview window with a list of tasks. Click submit and watch the demonstration unfold.
114
+
You can also request the robot to move back and forth between `coe` and `lounge` through the following:
115
+
```bash
116
+
ros2 run rmf_demos_tasks dispatch_patrol -p coe lounge -n 3 --use_sim_time
Open [RMF Panel](https://open-rmf.github.io/rmf-panel-js/). Load the [airport_terminal_tasks.json](https://github.com/open-rmf/rmf_demos/blob/main/rmf_demos_panel/task_lists/airport_terminal_tasks.json) list and click submit to begin a collection of loop, delivery and cleaning tasks.
174
-
175
-
Or, submit `loop`, `delivery` or `clean` task via CLI:
140
+
You can submit `loop`, `delivery` or `clean` task via CLI:
176
141
```bash
177
142
ros2 run rmf_demos_tasks dispatch_patrol -p s07 n12 -n 3 --use_sim_time
Open [RMF Panel](https://open-rmf.github.io/rmf-panel-js/). Load the [clinic_tasks.json](https://github.com/open-rmf/rmf_demos/blob/main/rmf_demos_panel/task_lists/clinic_tasks.json) list and click submit to begin a collection of loop and delivery tasks.
220
-
221
-
Or, submit a task via CLI:
182
+
You can submit tasks via CLI:
222
183
```bash
223
184
ros2 run rmf_demos_tasks dispatch_patrol -p L1_left_nurse_center L2_right_nurse_center -n 5 --use_sim_time
224
185
ros2 run rmf_demos_tasks dispatch_patrol -p L2_north_counter L1_right_nurse_center -n 5 --use_sim_time
0 commit comments