ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Problem with Rviz

asked 2020-07-21 05:35:18 -0500

Pepper_robot gravatar image

Hi everyone! I'm trying to run Rviz with Ubuntu 18.04 (ROS melodic version 1.14.6). Firstly, I run roscore and then, in other window I'm trying to run Rviz but I can't. I set the command 'roswtf' for check the details, and It shows these:

Beginning tests of your ROS graph. These may take a while... analyzing graph... ... done analyzing graph running graph rules... ERROR: connection refused to [http://NOMADA7591:52180/] ERROR: connection refused to [http://NOMADA7591:52163/] ERROR: connection refused to [http://NOMADA7591:53496/] ERROR: connection refused to [http://NOMADA7591:52218/] ERROR: connection refused to [http://NOMADA7591:53385/] ... done running graph rules

Online checks summary:

Found 2 error(s).

ERROR Could not contact the following nodes: * /rviz_1595321248753417700 * /rviz_1595321239185989700 * /rviz_1595327219875266800 * /rviz_1595321273013614500 * /rviz_1595326854210823300

ERROR Errors connecting to the following services: * service [/rviz_1595327219875266800/set_logger_level] appears to be malfunctioning: Unable to communicate with service [/rviz_1595327219875266800/set_logger_level], address [rosrpc://NOMADA7591:53495] * service [/rviz_1595321248753417700/get_loggers] appears to be malfunctioning: Unable to communicate with service [/rviz_1595321248753417700/get_loggers], address [rosrpc://NOMADA7591:52179] * service [/rviz_1595326854210823300/set_logger_level] appears to be malfunctioning: Unable to communicate with service [/rviz_1595326854210823300/set_logger_level], address [rosrpc://NOMADA7591:53384] * service [/rviz_1595321239185989700/set_logger_level] appears to be malfunctioning: Unable to communicate with service [/rviz_1595321239185989700/set_logger_level], address [rosrpc://NOMADA7591:52162] * service [/rviz_1595321239185989700/get_loggers] appears to be malfunctioning: Unable to communicate with service [/rviz_1595321239185989700/get_loggers], address [rosrpc://NOMADA7591:52162] * service [/rviz_1595321248753417700/set_logger_level] appears to be malfunctioning: Unable to communicate with service [/rviz_1595321248753417700/set_logger_level], address [rosrpc://NOMADA7591:52179] * service [/rviz_1595327219875266800/get_loggers] appears to be malfunctioning: Unable to communicate with service [/rviz_1595327219875266800/get_loggers], address [rosrpc://NOMADA7591:53495] * service [/rviz_1595321273013614500/get_loggers] appears to be malfunctioning: Unable to communicate with service [/rviz_1595321273013614500/get_loggers], address [rosrpc://NOMADA7591:52217] * service [/rviz_1595326854210823300/get_loggers] appears to be malfunctioning: Unable to communicate with service [/rviz_1595326854210823300/get_loggers], address [rosrpc://NOMADA7591:53384] * service [/rviz_1595321273013614500/set_logger_level] appears to be malfunctioning: Unable to communicate with service [/rviz_1595321273013614500/set_logger_level], address [rosrpc://NOMADA7591:52217]

edit retag flag offensive close merge delete

Comments

Which commands are you executing?

roscore

and

rviz

??

Quite strange, seems like rviz goes resetting every instant.

Solrac3589 gravatar image Solrac3589  ( 2020-07-21 06:07:52 -0500 )edit

In one window I have executed the command roscore, and in a new window I executed rviz

Pepper_robot gravatar image Pepper_robot  ( 2020-07-21 06:16:37 -0500 )edit

I have just solved the problem. In the new window, Firstly i set 'export DISPLAY=:0' and then i set 'rviz' (Before I have run the program Xlauch).

Pepper_robot gravatar image Pepper_robot  ( 2020-07-21 06:28:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-21 06:28:40 -0500

Pepper_robot gravatar image

updated 2020-07-22 01:36:03 -0500

I have just solved the problem. I need that the server run in one window (first run 'export DISPLAY=:0' to set it, and then run the server with 'roscore). So we need to open a new window (the client), In one hand, in this window i set the Display ('export DISPLAY=:1'). In other hand, I run the graph enviroment (run Xlaunch and set window 1, for the Rviz (client)). So in the client window, i can run Rviz with the command 'rviz', and then the program will open.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-07-21 05:35:18 -0500

Seen: 345 times

Last updated: Jul 22 '20