Skip to content

Commit 9736a63

Browse files
committed
fix: resolve issues
1 parent 343736b commit 9736a63

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

HISTORY.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
---
44

5+
## 2.2.3 / 2020-12-01
6+
- [OpenRTK] Update Configuration read size
7+
- [Framework] Fix cannot parse 'sC', 'uB' command
8+
59
## 2.2.2 / 2020-11-26
610
- [OpenIMU] Add exception handler when log data, although file is closed
711
- [OpenIMU] Add uC,uA,gA command response

src/aceinna/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Package Version
2-
VERSION = '2.2.2'
2+
VERSION = '2.2.3'
33
PACKAGE_NAME = 'openimu'

src/aceinna/devices/openrtk/uart_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def thread_debug_port_receiver(self, *args, **kwargs):
326326
self.debug_serial_port.write(cmd_configuration.encode())
327327
try_times = 20
328328
for i in range(try_times):
329-
data_buffer = self.debug_serial_port.read(500)
329+
data_buffer = self.debug_serial_port.read(700)
330330
if len(data_buffer):
331331
try:
332332
#print('len = {0}'.format(len(data_buffer)))

src/aceinna/devices/parsers/open_message_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
MSG_HEADER = [0x55, 0x55]
1111
PACKET_TYPE_INDEX = 2
1212
PRIVATE_PACKET_TYPE = ['RE', 'WE', 'UE', 'LE', 'SR']
13-
INPUT_PACKETS = ['pG', 'uC', 'uP', 'uA', 'uB'
13+
INPUT_PACKETS = ['pG', 'uC', 'uP', 'uA', 'uB',
1414
'sC', 'rD',
15-
'gC', 'gA', 'gB', 'gP', 'gV',
15+
'gC', 'gA', 'gB', 'gP', 'gV',
1616
'\x15\x15', '\x00\x00', 'ma',
1717
'JI', 'JA', 'WA',
1818
'RE', 'WE', 'UE', 'LE', 'SR']

0 commit comments

Comments
 (0)