UFACTORY Studio simulation

A way to run UFACTORY Studio without real robot.

1.Get the docker image

docker pull danielwang123321/uf-ubuntu-docker

2.Create and run container

On Linux Ubuntu

docker run -it --name uf_software danielwang123321/uf-ubuntu-docker

On Windows
If only use UFACTORY Studio

docker run -it --name uf_software -p 18333:18333 danielwang123321/uf-ubuntu-docker

If you want use not only the UFACTORY Studio but also the xArm SDK on Windows, please use this command:

docker run -it --name uf_software -p 18333:18333 -p 502:502 -p 503:503 -p 504:504 -p 30000:30000 -p 30001:30001 -p 30002:30002 -p 30003:30003 danielwang123321/uf-ubuntu-docker

3.Run the xArm robot firmware and UFACTORY Studio

/xarm_scripts/xarm_start.sh 6 6

The 6 6 means xArm 6, change it accordingly if you prefer other robots:

5 5, xArm 5
6 6, xArm 6
7 7, xArm 7
6 9, Lite 6
6 12, 850

4.Access the UFACTORY Studio

On Linux Ubuntu
Run a web browser and input 172.17.0.2:18333

On Windows
Run a web browser and input 127.0.0.1:18333

If you need use xArm SDK,
Ubuntu Linux: the robot IP is 172.17.0.2

Windows: the robot IP is 127.0.0.1

Note:
Test under Ubuntu 24.04 and Windows10

1 Like

Hi Daniel

I tried your instructions, it’s very easy now, thanks a lot. However, I had to modify some parts to make it work.

First, when I created the container, I had to expose port 18333 like this:

docker run -it --name uf_software -p 18333:18333 danielwang123321/uf-ubuntu-docker

Lastly, even though the IP of the bot is the one you mention, I had to use http://localhost:18333 to access the simulator in my web browser


Hi Fabian,
Did you use the Windows?
I did a test on Windows 10 and found it do requires to expose the port while creating the container.
The url on windows is 172.0.0.1:18333 after execute the below command and start the robot software.
docker run -it --name uf_software -p 18333:18333 danielwang123321/uf-ubuntu-docker
Let me modify the guidance.

Hi Daniel,

Yes, I use Windows 10

Hi Fabian,
Thanks for your feedback, I did update the guidance for Windows.
Please let me know if you have any questions.

Hello, I have the simulator up and running, thanks for making that possible. The sim is telling me that the contents of the friction file are invalid. Is there a way I can get around this?
image

Please provide more information

  1. The platform, windows or linux?
  2. The firmware/software version of the information page like that.
  3. Did you update the software/firmware?

Thanks for replying Daniel, I figured it out. I do not have an arm at the moment, I am only playing with the sim. I got around the alert to get the sim working.