| ... | @@ -2,10 +2,10 @@ |
... | @@ -2,10 +2,10 @@ |
|
|
In order to enable your local machine to communicate with the robot machine (the laptop which has ROS in it and is directly connected to the Turtlebot), we need to configure the ROS_MASTER_URI environment variable to point at the right machine, so we could install and run RVIZ on client/users machine and control the Turtlebot remotely.
|
|
In order to enable your local machine to communicate with the robot machine (the laptop which has ROS in it and is directly connected to the Turtlebot), we need to configure the ROS_MASTER_URI environment variable to point at the right machine, so we could install and run RVIZ on client/users machine and control the Turtlebot remotely.
|
|
|
### ROS Machine configuration
|
|
### ROS Machine configuration
|
|
|
In the ROS machine open up a Terminal, then open the bashrc file (>nano ~/.bashrc) and add the following lines:
|
|
In the ROS machine open up a Terminal, then open the bashrc file (>nano ~/.bashrc) and add the following lines:
|
|
|
⦁ #ROBOT machine conf
|
|
⦁ #ROBOT machine conf
|
|
|
⦁ export ROS_MASTER_URI=http://localhost:11311
|
|
⦁ export ROS_MASTER_URI=http://localhost:11311
|
|
|
⦁ export ROS_HOSTNAME=172.20.2.106
|
|
⦁ export ROS_HOSTNAME=172.20.2.106
|
|
|
⦁ export ROS_IP=172.20.2.106
|
|
⦁ export ROS_IP=172.20.2.106
|
|
|
⦁ echo "ROS_HOSTNAME: "$ROS_HOSTNAME
|
|
⦁ echo "ROS_HOSTNAME: "$ROS_HOSTNAME
|
|
|
⦁ echo "ROS_IP: "$ROS_IP
|
|
⦁ echo "ROS_IP: "$ROS_IP
|
|
|
⦁ echo "ROS_MASTER_URI: "$ROS_MASTER_URI |
|
⦁ echo "ROS_MASTER_URI: "$ROS_MASTER_URI |