Skip to content

rtkbase port to riscv platforms. Tested on the MilkV Duo S #470

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

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
f4282d8
Setup and dependecies
tommasopolonelli Feb 28, 2025
8c72c5b
Install requirements local build
tommasopolonelli Mar 1, 2025
fae8ffb
Update README.md
tommasopolonelli Mar 1, 2025
efb1aeb
fixed install dependecies sudo rtkbase_riscv/tools/install.sh -u debi…
tommasopolonelli Mar 5, 2025
5d0614c
Success run on MilkV Duo - geventmp installed - removed monkey-patch.all
tommasopolonelli Mar 11, 2025
60ba1de
Default config to run stably
tommasopolonelli Mar 11, 2025
504fe7e
E2E test with UBlox F9P and NTRIP - CPU temp and Uptime still not fun…
tommasopolonelli Mar 17, 2025
d7a82ad
Update install.sh
tommasopolonelli Mar 24, 2025
060ec54
Update rtkbase_web.service
tommasopolonelli Mar 24, 2025
178b59a
CPU Temp
tommasopolonelli Mar 30, 2025
74bbd8e
Test UM980
tommasopolonelli Apr 2, 2025
fc4a00e
Satellite test Unicore UM980 - via UART0
tommasopolonelli Apr 7, 2025
d73dafe
Fixed detect and configure on the Web page
tommasopolonelli Apr 7, 2025
4e211e1
Update swap.sh
tommasopolonelli Apr 7, 2025
d1b79eb
Fix configure and detect via webpage
tommasopolonelli Apr 9, 2025
aba15ed
update default settings
tommasopolonelli Apr 9, 2025
2b0a59e
Update install.sh
tommasopolonelli Apr 16, 2025
c60db5f
display_app
tommasopolonelli Apr 23, 2025
bbcccaa
Executable for 2in15 display with auto mutliplexer configuration
tommasopolonelli Apr 24, 2025
be889f2
- Deleted app specific files
May 14, 2025
8bf31e7
code cleanup
May 14, 2025
5c2e757
Update README.md
tommasopolonelli May 14, 2025
cb49eb8
Back to default config
May 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Test UM980
  • Loading branch information
tommasopolonelli committed Apr 2, 2025
commit 74bbd8eae29b59e06b986db161dda004b8d73c5f
2 changes: 1 addition & 1 deletion receiver_cfg/Unicore_UM980_rtcm3.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Config file for using a Unicore UM980 with RTKBase (RTCM3)
# SIGNALGROUP will reset the device
CONFIG SIGNALGROUP 2
# CONFIG SIGNALGROUP 2
CONFIG SBAS ENABLE AUTO
MODE BASE 1 TIME 60 1
rtcm1019 1
Expand Down
8 changes: 4 additions & 4 deletions tools/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ detect_gnss() {
detected_gnss[2]=$port_speed
#echo 'U-blox ZED-F9P DETECTED ON '$port $port_speed
break
elif { model=$(python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/$port --baudrate $port_speed --command get_model 2>/dev/null) ; [[ "${model}" == 'UM98'[0-2] ]] ;}; then
elif { model=$(python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/$port --baudrate $port_speed --retry 2 --command get_model 2>/dev/null) ; [[ "${model}" == 'UM98'[0-2] ]] ;}; then
detected_gnss[0]=$port
detected_gnss[1]='unicore'
detected_gnss[2]=$port_speed
Expand Down Expand Up @@ -589,18 +589,18 @@ configure_gnss(){
return $?
fi

elif { model=$(python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/${com_port} --baudrate ${com_port_settings%%:*} --command get_model 2>/dev/null) ; [[ "${model}" == 'UM98'[0-2] ]] ;}
elif { model=$(python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/${com_port} --baudrate ${com_port_settings%%:*} --retry 2 --command get_model 2>/dev/null) ; [[ "${model}" == 'UM98'[0-2] ]] ;}
then
#get UM98x firmware release
firmware="$(python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/${com_port} --baudrate ${com_port_settings%%:*} --command get_firmware 2>/dev/null)" || firmware='?'
firmware="$(python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/${com_port} --baudrate ${com_port_settings%%:*} --retry 2 --command get_firmware 2>/dev/null)" || firmware='?'
echo 'Unicore-' "${model}" 'Firmware: ' "${firmware}"
sudo -u "${RTKBASE_USER}" sed -i s/^receiver_firmware=.*/receiver_firmware=\'${firmware}\'/ "${rtkbase_path}"/settings.conf
#configure the UM980/UM982 for RTKBase
echo 'Resetting the ' "${model}" ' settings....'
python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/${com_port} --baudrate ${com_port_settings%%:*} --command reset --retry 5
sleep_time=10 ; echo 'Waiting '$sleep_time's for ' "${model}" ' reboot' ; sleep $sleep_time
echo 'Sending settings....'
python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/${com_port} --baudrate ${com_port_settings%%:*} --command send_config_file "${rtkbase_path}"/receiver_cfg/Unicore_"${model}"_rtcm3.cfg --store --retry 2
python3 "${rtkbase_path}"/tools/unicore_tool.py --port /dev/${com_port} --baudrate ${com_port_settings%%:*} --command send_config_file "${rtkbase_path}"/receiver_cfg/Unicore_"${model}"_rtcm3.cfg --store
if [[ $? -eq 0 ]]
then
echo 'Unicore UM980 successfuly configured'
Expand Down