1. Network setupconnecting Freight to a Monitor
The easiest-Configure the wireless networking is-connect a monitor, keyboard, and mouse and use the Network Mana Ger interface.
Referencing the picture of Access Board with the previous post, we should see a HDMI port on the real robot. While, actually we only get a Display port on the robot we have.
So we need to find a cable for the Display Port before everything goes on.
Then we need to connect a monitor, USB keyboard and USB mouse to the side panel ports. Then use them to select your network from the Networking menu, it looks like a empty Quarter circle pointed downward when Disconnected, in the upper right hand corner of the. Once It is set it should remain connected through all reboots.
Networking
The robot have both internal and external ethernet-based networks, as well as a external wireless network interface. The external network interfaces is intended for users to connect to the robot, while the internal networks is used to SE ND data between the internal components of the robot.
The majority of communication between components onboard Fetch and Freight happen via the internal Ethernet network. This network was located in the 10.42.42.0/24 subnet and connects the robot computer to the devices listed in the table Bel ow. As such, it is important this your building networks do not use the same subnet.
Device |
IP Address |
Laser Range Finder |
10.42.42.10 |
Mainboard |
10.42.42.42 |
Gripper |
10.42.42.43 |
There is possible interfaces for connecting to the robot Computer:the wireless interface and the Wired interface. Most users would prefer to use the wireless interface, however the Access panel also includes a Gigabit Ethernet interface For stationary tasks, that require higher bandwidth.
Warning
Never drive the robot with a Ethernet cable attached to the access panel.
Remotely Logging in
Once the robot is turned on and the robot are on the network, SSH into the computer of the robot using the default fetch
us ER account:
>$ ssh [email protected]<robot_name_or_ip>
Default User Account
Each robot ships with a default user account, with username fetch and password robotics. It's recommended to change the password when setting up the robot.
Creating User Accounts
It is recommended this each user create their own account on the robot, especially when developing from source. To create a account on the robot, SSH into the robot as the fetch user, and run the following commands:
>$ sudo adduser username>$ sudo usermod-g adm,cdrom,sudo,dip,plugdev,lpadmin,sambashare USERNAME
2. Other Preparationclock synchronization
It is recommended to install the Chrony NTP client on both robots and desktops in order to keep their time synchronized. By default, robots does not ship with Chrony installed. To install Chrony on Ubuntu:
> sudo apt-get update> sudo apt-get install Chrony
Upstart Services
Fetch and Freight use upstart to start and manage various services on the robot. The following upstart services start when the robot is booted:
Name |
Description |
Roscore |
Starts a Roscore |
Robot |
Starts robot drivers, requires Roscore |
Sixad |
Driver for robot joystick over Bluetooth |
Soundplay |
Starts the Sound_play node for audio in ROS |
Upstart service can be restart with the Service command. For instance, to restart the robot drivers:
>sudo Service robot Stop>sudo service robot start
Since the Roscore runs independently of the drivers, the drivers can be restarted without have to restart remote Instanc Es of Rviz or similar ROS tools. Note that this also means the parameter server is not being reset when restarting the drivers, and so a roscore restart may be required if the parameter server have been corrupted by a user script.
Log Files
A number of log files is created on the robot. Log files related to upstart services can is found in The/var/log/upstart folder, the name of the log would be Service.log .
ROS logs for the robot and Roscore upstart services would be created in The/var/log/ros folder.
Speakers and Audio
The mainboard of Fetch and Freight contains a USB audio device. While the device enumerates as a standard Linux audio device, we recommend using the Sound_play ROS package to access the Speakers. Is sound_play
automatically started as a upstart service when the robot starts. This service was pre-configured to the correct group-level access to the audio system. If using the speakers directly through a Linux interface, be-sure-add your user to the audio
group in order to actually Access the speakers.
sound_play
while the ROS interface allows users to set an audio level, the audio level set is a percentage of the audio level s ET for Linux. To adjust the Linux audio level, use the following command and follow the on-screen instructions:
>$ sudo su ros-c "Alsamixer-c 1"
Run a Freight robot (2)