-
Notifications
You must be signed in to change notification settings - Fork 0
Using Launch Files
CHARISMAlab edited this page Sep 21, 2018
·
3 revisions
These instructions are applicable to the all the guides listed above. Each of the following parts will need to be ran on their own terminal window/ or tab. The steps used to run a ChairBot are replicable for each ChairBot needed. All the steps are under the assumption the neato-botvac and raspberry pi are turned on, a PS4 controller is connected to the laptop via bluetooth, and both the laptop and the raspberry pi(s) are all connected to the same WiFi network. If not, please complete the steps mentioned above.
- Open a terminal window
- If the inet IP address of the computer is unknown
- Run the command: sudo ifconfig
- Locate the inet addr of wlan0
- Run the commands:
source ~/catkin_ws/devel/setup.bash-
export ROS_IP=192.168.1.64(local inet IP address) -
export ROS_MASTER_URI=http://192.168.1.64:11311(local inet IP address)
- Run the desired launch file
- Ex: roslaunch central_server sub.launch
- Choose from this list under Laptop / Main Computer
- Open a new terminal window
- Ssh onto a raspberry pi
- One of the following commands - the latter if the first does not work right away
- ssh chairbot01@chairbot01-desktop.local
- ssh chairbot01@192.168.1.73
- ssh chairbot02@chairbot02-desktop.local
- ssh chairbot02@192.168.1.136
- ssh chairbot03@chairbot03-desktop.local
- ssh chairbot03@192.168.1.205
- ssh chairbot04@chairbot04-desktop.local
- ssh chairbot04@192.168.1.99
- ssh chairbot01@chairbot01-desktop.local
- Enter the password of the raspberry pi
- All current passwords are: raspberry
- If the inet IP address of the raspberry pi is unknown
- Run the command: sudo ifconfig
- Locate the inet addr of wlan0
- Run the commands:
source ~/catkin_ws/devel/setup.bash-
export ROS_IP=192.168.1.73(local inet IP address) -
export ROS_MASTER_URI=http://192.168.1.64:11311(IP address of computer)
- Run the desired launch file
- Ex: roslaunch neato_node sub.launch
- Choose from this list under ChairBot / Raspberry Pi