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

As per the beginner tutorial 1, when i try this command (export | grep) in terminal I am getting the following in my terminal. kindly give me a solution

asked 2015-02-17 14:39:20 -0500

SIVA gravatar image

updated 2015-02-18 03:17:42 -0500

BennyRe gravatar image
siva@siva-Inspiron-N5110:~$ export | grep ROSdeclare -x ROSLISP_PACKAGE_DIRECTORIES=""
declare -x ROS_DISTRO="hydro"
declare -x ROS_ETC_DIR="/opt/ros/hydro/etc/ros"
declare -x ROS_MASTER_URI="http://localhost:11311"
declare -x ROS_PACKAGE_PATH="/opt/ros/hydro/share:/opt/ros/hydro/stacks"
declare -x ROS_ROOT="/opt/ros/hydro/share/ros"
edit retag flag offensive close merge delete



It's not clear what your question is. What do you need a solution to?

corb gravatar image corb  ( 2015-02-17 22:49:30 -0500 )edit

declare -x ROSLISP_PACKAGE_DIRECTORIES="" declare -x ROS_DISTRO="hydro" declare -x ROS_ETC_DIR="/opt/ros/hydro/etc/ros"
When i execute export | grep i get the above statements displayed. Does this represent that all these paths are set or it is an error??

Does these

SIVA gravatar image SIVA  ( 2015-02-18 03:27:51 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-18 07:22:40 -0500

kramer gravatar image

There doesn't seem to be an error there that I can see.

Based on your comment, note that what you're seeing aren't necessarily paths. The capitalized items are environment variables, some of whose values are set to paths (e.g., ROS_ROOT is set to /opt/ros/hydro/share/ros), some set to other things (e.g., ROS_DISTRO is set to the string hydro and ROS_MASTER_URI is set to the URL http://localhost:11311).

All of export, grep, and | (called pipe) are command-line commands; to learn more, read the man pages (either google the terms or, from the command line, use the man command).

edit flag offensive delete link more


Ya i got it. thanks a lot for the reply.

SIVA gravatar image SIVA  ( 2015-02-18 07:49:08 -0500 )edit

Question Tools


Asked: 2015-02-17 14:39:20 -0500

Seen: 185 times

Last updated: Feb 18 '15