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

Roscore over ssh

asked 2015-06-08 05:55:06 -0500

pexison gravatar image

Hi!

I am able to do $ roscore and everything is fine (also launching launch files) but when I try: $ ssh user@machine roscore there is a problem, it says that

bash: roscore: command not found

I am hydro. What could be the reason of this?

Thanks beforehand!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2015-06-08 09:09:53 -0500

Most likely the user user on the machine system has not properly setup their ROS environment. Even if you have sourced the appropriate setup.bash files in your local terminal, once you are ssh'ed into a remote machine, the environment on that system does not inherit anything from the launching terminal. Try ssh'ing into the machine, then sourcing the appropriate setup.bash file, and then run roscore.

edit flag offensive delete link more

Comments

Thanks, the superuser of my computer wasn't able to do roscore :)

pexison gravatar image pexison  ( 2015-06-12 03:16:54 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-06-08 05:55:06 -0500

Seen: 1,503 times

Last updated: Jun 08 '15