This dashboard displays the RULA and REBA ergonomic scores along with the risk level. It currently analysis the keypoints of one operator to display their risk level.
- Clone Repo
- Install Dependencies
npm i- Run the code
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
This code is the front end of the ergonomic analysis tool. To show the live analysis on the dashboard:
- Connect to the DEV network
- Clone the Ergonomic Analysis repository and install dependencies
- If the docker container for the cooperative processing cell is running, then run zenoh-bridge which should be subscribed to
"hmd/fusion-server/ergonomic_analysis"and run realtime_ergonomic_analysis.py in different terminals
cd ./bridge
python zenoh_bridge.pycd ./src
python realtime_ergonomic_analysis.pyThe data that gets published from the Persistent UID module is received by the Realtime Ergonomic Analysis module. The data gets analyzed and published to zenoh. As the dashboard cannot directly interface with Zenoh, we use zenoh_bridge as an interface to publish data on a websocket which the dashboard can receive and display.
- Adding multi-operator interface after implementing persistent UID
- Simplifying the dashboard and making the Score Details a seperate page
To learn more about Next.js, take a look at the following resources: