Compare commits

..

4 Commits

Author SHA1 Message Date
Tomás L 1cfcb8f330 edited README 2024-12-09 17:33:49 -05:00
Tomás L 3ba997e516 Merge branch 'main' of https://github.com/UGA-Innovation-Factory/UR10-Sentry 2024-12-09 17:33:42 -05:00
Tomás L cbaeee9e18 Added Readme 2024-12-09 17:32:51 -05:00
Tomás L 56d5184e3c Added Readme 2024-12-09 17:31:15 -05:00
3 changed files with 18 additions and 2 deletions

16
README.md Normal file
View File

@ -0,0 +1,16 @@
# Requirements
- Device running this code needs internet access (to get Unifi camera data)
- Must be run on the same network as the UR10.
- UR10's IP address is hardcoded into `main.py` and `dockermain.py`. Needs to be manualy changed (or rewrite the code so its a env variable instead).
- The UR10 needs enough clearance, as it spins around alot and **WILL** hit things or people otherwise.
- **For Docker:**
- `UNIFI_PASSWORD` must be set as an environment variable
- dockerfile is included in the project.
- **For the rest**:
- `UNIFI_PASSWORD` must be set in a `.env` file. (See `.env.example`).
- Run `main.py` to run the program.

View File

@ -327,7 +327,7 @@ if __name__ == "__main__":
# sleep(2)
# sentry.forward_position_to_base_angle_degrees(45)
print(sentry.robot.get_joint_angles())
#print(sentry.robot.get_joint_angles())
# while True:
# print(sentry.robot.get_joint_speeds()[0])

View File

@ -1,6 +1,6 @@
FROM python:3.12
LABEL maintainer="Tomas Letelier"
LABEL maintainer="Tomas Arturo Letelier Zamora"
WORKDIR /usr/src/app