Made for Cognitive Robotics 2021/2022 by João Sousa and Nuno Marques, Masters Degree in Robotics, A.I. and Control, DEEC @ UC
NOTE: Make sure to change the hosts file (/etc/hosts) to contain the correct IP address of orangepipcplus, by adding the line XXX.XXX.XXX.XXX orangepipcplus
.
- Connect gamepad to the computer via Bluetooth.
- Connect the computer to the robot via ethernet cable.
- Configure the robot's IP address in wired network settings.
- Run
$ ssh group01@192.168.0.234
in the computer's console. The password is1234
. - Run
$ tmux
in the computer's console. - Run
$ roscore
in tmux. - Run
$ roslaunch nomadic_driver robot.launch
in tmux. - Run
$ env | grep ROS
in the computer's terminal and check the port ofROS_MASTER_URI
. - In each new window of the computer's terminal, start by running
$ export ROS_MASTER_URI=http://192.168.0.234:11311/
. - Use
sftp://group01@192.168.0.234
in the file explorer to access the robot's files. The password is1234
.
- Connect gamepad to the computer via Bluetooth.
- Connect to the robots network, nomadb. The password is
scout1234
. - Run
$ ssh group01@10.42.0.1
in the computer's console. The password is1234
. - Run
$ tmux
in the computer's console. - Run
$ roscore
in tmux. - Run
$ roslaunch nomadic_driver robot.launch
in tmux. - Run
$ env | grep ROS
in the computer's terminal and check the port ofROS_MASTER_URI
. - In each new window of the computer's terminal, start by running
$ export ROS_MASTER_URI=http://10.42.0.1:11311/
. - Use
sftp://group01@10.42.0.1
in the file explorer to access the robot's files. The password is1234
.
- Connect to the robots network, nomadb, or connect to it via ethernet cable.
- Run
$ sudo apt install net-tools
. - Run
$ ifconfig
and check the first 3 numbers of the your IP address underwlp3s0
. - Run
$ sudo snap install nmap
. - Run
$ nmap -sP [first 3 IP address numbers].0/24
and check the IP address of_gateway
. That is the robots IP address.
- Run
$ roscore
in the computer. - Open new terminal and run
$ roslaunch museum_guide mapping_sim.launch joycon:=true
(leave out the joycon part to use the keyboard instead). - Move the robot around. The deadman switch is X for a DualShock 4.
- Open new terminal and run
$ rosrun map_server map_saver -f map_name
. The map will be saved in the current directory.
- Run
$ roscore
in the computer. - Open new terminal and run
$ roslaunch museum_guide mapping_real.launch joycon:=true
(leave out the joycon part to use the keyboard instead). - Move the robot around. The deadman switch is X for a DualShock 4.
- Open new terminal and run
$ rosrun map_server map_saver -f map_name
. The map will be saved in the current directory.