Skip to content

Commit 4719533

Browse files
authored
Merge branch 'main' into release_candidate
2 parents e5e6f37 + ef8bc30 commit 4719533

File tree

7 files changed

+53
-13
lines changed

7 files changed

+53
-13
lines changed

.github/workflows/compile-rc.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
env:
88
FILENAME_PREFIX: RTK_Surveyor_Firmware_
99
RC_PREFIX: RC-
10-
VERSION: 3.1
10+
VERSION_MAJOR: 3
11+
VERSION_MINOR: 1
1112
POINTPERFECT_TOKEN: ${{ secrets.POINTPERFECT_TOKEN }}
1213

1314
jobs:
@@ -98,7 +99,7 @@ jobs:
9899
path: RTK-RC-Firmware.json
99100
write-mode: overwrite
100101
contents: |
101-
{"Configurations": [{"Version":"${{ env.VERSION }}-${{ steps.dateNoScores.outputs.dateNoScores }}", "URL":"https://raw.githubusercontent.com/sparkfun/SparkFun_RTK_Firmware_Binaries/main/${{ env.FILENAME_PREFIX }}${{ env.RC_PREFIX }}${{ steps.date.outputs.date }}.bin"}]}
102+
{"Configurations": [{"Version":"${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}-${{ steps.dateNoScores.outputs.dateNoScores }}", "URL":"https://raw.githubusercontent.com/sparkfun/SparkFun_RTK_Firmware_Binaries/main/${{ env.FILENAME_PREFIX }}${{ env.RC_PREFIX }}${{ steps.date.outputs.date }}.bin"}]}
102103
103104
- name: Push JSON to Binaries Repo
104105
uses: dmnemec/copy_file_to_another_repo_action@main

.github/workflows/compile-release.yml

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ on:
55
- main
66

77
env:
8-
FILENAME_PREFIX: RTK_Surveyor_Firmware_v3_0
8+
FILENAME_PREFIX: RTK_Surveyor_Firmware_v
9+
VERSION_MAJOR: 3
10+
VERSION_MINOR: 0
911
POINTPERFECT_TOKEN: ${{ secrets.POINTPERFECT_TOKEN }}
1012

1113
jobs:
@@ -66,16 +68,46 @@ jobs:
6668
- name: Get current date
6769
id: date
6870
run: echo "date=$(date +'%b_%d_%Y')" >> $GITHUB_OUTPUT
69-
71+
72+
- name: Get current date
73+
id: dateNoScores
74+
run: echo "dateNoScores=$(date +'%b %d %Y')" >> $GITHUB_OUTPUT
75+
7076
- name: Rename binary
7177
run: |
7278
cd Firmware/RTK_Surveyor
7379
cd build
7480
cd esp32.esp32.esp32
75-
mv RTK_Surveyor.ino.bin ${{ env.FILENAME_PREFIX }}.bin
81+
mv RTK_Surveyor.ino.bin ${{ env.FILENAME_PREFIX }}${{ env.VERSION_MAJOR }}_${{ env.VERSION_MINOR }}.bin
82+
83+
- name: Push binary to Binaries Repo
84+
uses: dmnemec/copy_file_to_another_repo_action@main
85+
env:
86+
API_TOKEN_GITHUB: ${{ secrets.API_GITHUB_RTK_FILE_TOKEN }}
87+
with:
88+
source_file: ./Firmware/RTK_Surveyor/build/esp32.esp32.esp32/${{ env.FILENAME_PREFIX }}${{ env.VERSION_MAJOR }}_${{ env.VERSION_MINOR }}.bin
89+
destination_repo: 'sparkfun/SparkFun_RTK_Firmware_Binaries'
90+
destination_folder: ''
91+
user_email: '[email protected]'
92+
user_name: 'nseidle'
93+
commit_message: 'Github Action - Updating Binary ${{ steps.dateNoScores.outputs.dateNoScores }}'
94+
95+
- name: Update JSON File
96+
uses: "DamianReeves/write-file-action@master"
97+
with:
98+
path: RTK-Firmware.json
99+
write-mode: overwrite
100+
contents: |
101+
{"Configurations": [{"Version":"${{ env.VERSION_MAJOR }}.${{ env.VERSION_MINOR }}", "URL":"https://raw.githubusercontent.com/sparkfun/SparkFun_RTK_Firmware_Binaries/main/${{ env.FILENAME_PREFIX }}${{ env.VERSION_MAJOR }}_${{ env.VERSION_MINOR }}.bin"}]}
76102
77-
- name: Upload binary to action
78-
uses: actions/upload-artifact@v3
79-
with:
80-
name: ${{ env.FILENAME_PREFIX }}
81-
path: ./Firmware/RTK_Surveyor/build/esp32.esp32.esp32/${{ env.FILENAME_PREFIX }}.bin
103+
- name: Push JSON to Binaries Repo
104+
uses: dmnemec/copy_file_to_another_repo_action@main
105+
env:
106+
API_TOKEN_GITHUB: ${{ secrets.API_GITHUB_RTK_FILE_TOKEN }}
107+
with:
108+
source_file: RTK-Firmware.json
109+
destination_repo: 'sparkfun/SparkFun_RTK_Firmware_Binaries'
110+
destination_folder: ''
111+
user_email: '[email protected]'
112+
user_name: 'nseidle'
113+
commit_message: 'Github Action - Updating JSON ${{ steps.dateNoScores.outputs.dateNoScores }}'

