forked from icub-tech-iit/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'icub-tech-iit:master' into master
- Loading branch information
Showing
12 changed files
with
131 additions
and
25 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
docs/ergocub_operating_systems/ergocub_torso/install_from_scratch.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Install from scratch | ||
|
||
`ergocub-torso` is based on Ubuntu server 22.04, we will install it from the default installer and then we manually customize it. | ||
|
||
To install the OS from scratch, please follow [this guide](../../icub_operating_systems/icubos/installation-from-scratch.md), being careful to install the [**Ubuntu 22.04 LTS Server**](https://releases.ubuntu.com/focal). | ||
|
||
!!! note | ||
Remember to substitute the references to **`icub`** and **`icub-head`** respectively with **`ergocub`** and **`ergocub-torso`**. | ||
|
||
To synchronize the system date and time, edit the file `/etc/default/ntpdate` by changing the following lines: | ||
|
||
``` | ||
NTPDATE_USE_NTP_CONF="no" | ||
NTPSERVERS="10.0.2.1 ntp.ubuntu.com" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Introduction | ||
|
||
This manual describes how to install and customize the linux operating systems required to run on machines in the ergoCub enviroment. | ||
|
||
The ergoCub robot relies on two machines: `ergocub-head`, a [`NVIDIA Jetson Xavier AGX`](https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-xavier-series/) used to control the realsense camera, the lidar and the OLED display, and `ergocub-torso`, which is a [`COM express type 10`](https://www.advantech.com/en-eu/products/0a009637-4f9d-4541-8624-a55de3ffb2a6/som-7583/mod_17ca9251-bdf5-4f74-9256-edd63a373b39) that controls the motors. | ||
|
||
# OS configurations | ||
|
||
The following guides will help you to properly configure the OS for the specific board. | ||
|
||
- [ergocub-head](../icub_operating_systems/icubos/jetpack.md) | ||
- [ergocub-torso](ergocub_torso/install_from_scratch.md) | ||
|
||
Alternatively, you can download the OS pre-built images [here](../icub_operating_systems/download.md). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# ergoCub network | ||
|
||
The network on ergocub can be divided in two parts: | ||
|
||
- **internal network (10.0.1.0/24)**: it connects `ergocub-torso` to all the motor controller boards on the robot, it is a segregated network (there is no connection from the nodes on its subnet and the ouside world) and it is used to send motor commands from ergocub-torso to motor control boards; | ||
- **extenal network (10.0.2.0/24)**: it is managed by the ergocub-server and it connects all the ergoCub machines together, handling the internet connection too. This connection can be _wired_ or _wireless_; | ||
- **backup network (10.0.0.0/24)**: this is a backup/troubleshoot network for connecting directly to the robot in case of not reaching the external network. | ||
|
||
|
||
## ergoCub network interfaces | ||
|
||
- `ergocub-torso` | ||
|
||
On ergocub-torso, one of the two ethernet interfaces is connected to the internal network. The other one, instead, is directly connected to ergocub-head via backup network. | ||
|
||
- `ergocub-head` | ||
|
||
On ergocub-head, the ethernet interfaces are bridged together on the backup network. | ||
|
||
Both head and torso are connected to the external network via WiFi. | ||
|
||
## IP addresses and other network configurations | ||
|
||
Below you can find the default network parameters of the ergoCub networks. | ||
|
||
### Internal network configurations | ||
|
||
This configuration depends deeply on the motor control board firmware and thus it can't be changed. | ||
|
||
- **IP address** : 10.0.1.104 - _STATIC_ | ||
- **Netmask** : 255.255.255.0 | ||
|
||
Since this is a segregated network, there is no default gateway. | ||
|
||
### External network configurations | ||
|
||
Usually, it is a static configuration, but it works also in DHCP mode. This configuration _can be changed_ but it is not recommended. | ||
|
||
For `ergocub-torso`: | ||
|
||
- **WiFi IP address** : 10.0.2.2 | ||
- **Netmask** : 255.255.255.0 | ||
- **Default Gateway** : 10.0.2.1 | ||
- **DNS server** : 10.0.2.1 | ||
|
||
For `ergocub-head`: | ||
|
||
- **WiFi IP address** : 10.0.2.3 | ||
- **Netmask** : 255.255.255.0 | ||
- **Default Gateway** : 10.0.2.1 | ||
- **DNS server** : 10.0.2.1 | ||
|
||
### Backup network configurations | ||
|
||
For `ergocub-torso`: | ||
|
||
- **IP address** : 10.0.0.2 | ||
- **Netmask** : 255.255.255.0 | ||
|
||
For `ergocub-head`: | ||
|
||
- **IP address** : 10.0.0.3 | ||
- **Netmask** : 255.255.255.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
docs/icub_operating_systems/other-machines/icub-server-from-scratch.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[checking] | ||
threads=20 | ||
timeout=300 | ||
sslverify=0 | ||
|
||
[output] | ||
|