Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

URControl: no process found #3

Open
mdhom opened this issue Mar 17, 2023 · 1 comment
Open

URControl: no process found #3

mdhom opened this issue Mar 17, 2023 · 1 comment

Comments

@mdhom
Copy link

mdhom commented Mar 17, 2023

Hi,
I started the dev container as explained and ran ./startURSim.sh. I can access the UI, but it shows "No controller found". I can see the message `URControl: no process found´ in the terminal output. Do you have any idea what I could be possibly doing wrong?

I attached the complete log for debugging.

Thanks for your help!

ursim_log.txt

@mdhom
Copy link
Author

mdhom commented Mar 17, 2023

Found an URControl.log file, maybe that helps?

2023-03-17_15:00:51:82348 00:00:00:000 INFO    - parseOpts(): The following ports will be used: Primary - 30001, Secondary - 30002, Interpreter - 30020, Matlab - 30003, RTDE - 30004, Primary_read_only - 30011, Secondary_read_only - 30012, Matlab_read_only - 30013.
2023-03-17_15:00:51:82369 00:00:00:000 INFO    - Loading calibration from '/ursim/.urcontrol/calibration.conf'
2023-03-17_15:00:51:82370 00:00:00:000 WARNING - loadCalibration: Error: Cannot open configuration file '/ursim/.urcontrol/calibration.conf'. The file is corrupt or missing.
2023-03-17_15:00:51:82371 00:00:00:000 INFO    - ConfigurationManager::loadConfiguration: Loading urcontrol.conf from: /ursim/.urcontrol/urcontrol.conf.

2023-03-17_15:00:51:82371 00:00:00:000 WARNING - readLastSeenJointPositions: Error: Cannot open configuration file '/ursim/.urcontrol/.last_seen_joint_positions.conf'. The file is corrupt or missing..

2023-03-17_15:00:51:82372 00:00:00:000 WARNING - PThread::_start: SCHED_FIFO - Failed to set scheduling parameters for PThreadPool
Exception was caught in creating ModbusServer: ServerSocket: Socket::create() failed.
You need root privileges to open a Modbus server at port 502
Perhaps use: "sudo setcap cap_net_bind_service+ep ./URControl"
2023-03-17_15:00:51:89704 00:00:00:000 INFO    - Safety Version 5:6
2023-03-17_15:00:51:89710 00:00:00:002 INFO    - Safety Version 5:6
2023-03-17_15:00:51:89711 00:00:00:004 ERROR   - Socket::create: socket() failed. Error_code = 38, Error_message = Function not implemented
2023-03-17_15:00:51:89712 00:00:00:004 ERROR   - TCPServer::init: TCP Connection failed. Exception caught: ServerSocket: Socket::create() failed..
2023-03-17_15:00:51:89712 00:00:00:004 ERROR   - TCPServer::init: Check if another instance of URControl is running. The process will be terminated.
2023-03-17_15:00:51:89713 00:00:00:004 ERROR   - Socket::create: socket() failed. Error_code = 38, Error_message = Function not implemented
2023-03-17_15:00:51:89714 00:00:00:004 INFO    - RTM: Target RobotMode changed from ROBOT_MODE_DISCONNECTED to ROBOT_MODE_POWER_OFF
2023-03-17_15:00:51:89714 00:00:00:004 INFO    - New safety mode: SAFETY_MODE_NORMAL
2023-03-17_15:00:51:89715 00:00:00:004 INFO    - Runtime state change: from PROGRAM_STATE_STOPPING to PROGRAM_STATE_STOPPED
2023-03-17_15:00:51:89715 00:00:00:006 WARNING - Failed to write joint angles: [0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000]
URControl::shutdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant