Skip to content

Commit 3172298

Browse files
Merge pull request #479 from clearpathrobotics/fix/update
fixed some small issues with the update process
2 parents 4a8eeae + 0755131 commit 3172298

File tree

2 files changed

+32
-13
lines changed
  • docs_outdoornav_user_manual/installation
  • outdoornav_user_manual_versioned_docs/version-2.0.0/installation

2 files changed

+32
-13
lines changed

docs_outdoornav_user_manual/installation/updates.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ to update to.
9595

9696
:::note
9797

98-
If you have made any customization changes to the app/ directory of your
98+
If you have made any customization changes to the **app/** directory of your
9999
previous version, you will need to make these same modifications manually
100100
yourself to the new versions app/ directory files.
101101

outdoornav_user_manual_versioned_docs/version-2.0.0/installation/updates.mdx

Lines changed: 31 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,26 +59,29 @@ drive with the following file structure (/Documents/General/Releases/...)
5959
:::note
6060

6161
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:
62+
Documents/General/Releases/2.1 (on the cloud storage), download one
63+
of the following files :
64+
65+
* **outdoornav.yaml.amp** for standard AMP robots, or,
66+
67+
* **outdoornav.yaml.observer** for Observer robots.
68+
69+
Transfer the file to the robot:
6470

65-
* **outdoornav.yaml.amp** for standard AMP robots,
6671

6772
```code
68-
scp outdoornav.yaml [email protected]:/opt/onav/
73+
scp outdoornav.yaml.amp [email protected]:/opt/onav/
6974
```
7075

71-
* **outdoornav.yaml.observer** for Observer robots.
72-
7376
```code
7477
scp outdoornav.yaml.observer [email protected]:/opt/onav/
7578
```
7679

77-
Finally, navigate to the Documents/General/Releases/\<version\> (on the Sharepoint),
80+
Finally, navigate to the Documents/General/Releases/2.1 (on the cloud storage),
7881
download the update script and transfer it to the robot:
7982

8083
```code
81-
scp update.py [email protected]:/opt/onav/2.0.0/app/upgrade/
84+
scp update.py [email protected]:/opt/onav/ros2/app/upgrade/
8285
```
8386
:::
8487

@@ -90,13 +93,13 @@ has been installed on the robot and ***\<new_version\>*** is the version you wan
9093
to update to.
9194

9295
```code
93-
python3 /opt/onav/<latest_version>/app/upgrade/update.py -v <new_version>
96+
python3 /opt/onav/<latest_version>/app/upgrade/update.py -v <new_version> -c amp
9497
```
9598

9699
Eg. To update from version 2.0.0 to version 2.1.0 run the following
97100

98101
```code
99-
python3 /opt/onav/2.0.0/app/upgrade/update.py -v 2.1.0
102+
python3 /opt/onav/ros2/app/upgrade/update.py -v 2.1.0 -c amp
100103
```
101104

102105
* this will create a new version folder in /opt/onav/
@@ -114,7 +117,7 @@ to update to.
114117
If you have an Observer model robot please use the following command to update
115118

116119
```code
117-
python3 /opt/onav/<latest_version>/app/upgrade/update.py -v <new_version> -c observer
120+
python3 /opt/onav/ros2/app/upgrade/update.py -v <new_version> -c observer
118121
```
119122

120123
:::
@@ -129,8 +132,24 @@ python3 /opt/onav/<latest_version>/app/upgrade/update.py -v <new_version> -c obs
129132

130133
:::note
131134

135+
If you have an standard AMP model robot please use the following command to finalize cleanup:
136+
137+
```code
138+
rm /opt/onav/outdoornav.yaml.amp
139+
```
140+
141+
If you have an Observer model robot please use the following command to finalize cleanup:
142+
143+
```code
144+
rm /opt/onav/outdoornav.yaml.observer
145+
```
146+
147+
:::
148+
149+
:::note
150+
132151
If you have made any customisation changes to the app/ directory of your
133152
previous version, you will need to make these same modifications manually
134-
yourself to the new versions app/ directory files.
153+
yourself to the new versions **app/** directory files.
135154

136155
:::

0 commit comments

Comments
 (0)