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

How to source ROS Kinetic in Ubuntu Core via ssh?

asked 2018-04-14 20:59:48 -0500

MechLc gravatar image

updated 2018-04-14 21:00:12 -0500

Hi everyone,

I am having a small issue sourcing ROS kinectic in my Raspberry PI 3(OS: Ubuntu Core). Every time I want to use ROS i have to use the command source /opt/ros/kinetic/setup.bash and then I can use ROS commands like roscore. But I want to source ROS kinectic in the bash file. I have tried sudo nano ~/.bashrc but doesnt source ROS automatically. Is there another way to source it in the bash file?

Thank you

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-04-15 00:25:01 -0500

gvdhoorn gravatar image

IIRC, logins over SSH are treated differently from regular logins, hence .bashrc is not being evaluated, and thus your source line isn't executed.

If you search Google for this you're bound to find many hints.

I have tried sudo nano ~/.bashrc [..]

Why the sudo? Are you running things as root?

edit flag offensive delete link more

Comments

found it thanks! Doing

sudo nano /etc/bash.bashrc

also sudo because i figured we might be superuser

MechLc gravatar image MechLc  ( 2018-04-15 00:32:17 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-04-14 20:59:48 -0500

Seen: 255 times

Last updated: Apr 15 '18