Cannot Connect to ROS Master Running on Odroid XU4

조회 수: 4(최근 30일)
I am trying to connect to the ROS master running on an odroid XU4. However, whenever I try to use rosinit, I get the error: "Cannot connect to ROS master at Check the specified address or hostname." The Odroid XU4 is running Ubuntu 16.04. I set up a static IP address of, which is verified by running the 'infconfig' command. I also ran 'echo $ROS_MASTER_URI' in Ubuntu and get ''. It seems that everything is set up properly but matlab can't establish connection? How do I resolve this issue?
Code Run in Matlab:
  댓글 수: 2
Andrew Poissant
Andrew Poissant 2019년 8월 22일
편집: Andrew Poissant 2019년 8월 22일
Sorry, that was a typo on my part. I have 11311 as the port number. I updated the question. I also included screenshots showing my Windows computer (running matlab) pinging my odroid device (running ROS) at IP

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

채택된 답변

Andrew Poissant
Andrew Poissant 2019년 8월 22일
I found out you need to actively run ROS on the Odroid in order to be able to connect to it to matlab. After running the command 'roscore' in the Ubuntu terminal, I was able to connect via rosinit('').

추가 답변(0개)


Find more on Network Connection and Exploration in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!

Translated by