ubuntu@ubiquityrobot:~$ roslaunch magni_viz view_nav.launch
… logging to /home/ubuntu/.ros/log/d5290c06-a52d-11e8-8f5a-43b06d479ff2/roslaunch-ubiquityrobot-3017.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
process[rviz_ubiquityrobot_3017_1603626668-1]: started with pid [3034]
QXcbConnection: Could not connect to display
[rviz_ubiquityrobot_3017_1603626668-1] process has died [pid 3034, exit code -6, cmd /opt/ros/kinetic/lib/rviz/rviz -d /opt/ros/kinetic/share/magni_viz/rviz/view_nav.rviz __name:=rviz_ubiquityrobot_3017_1603626668 __log:=/home/ubuntu/.ros/log/d5290c06-a52d-11e8-8f5a-43b06d479ff2/rviz_ubiquityrobot_3017_1603626668-1.log].
log file: /home/ubuntu/.ros/log/d5290c06-a52d-11e8-8f5a-43b06d479ff2/rviz_ubiquityrobot_3017_1603626668-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor…
… shutting down processing monitor complete
done
I believe that its someting wrong with the ip adress… my robot has the ip static as 10.10.20.35 and i´ve runned the command on the workstation:
export ROS_MASTER_URI=http://10.10.20.35:11311
export ROS_IP=http://10.10.20.215
and then the:
echo “export ROS_MASTER_URI=http://10.10.20.35:11311” >> ~/.bashrc echo “export ROS_IP=http://10.10.20.215”
but as you can see in the LOG seems the ip is not being established!
Ok i´ve just restarted the robot and now i see the correct ip adress on the log file but still cant run the command “roslaunch magni_viz view_nav.launch” on the workstation!
LOG:
ubuntu@ubiquityrobot:~$ roslaunch magni_viz view_nav.launch
… logging to /home/ubuntu/.ros/log/dab85254-a53b-11e8-9da7-bbe28aca44d4/roslaunch-ubiquityrobot-1936.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
process[rviz_ubiquityrobot_1936_882879876-1]: started with pid [1956]
QXcbConnection: Could not connect to display
[rviz_ubiquityrobot_1936_882879876-1] process has died [pid 1956, exit code -6, cmd /opt/ros/kinetic/lib/rviz/rviz -d /opt/ros/kinetic/share/magni_viz/rviz/view_nav.rviz __name:=rviz_ubiquityrobot_1936_882879876 __log:=/home/ubuntu/.ros/log/dab85254-a53b-11e8-9da7-bbe28aca44d4/rviz_ubiquityrobot_1936_882879876-1.log].
log file: /home/ubuntu/.ros/log/dab85254-a53b-11e8-9da7-bbe28aca44d4/rviz_ubiquityrobot_1936_882879876-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor…
… shutting down processing monitor complete
done
ubuntu@ubiquityrobot:~$
I am having the same error as you. I tried to launch the rviz or the fudicial follow programs without any success. In both cases I had the QXcbConnection: Could not connect to display error. I am controlling the robot via VMBOX and I have disabled the hardware acceleration with no luck. Can someone please help me.
I have been getting the same error so I tried to launch rviz on the workstation as you suggested however I was getting a error message (when running roslaunch magni_viz view_nav.launch) and received a error message stating that .view_nav.launch is neither a launch file in magni_viz and magni_viz is also not a launch file name. What are some errors that might be occurring?