Skip to content

Commit e2181f7

Browse files
Merge pull request #469 from clearpathrobotics/ONAV-2811
OutdoorNav - Installing Updates
2 parents da10930 + fe8ea38 commit e2181f7

File tree

7 files changed

+289
-1
lines changed

7 files changed

+289
-1
lines changed

docs_outdoornav_user_manual/api/api_overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ While the Web User Interface provides a great way to get started quickly
1010
with OutdoorNav Software, some users will want programmatic control or
1111
may wish to develop their own graphical user interfaces \-- for those
1212
users, the Application Programming Interface (API) provides the
13-
flexibility to do so. This is illustrated in the figure below.
13+
flexibility to do so.
1414

1515
The API is, at present, a [ROS 2 Jazzy](https://docs.ros.org/en/jazzy/index.html) API.
1616
The API is divided into two sections, whose details are provided below:
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"label": "Installation",
3+
"position": 10
4+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Installation
3+
sidebar_label: Installation
4+
sidebar_position: 1
5+
toc_min_heading_level: 2
6+
toc_max_heading_level: 4
7+
---
8+
9+
As of version 2.0.0, the OutdoorNav software uses ROS 2 Jazzy as its base. It is incompatible
10+
with any other previous version of ROS. If you have a base platform running an older version
11+
of ROS 2, consult [the following page](../../docs/ros/installation/upgrading) to upgrade your
12+
base to ROS 2 Jazzy. If you have a base platform running ROS 1, please reach out to
13+
\<[email protected]\> in order to receive instructions to install the correct
14+
version.
15+
16+
## Installing OutdoorNav Updates
17+
18+
All AMP/Observer UGVs ship with the latest version of the OutdoorNav software.
19+
If you receive an email regarding an available OutdoorNav software update, follow
20+
the [update instructions](updates) to update the OutdoorNav software.
21+
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
---
2+
title: Installing Updates
3+
sidebar_label: Installing Updates
4+
sidebar_position: 1
5+
toc_min_heading_level: 4
6+
toc_max_heading_level: 4
7+
---
8+
9+
The following page details the steps to update the OutdoorNav software that is already
10+
installed on your platform.
11+
12+
13+
:::note
14+
15+
Please ensure that you have received an email advising you that an update is available
16+
since only those who receive the update emails will be have access to the update files.
17+
18+
:::
19+
20+
## Download
21+
22+
1. Click the link that was sent to you in the update email. You will be sent to a cloud storage
23+
drive with the following file structure (/Documents/General/Releases/...)
24+
25+
2. Navigate to the version folder you wish to update to and download the following files:
26+
27+
- **cpr-onav-ui.tar**
28+
29+
- **cpr-onav-base.tar**
30+
31+
- **cpr-onav-autonomy.tar**
32+
33+
- **cpr-onav-app.zip**
34+
35+
3. Connect to the robot
36+
37+
Option 1: via ethernet (port located inside of the rear charge port door)
38+
39+
Option 2: via wifi (Husky SSID: cpr_a300_amp_xxx)
40+
41+
4. Transfer all files to the robots **/opt/onav/** folder
42+
43+
**Linux**:
44+
45+
```code
46+
scp cpr-onav-app.zip cpr-onav-ui.tar cpr-onav-base.tar cpr-onav-autonomy.tar [email protected]:/opt/onav/
47+
```
48+
49+
**Windows**: Use [FileZilla Client](https://filezilla-project.org/download.php?platform=win64) to transfer all files to the robot.
50+
51+
SFTP Connection:
52+
53+
* Host: sftp://192.168.131.1
54+
55+
* Username: robot
56+
57+
* Password: clearpath
58+
59+
60+
## Update
61+
62+
1. Run the below command to update the version of OutdoorNav, where
63+
***\<latest_version\>*** is the folder of the last version of OutdoorNav that
64+
has been installed on the robot and ***\<new_version\>*** is the version you want
65+
to update to.
66+
67+
```code
68+
python3 /opt/onav/<latest_version>/app/update/update.py -v <new_version>
69+
```
70+
71+
Eg. To update from version 2.1.0 to version 2.2.0 run the following
72+
73+
```code
74+
python3 /opt/onav/2.1.0/app/update/update.py -v 2.2.0
75+
```
76+
77+
* this will create a new version folder in /opt/onav/
78+
79+
* copy all persistent data from the last version
80+
81+
* installs the app folder
82+
83+
* stops the currently running version of OutdoorNav
84+
85+
* starts the new version of OutdoorNav
86+
87+
88+
## Cleanup
89+
90+
1. Remove all extraneous files
91+
92+
```code
93+
rm /opt/onav/cpr-onav-ui.tar /opt/onav/cpr-onav-base.tar /opt/onav/cpr-onav-autonomy.tar /opt/onav/cpr-onav-app.zip
94+
```
95+
96+
:::note
97+
98+
If you have made any customization changes to the app/ directory of your
99+
previous version, you will need to make these same modifications manually
100+
yourself to the new versions app/ directory files.
101+
102+
:::
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"label": "Installation",
3+
"position": 10
4+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Installation
3+
sidebar_label: Installation
4+
sidebar_position: 1
5+
toc_min_heading_level: 2
6+
toc_max_heading_level: 4
7+
---
8+
9+
As of version 2.0.0, the OutdoorNav software uses ROS 2 Jazzy as its base. It is incompatible
10+
with any other previous version of ROS. If you have a base platform running an older version
11+
of ROS 2, consult [the following page](../../docs/ros/installation/upgrading) to upgrade your
12+
base to ROS 2 Jazzy. If you have a base platform running ROS 1, please reach out to
13+
\<[email protected]\> in order to receive instructions to install the correct
14+
version.
15+
16+
## Installing OutdoorNav Updates
17+
18+
All AMP/Observer UGVs ship with the latest version of the OutdoorNav software.
19+
If you receive an email regarding an available OutdoorNav software update, follow
20+
the [update instructions](updates) to update the OutdoorNav software.
21+
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
---
2+
title: Installing Updates
3+
sidebar_label: Installing Updates
4+
sidebar_position: 1
5+
toc_min_heading_level: 4
6+
toc_max_heading_level: 4
7+
---
8+
9+
The following page details the steps to update the OutdoorNav software that is already
10+
installed on your platform.
11+
12+
13+
:::note
14+
15+
Please ensure that you have received an email advising you that an update is available
16+
since only those who receive the update emails will be have access to the update files.
17+
18+
:::
19+
20+
## Download
21+
22+
1. Click the link that was sent to you in the update email. You will be sent to a cloud storage
23+
drive with the following file structure (/Documents/General/Releases/...)
24+
25+
2. Navigate to the version folder you wish to update to and download the following files:
26+
27+
- **cpr-onav-ui.tar**
28+
29+
- **cpr-onav-base.tar**
30+
31+
- **cpr-onav-autonomy.tar**
32+
33+
- **cpr-onav-app.zip**
34+
35+
3. Connect to the robot
36+
37+
Option 1: via ethernet (port located inside of the rear charge port door)
38+
39+
Option 2: via wifi (Husky SSID: cpr_a300_amp_xxx)
40+
41+
4. Transfer all files to the robots **/opt/onav/** folder
42+
43+
**Linux**:
44+
45+
```code
46+
scp cpr-onav-app.zip cpr-onav-ui.tar cpr-onav-base.tar cpr-onav-autonomy.tar [email protected]:/opt/onav/
47+
```
48+
49+
**Windows**: Use [FileZilla Client](https://filezilla-project.org/download.php?platform=win64) to transfer all files to the robot.
50+
51+
SFTP Connection:
52+
53+
* Host: sftp://192.168.131.1
54+
55+
* Username: robot
56+
57+
* Password: clearpath
58+
59+
:::note
60+
61+
If you are upgrading to version 2.1.0 from 2.0.x please also navigate to
62+
Documents/General/Releases/\<version\> (on the Sharepoint), download one
63+
of the following files and transfer it to the robot:
64+
65+
* **outdoornav.yaml.amp** for standard AMP robots,
66+
67+
```code
68+
scp outdoornav.yaml [email protected]:/opt/onav/
69+
```
70+
71+
* **outdoornav.yaml.observer** for Observer robots.
72+
73+
```code
74+
scp outdoornav.yaml.observer [email protected]:/opt/onav/
75+
```
76+
77+
Finally, navigate to the Documents/General/Releases/\<version\> (on the Sharepoint),
78+
download the update script and transfer it to the robot:
79+
80+
```code
81+
scp update.py [email protected]:/opt/onav/2.0.0/app/upgrade/
82+
```
83+
:::
84+
85+
## Update
86+
87+
1. Run the below command to update the version of OutdoorNav, where
88+
***\<latest_version\>*** is the folder of the last version of OutdoorNav that
89+
has been installed on the robot and ***\<new_version\>*** is the version you want
90+
to update to.
91+
92+
```code
93+
python3 /opt/onav/<latest_version>/app/upgrade/update.py -v <new_version>
94+
```
95+
96+
Eg. To update from version 2.0.0 to version 2.1.0 run the following
97+
98+
```code
99+
python3 /opt/onav/2.0.0/app/upgrade/update.py -v 2.1.0
100+
```
101+
102+
* this will create a new version folder in /opt/onav/
103+
104+
* copy all persistent data from the last version
105+
106+
* installs the app folder
107+
108+
* stops the currently running version of OutdoorNav
109+
110+
* starts the new version of OutdoorNav
111+
112+
:::note
113+
114+
If you have an Observer model robot please use the following command to update
115+
116+
```code
117+
python3 /opt/onav/<latest_version>/app/upgrade/update.py -v <new_version> -c observer
118+
```
119+
120+
:::
121+
122+
## Cleanup
123+
124+
1. Remove all extraneous files
125+
126+
```code
127+
rm /opt/onav/cpr-onav-ui.tar /opt/onav/cpr-onav-base.tar /opt/onav/cpr-onav-autonomy.tar /opt/onav/cpr-onav-app.zip
128+
```
129+
130+
:::note
131+
132+
If you have made any customisation changes to the app/ directory of your
133+
previous version, you will need to make these same modifications manually
134+
yourself to the new versions app/ directory files.
135+
136+
:::

0 commit comments

Comments
 (0)