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
* Add robot browser logs
* Add webrtc logs
* Run server in pm2 to restart on crash
* MaskButton should allow for changing num masks
* Formatting
* Made Auto-Continue automatically checked
---------
Co-authored-by: Amal Nanavati <amaln@uw.edu>
Co-authored-by: Amal Nanavati <amaln@cs.washington.edu>
-[`serve` must be globally installed](https://create-react-app.dev/docs/deployment/) (ideally with `sudo`): `sudo npm install -g serve`
16
+
-[`pm2` must be globally installed](https://pm2.keymetrics.io/docs/usage/quick-start/): `npm install pm2@latest -g`
16
17
17
18
## Getting Started in Computer
18
19
@@ -23,7 +24,7 @@ The overall user flow for this robot can be seen below.
23
24
4. Source the directory: `source install/setup.bash`
24
25
5. Navigate to the web app folder: `cd feeding_web_interface/feedingwebapp`
25
26
6. Install web app dependencies: `npm install --legacy-peer-deps`
26
-
1. You may also have to run `npx playwright install`; you might be prompted to run that after `node --env-file=.env start_robot_browser.js`
27
+
1. You may also have to run `npx playwright install`; you might be prompted to run that after `node start_robot_browser.js`
27
28
* Consider checking out the Troubleshooting section if there are errors in this process.
28
29
If your workspace has already been built, you should run `source install/setup.bash`. If this is your first time building your workspace, you should `source /opt/ros/humble/setup.bash` and then run `colcon build` followed by `source install/setup.bash`. For both of the above cases, you must be in the main directory of your workspace (e.g., `src` should be a subfolder).
29
30
@@ -33,7 +34,7 @@ If your workspace has already been built, you should run `source install/setup.b
33
34
- If you're not running the robot code alongside the app, set `REACT_APP_DEBUG=true` in `.env` to be able to move past screens where the app is waiting on the robot. The default is `REACT_APP_DEBUG=false`.
34
35
- If users will be accessing the app on a device other than the device running ROS, change `REACT_APP_ROS_SERVER_HOSTNAME` in `.env` to be the hostname of the device running ROS. Ensure that device is configured so that ports 8080 (web_video_server default) and 9090 (rosbridge default) can be accessed.
35
36
3. Start the app: `npm start`
36
-
4. Start the WebRTC signalling server: `node --env-file=.env server.js`
37
+
4. Start the WebRTC signalling server: `pm2 start server.js` (see [here](https://pm2.keymetrics.io/docs/usage/quick-start/) for `pm2`` instructions)
37
38
5. Start the headless robot browser: `node start_robot_browser.js`
38
39
6. Use a web browser to navigate to `localhost:3000` to see the application.
0 commit comments