docs/configure_base.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ For users who return to the same base position or monument, the coordinates can
114114

115115
## Assisted Base
116116

117-
An Assisted Base is where a temporary base is set up to Survey-In its location but is simultaneously provided RTCM corrections so that its Survey-In is done with very precise readings. An assisted base running a Survey-In removes much of the relative inaccuracies from a Rover-Base system.
117+
An Assisted Base is where a temporary base is set up to Survey-In its location but is simultaneously provided RTCM corrections so that its Survey-In is done with very precise readings. An assisted base running a Survey-In removes much of the relative inaccuracies from a Rover-Base system. We've found an Assisted Base varies as little as 50mm RMS between intra-day tests, with accuracy within 65mm of a PPP of the same location, same day.
118118

119119
To set up an assisted base the RTK device should be located in a good reception area and provided with RTCM corrections. Let it obtain RTK Fix from a fixed position (on a tripod, for example) in *Rover* mode. Once an RTK fix is achieved, change the device to temporary *Base* mode (also called Survey-In). The device will take 60 seconds of positional readings, at which point the fixed position of the base will be set using RTK augmented coordinates. At this point, corrections provided to the base can be discontinued. The Base will begin outputting very accurate RTCM corrections that can be relayed to a rover that is in a less optimal reception setting.
120120

docs/firmware_update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ The following products contain the following u-blox receivers:
196196

197197
The firmware loaded onto the ZED-F9P, ZED-F9R, and NEO-D9S receivers is written by u-blox and can vary depending on the manufacture date. The RTK Firmware (that runs on the ESP32) is designed to flexibly work with any u-blox firmware. Upgrading the ZED-F9x/NEO-D9S is a good thing to consider but is not crucial to the use of RTK products.
198198

199-
Not sure what firmware is loaded onto your RTK product? Open the [System Status Menu](https://docs.sparkfun.com/SparkFun_RTK_Firmware/menu_system_status/) to display the module's current firmware version.
199+
Not sure what firmware is loaded onto your RTK product? Open the [System Status Menu](https://docs.sparkfun.com/SparkFun_RTK_Firmware/menu_system/) to display the module's current firmware version.
200200

201201
The firmware on u-blox devices can be updated using a [Windows-based GUI](https://docs.sparkfun.com/SparkFun_RTK_Firmware/firmware_update/#updating-using-windows-gui) or [u-center](https://docs.sparkfun.com/SparkFun_RTK_Firmware/firmware_update/#updating-using-u-center). A CLI method is also possible using the `ubxfwupdate.exe` tool provided with u-center. Additionally, u-blox offers the source for the ubxfwupdate tool that is written in C. It is currently released only under an NDA so contact your local u-blox Field Applications Engineer if you need a different method.
202202

docs/gis_software.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,4 +430,4 @@ The software options for Apple iOS are much more limited because Apple products
430430

431431
We recommend SWMaps for iOS. SWMaps is available for iOS [here](https://apps.apple.com/us/app/sw-maps/id6444248083).
432432

433-
More information is available on the [System Menu](https://docs.sparkfun.com/SparkFun_RTK_Firmware/menu_system_status/) for switching between Bluetooth SPP and BLE.
433+
More information is available on the [System Menu](https://docs.sparkfun.com/SparkFun_RTK_Firmware/menu_system/) for switching between Bluetooth SPP and BLE.
9.71 KB
Loading

docs/menu_system.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,10 @@ This menu is helpful when reporting technical issues or requesting support as it
2828

2929
The WiFi Config page also allows various aspects of the system to be configured but it is limited by design.
3030

31+
## Factory Reset
32+
33+
![Issuing a factory reset](img/SparkFun%20RTK%20System%20Menu%20-%20Factory%20Reset.png)
34+
35+
*Issuing and confirming a Factory Reset*
36+
37+
If a device gets into an unknown state it can be returned to default settings. Press 'r' then 'y' to confirm. The device settings will be reset to defaults. Any settings file and commonly used coordinate files on the SD card associated with the current profile will be removed.

0 commit comments

Comments
 (0)