Problems with connecting to the ROS master using rosinit
I am running ros on a raspberry pi 4 and used the following code to try to establish a global ROS node
setenv(‘ROS_MASTER_URI’,’http://192.168.1.2:11311′)
setenv(‘ROS_IP’,’192.168.1.1′)
rosinit(‘192.168.1.2’)
and the error message that pops up on rosinit is
‘ Connection to process with Exchange: "ce85a6ab-8a96-40e9-9f51-c8fa6ac4ded8 " was lost.
It never happened before as I was able to establish the connect previously, and neither using rosshutdown or rebooting the raspberry pi workedI am running ros on a raspberry pi 4 and used the following code to try to establish a global ROS node
setenv(‘ROS_MASTER_URI’,’http://192.168.1.2:11311′)
setenv(‘ROS_IP’,’192.168.1.1′)
rosinit(‘192.168.1.2’)
and the error message that pops up on rosinit is
‘ Connection to process with Exchange: "ce85a6ab-8a96-40e9-9f51-c8fa6ac4ded8 " was lost.
It never happened before as I was able to establish the connect previously, and neither using rosshutdown or rebooting the raspberry pi worked I am running ros on a raspberry pi 4 and used the following code to try to establish a global ROS node
setenv(‘ROS_MASTER_URI’,’http://192.168.1.2:11311′)
setenv(‘ROS_IP’,’192.168.1.1′)
rosinit(‘192.168.1.2’)
and the error message that pops up on rosinit is
‘ Connection to process with Exchange: "ce85a6ab-8a96-40e9-9f51-c8fa6ac4ded8 " was lost.
It never happened before as I was able to establish the connect previously, and neither using rosshutdown or rebooting the raspberry pi worked ros, rosinit MATLAB Answers — New Questions