0
$\begingroup$

Rosanswers logo

Hello, I am not able to run ros commands in terminal. When I enter any ros related command in terminal its not executed. I don't know what is the problem and can not find any solution on internet.image description

Edit: 1 roscore is not running in the screenshot below, so I expect there should be an error which says for masters not running or something similar. Also in a same way for example if I run roscore than there are few checks like for log file and a few messages like master is running so in that case nothing happens as well that does the something like screenshot below.


Originally posted by Tahir M. on ROS Answers with karma: 213 on 2019-12-28

Post score: 0


Original comments

Comment by nickw on 2019-12-28:
There is nothing in the terminal that suggests it is not being executed (it has not generated any errors), and has not returned the prompt so is still executing.

You need to be more specific for people to be able to provide help. Are you expecting something else to happen that hasn't ? Have you run anything else in any other terminals ?

I suspect that you have already run roscore in another terminal, or you would have got an error.

Comment by Tahir M. on 2019-12-28:
@nickw please look the edit: 1 hope it clarifies now.

Comment by nickw on 2019-12-28:
It is still hard to say - it is not clear what you are trying to do, and what you expect to be happening.

logout and back in to make sure nothing is running in the background.

I'm assuming that you have just installed ros and are trying to work through some examples - what other commands/tutorials have you tried, and what results did you get ?

node tutorial is a good place to start to get an idea of what needs to be running, and what you should use to check if things are running correctly (like rosnode list), followed by the topic example that is linked to at the end of it.

Try that and see if it is clearer what is and isnt working.

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Well sorry my fault. Just got found the mistake. I actually I am running ros on multiple machines. So when I do some ros related stuff and the server PC is turned off whose ip is set as ros_master_uri, so after turning on the another PC or removing the settings from .bashrc I can run everything very smoothly. @nickw thanks man for your reply and time.


Originally posted by Tahir M. with karma: 213 on 2019-12-28

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.