Unable to run the simulink on ROS device due to administrative privileges issue

조회 수: 1 (최근 30일)
Hi All,
I have a robotic device which operates on ROS. I need to run the robotic device with simulink in order to get the data from the sensors in the robotic device. I tried to follow the steps mentioned in this document Generate a Standalone ROS Node from Simulink - MATLAB & Simulink - MathWorks Benelux. However, in the step of connecting to the ros device when I test the connection I get the error as shown in the below image The open click doesn't have any information (It says the page is not found). The error is the 'user doesnt have administrative privilieges'. How can I sort this issue out.
Note: The user 'gdubbelman' is a master pc which runs on linux
Let me know if any more information is required to give solution to the problem.
Thanks in Advance

채택된 답변

Josh Chen
Josh Chen 2022년 10월 27일
Hello Sandesh,
This is a suggested action instead of an error. It should not prevent you from generating a ROS node or deploying it to the ROS device.
What this is saying is that the user 'gdubbelman' is not in admin group so there is no way to enable multi-tasking mode for the generated node. For more information about tasking modes, please refer to the Tasking mode under Advanced Topics and Troubleshooting secion on this page.
As so, if you only need to generate code for single-tasking mode, you are good to go. You can simply ignore this suggested action and continue.
If you need to enable multi-tasking mode, you would have to make sure the user you specified under "Deploy to" > "Connect to ROS device" has administrative privileges on the ROS device. You may either change that username to a admin user, or give admin access to the current user on your ROS device.
Hope this helps,
Josh
  댓글 수: 2
Sandesh Venkatesh
Sandesh Venkatesh 2022년 10월 28일
Hi Josh,
Thanks for the response. The fact is that the other PC's with Matlab are able to communicate with the robotic device which are using the same user. In addition even I can give instructions to the robotic device by using monitor & tune button under ROS tab as attached in the image.
However, when I run the simulation (tab) there is no translation of intruction to the robotic device. So, its bit confusing at the moment.
Josh Chen
Josh Chen 2022년 10월 28일
Hi Sandesh,
In that case, it is probably easier to reach out to MathWorks Technical Support team and have a closer look at the difference between this specific PC and other device.
-Josh

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 ROS Network Access in Simulink에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by