-
Notifications
You must be signed in to change notification settings - Fork 12
OutdoorNav - Installing Updates #469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 3 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
3f70940
added update instructions
jmastrangelo-cpr 4c52ef3
move note location and update scp command
jmastrangelo-cpr 67e8a4e
finalized update pages for 2.0.0 and 2.1.0
jmastrangelo-cpr 9e8be94
review changes
jmastrangelo-cpr fe8ea38
review fix
jmastrangelo-cpr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,4 @@ | ||
| { | ||
| "label": "Installation", | ||
| "position": 10 | ||
| } |
This file contains hidden or 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,21 @@ | ||
| --- | ||
| title: Installation | ||
| sidebar_label: Installation | ||
| sidebar_position: 1 | ||
| toc_min_heading_level: 2 | ||
| toc_max_heading_level: 4 | ||
| --- | ||
|
|
||
| As of version 2.0.0, the OutdoorNav software uses ROS 2 Jazzy as its base. It is incompatible | ||
| with any other previous version of ROS. If you have a base platform running an older version | ||
| of ROS2, consult [the following page](../../docs/ros/installation/upgrading) to upgrade your base to ROS2 Jazzy. | ||
| If you have a base platform running ROS1, please reach out to | ||
| \<[email protected]\> in order to receive instructions to install the correct | ||
| version. | ||
|
|
||
| ## Installing OutdoorNav Updates | ||
|
|
||
| All AMP/Observer UGVs ship with the latest version of the OutdoorNav software. | ||
| If you receive an email regarding an available OutdoorNav software update, follow | ||
| the [update instructions](updates) to update the OutdoorNav software. | ||
|
|
||
This file contains hidden or 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,102 @@ | ||
| --- | ||
| title: Installing Updates | ||
| sidebar_label: Installing Updates | ||
| sidebar_position: 1 | ||
| toc_min_heading_level: 4 | ||
| toc_max_heading_level: 4 | ||
| --- | ||
|
|
||
| The following page details the steps to update the OutdoorNav software that is already | ||
| installed on your platform. | ||
|
|
||
|
|
||
| :::note | ||
|
|
||
| Please ensure that you have received an email advising you that an update is available | ||
| since only those who receive the update emails will be have access to the update files. | ||
|
|
||
| ::: | ||
|
|
||
| ## Download | ||
|
|
||
| 1. Click the link that was sent to you in the update email. You will be sent to a Sharepoint | ||
jmastrangelo-cpr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| drive with the following file structure (/Documents/General/Releases/...) | ||
|
|
||
| 2. Navigate to the version folder you wish to update to and download the following files: | ||
|
|
||
| - **cpr-onav-ui.tar** | ||
|
|
||
| - **cpr-onav-base.tar** | ||
|
|
||
| - **cpr-onav-autonomy.tar** | ||
|
|
||
| - **cpr-onav-app.zip** | ||
|
|
||
| 3. Connect to the robot | ||
|
|
||
| Option 1: via ethernet (port located inside of the rear charge port door) | ||
|
|
||
| Option 2: via wifi (Husky SSID: cpr_a300_amp_xxx) | ||
|
|
||
| 4. Transfer all files to the robots **/opt/onav/** folder | ||
|
|
||
| **Linux**: | ||
|
|
||
| ```code | ||
| scp cpr-onav-app.zip cpr-onav-ui.tar cpr-onav-base.tar cpr-onav-autonomy.tar [email protected]:/opt/onav/ | ||
| ``` | ||
|
|
||
| **Windows**: Use [FileZilla Client](https://filezilla-project.org/download.php?platform=win64) to transfer all files to the robot. | ||
|
|
||
| SFTP Connection: | ||
|
|
||
| * Host: sftp://192.168.131.1 | ||
|
|
||
| * Username: robot | ||
|
|
||
| * Password: clearpath | ||
|
|
||
|
|
||
| ## Update | ||
|
|
||
| 1. Run the below command to update the version of OutdoorNav, where | ||
| ***\<latest_version\>*** is the folder of the last version of OutdoorNav that | ||
| has been installed on the robot and ***\<new_version\>*** is the version you want | ||
| to update to. | ||
|
|
||
| ```code | ||
| python3 /opt/onav/<latest_version>/app/update/update.py -v <new_version> | ||
| ``` | ||
|
|
||
| Eg. To update from version 2.1.0 to version 2.2.0 run the following | ||
|
|
||
| ```code | ||
| python3 /opt/onav/2.1.0/app/update/update.py -v 2.2.0 | ||
| ``` | ||
|
|
||
| * this will create a new version folder in /opt/onav/ | ||
|
|
||
| * copy all persistent data from the last version | ||
|
|
||
| * installs the app folder | ||
|
|
||
| * stop the currently running version of OutdoorNav | ||
|
|
||
| * start the new version of OutdoorNav | ||
jmastrangelo-cpr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|
|
||
| ## Cleanup | ||
|
|
||
| 1. Remove all extraneous file | ||
jmastrangelo-cpr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```code | ||
| 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 | ||
| ``` | ||
|
|
||
| :::note | ||
|
|
||
| If you have made any customization changes to the app/ directory of your | ||
| previous version, you will need to make these same modifications manually | ||
| yourself to the new versions app/ directory files. | ||
|
|
||
| ::: | ||
4 changes: 4 additions & 0 deletions
4
outdoornav_user_manual_versioned_docs/version-2.0.0/installation/_category_.json
This file contains hidden or 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,4 @@ | ||
| { | ||
| "label": "Installation", | ||
| "position": 10 | ||
| } |
21 changes: 21 additions & 0 deletions
21
outdoornav_user_manual_versioned_docs/version-2.0.0/installation/overview.mdx
This file contains hidden or 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,21 @@ | ||
| --- | ||
| title: Installation | ||
| sidebar_label: Installation | ||
| sidebar_position: 1 | ||
| toc_min_heading_level: 2 | ||
| toc_max_heading_level: 4 | ||
| --- | ||
|
|
||
| As of version 2.0.0, the OutdoorNav software uses ROS 2 Jazzy as its base. It is incompatible | ||
| with any other previous version of ROS. If you have a base platform running an older version | ||
| of ROS2, consult [the following page](../../docs/ros/installation/upgrading) to upgrade your base to ROS2 Jazzy. | ||
| If you have a base platform running ROS1, please reach out to | ||
| \<[email protected]\> in order to receive instructions to install the correct | ||
| version. | ||
|
|
||
| ## Installing OutdoorNav Updates | ||
|
|
||
| All AMP/Observer UGVs ship with the latest version of the OutdoorNav software. | ||
| If you receive an email regarding an available OutdoorNav software update, follow | ||
| the [update instructions](updates) to update the OutdoorNav software. | ||
|
|
136 changes: 136 additions & 0 deletions
136
outdoornav_user_manual_versioned_docs/version-2.0.0/installation/updates.mdx
This file contains hidden or 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,136 @@ | ||
| --- | ||
| title: Installing Updates | ||
| sidebar_label: Installing Updates | ||
| sidebar_position: 1 | ||
| toc_min_heading_level: 4 | ||
| toc_max_heading_level: 4 | ||
| --- | ||
|
|
||
| The following page details the steps to update the OutdoorNav software that is already | ||
| installed on your platform. | ||
|
|
||
|
|
||
| :::note | ||
|
|
||
| Please ensure that you have received an email advising you that an update is available | ||
| since only those who receive the update emails will be have access to the update files. | ||
|
|
||
| ::: | ||
|
|
||
| ## Download | ||
|
|
||
| 1. Click the link that was sent to you in the update email. You will be sent to a Sharepoint | ||
jmastrangelo-cpr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| drive with the following file structure (/Documents/General/Releases/...) | ||
|
|
||
| 2. Navigate to the version folder you wish to update to and download the following files: | ||
|
|
||
| - **cpr-onav-ui.tar** | ||
|
|
||
| - **cpr-onav-base.tar** | ||
|
|
||
| - **cpr-onav-autonomy.tar** | ||
|
|
||
| - **cpr-onav-app.zip** | ||
|
|
||
| 3. Connect to the robot | ||
|
|
||
| Option 1: via ethernet (port located inside of the rear charge port door) | ||
|
|
||
| Option 2: via wifi (Husky SSID: cpr_a300_amp_xxx) | ||
|
|
||
| 4. Transfer all files to the robots **/opt/onav/** folder | ||
|
|
||
| **Linux**: | ||
|
|
||
| ```code | ||
| scp cpr-onav-app.zip cpr-onav-ui.tar cpr-onav-base.tar cpr-onav-autonomy.tar [email protected]:/opt/onav/ | ||
| ``` | ||
|
|
||
| **Windows**: Use [FileZilla Client](https://filezilla-project.org/download.php?platform=win64) to transfer all files to the robot. | ||
|
|
||
| SFTP Connection: | ||
|
|
||
| * Host: sftp://192.168.131.1 | ||
|
|
||
| * Username: robot | ||
|
|
||
| * Password: clearpath | ||
|
|
||
| :::note | ||
|
|
||
| If you are upgrading to version 2.1.0 from 2.0.x please also navigate to | ||
| Documents/General/Releases/\<version\> (on the Sharepoint), download one | ||
| of the following files and transfer it to the robot: | ||
|
|
||
| * **outdoornav.yaml.amp** for standard AMP robots, | ||
|
|
||
| ```code | ||
| scp outdoornav.yaml [email protected]:/opt/onav/ | ||
| ``` | ||
|
|
||
| * **outdoornav.yaml.observer** for Observer robots. | ||
|
|
||
| ```code | ||
| scp outdoornav.yaml.observer [email protected]:/opt/onav/ | ||
| ``` | ||
|
|
||
| Finally, navigate to the Documents/General/Releases/\<version\> (on the Sharepoint), | ||
| download the update script and transfer it to the robot: | ||
|
|
||
| ```code | ||
| scp update.py [email protected]:/opt/onav/2.0.0/app/upgrade/ | ||
| ``` | ||
| ::: | ||
|
|
||
| ## Update | ||
|
|
||
| 1. Run the below command to update the version of OutdoorNav, where | ||
| ***\<latest_version\>*** is the folder of the last version of OutdoorNav that | ||
| has been installed on the robot and ***\<new_version\>*** is the version you want | ||
| to update to. | ||
|
|
||
| ```code | ||
| python3 /opt/onav/<latest_version>/app/upgrade/update.py -v <new_version> | ||
| ``` | ||
|
|
||
| Eg. To update from version 2.0.0 to version 2.1.0 run the following | ||
|
|
||
| ```code | ||
| python3 /opt/onav/2.0.0/app/upgrade/update.py -v 2.1.0 | ||
| ``` | ||
|
|
||
| * this will create a new version folder in /opt/onav/ | ||
|
|
||
| * copy all persistent data from the last version | ||
|
|
||
| * installs the app folder | ||
|
|
||
| * stop the currently running version of OutdoorNav | ||
|
|
||
| * start the new version of OutdoorNav | ||
jmastrangelo-cpr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| :::note | ||
|
|
||
| If you have an observer model robot please use the followinf command to update | ||
jmastrangelo-cpr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```code | ||
| python3 /opt/onav/<latest_version>/app/upgrade/update.py -v <new_version> -c observer | ||
| ``` | ||
|
|
||
| ::: | ||
|
|
||
| ## Cleanup | ||
|
|
||
| 1. Remove all extraneous file | ||
jmastrangelo-cpr marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ```code | ||
| 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 | ||
| ``` | ||
|
|
||
| :::note | ||
|
|
||
| If you have made any customisation changes to the app/ directory of your | ||
| previous version, you will need to make these same modifications manually | ||
| yourself to the new versions app/ directory files. | ||
|
|
||
| ::: | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.