python-openimu is an open source project. You can fork it and modify as you expect. It is suitable for custom development.
Posts made by song yi wei
ModuleNotFoundError: No module named 'can'
About this issue, the temporary solution is to install a dependency named 'python-can'. And we will fix it in next version.
And could you supply the detailed wrong msg from the executable?
Is it fixed by yourself? If you still have problem while upgrading firmware, could you share the FW to us, so that we can simulate the issue at our side?
@k2ironman Below is some references for you,
- pip install openimu
- sample code
import time
import threading
from aceinna.tools import Detector
def handle_receive_continous_data(packet_type, data):
# the position data will be in packet_type equals 'pos'
print(packet_type, data)
def on_find_device(device):
# prepare to use
device.setup(None)
# listen the output data
device.on('continous', handle_receive_continous_data)
def prepare():
detector = Detector(
device_type='OpenRTK',
com_port='{DEVICE COM}',
baudrate=460800)
detector.find(on_find_device)
if __name__ == '__main__':
threading.Thread(target=prepare).start()
while True:
time.sleep(10)
For more advance usage, please take a look of the source code.
It seems there is a sync command failed, please power on the device again if you encounter the firmware upgrade issue through web.
Try to refresh the page. The automatic connect check may be past.
If the green LED always flash, when it powers on, it means the device is in bootloader. We may do some steps to get it back.
-
Send
JA
command to switch to app mode. The raw command should be0x55, 0x55, 0x4a, 0x41, 0x00, 0xf5, 0x9d
-
Upgrade firmware with command line.
Steps to upgrade OpenRTK330L_GNSS_RTK_INS_v23.05.bin
- Power off and on your device.
- Open python driver with specified parameters.
Webserver_Win32_2.5.0.exe -c {the actual COM port} --cli
. Wait for the device connected. - Use command
upgrade {the firmware path}
- Wait for the upgrade progress finished.
Please take a look of the page https://developers.aceinna.com/devices/connect, and try to use python-openimu to connect.
Send command 55 55 70 47 00 5D 5F
with hex format in baudrate 57600, to check if you can get response. If there is any response with serial number, please try to upgrade the firmware again.
Here is screenshot with the new bin.