installROSTX2
installROSTX2 copied to clipboard
Not a valid identifier
Hi Jim:
After install ROS and when I open a new terminal, it always complained
bash: export: 192.168.55.1': not a valid identifier bash: export:
xxx': not a valid identifier
bash: export: `': not a valid identifier
Why?
Thank you.
You will need to edit the ~/.bashrc file to set your network configuration. Set the ROS_MASTER and ROS_IP appropriately.
Thanks. How can I find the ROS_MASTER and ROS_IP?
These are the standard ROS definitions. ROS works as a distributed network system. You will need to familiarize yourself with the nomenclature and networking setup for your particular robot/application. There are many articles on the web, it's beyond the scope of what will be discussed here.
During installation, the installer assumes that you are running ROS_MASTER on the Jetson (localhost) and that the ROS_IP is the current IP of the Jetson. There appears to be an issue in your case, perhaps a dynamic address assignment, or a malformed export statement.
this is the line in my .bashrc.
export ROS_IP=192.168.0.29 192.168.55.1 2601:644:8103:5760:89d4:554b:8780:4cc1 2601:644:8103:5760:6467:b598:2740:cb24
The ip is correct. I think the messages meant the syntax of this line was not correct.
It should only be one of the IP addresses, e.g.
export ROS_IP=192.168.0.29