Skip to main content

Aceinna Navigation System Open Devices Library

Project description

python-openimu

Python driver for OpenIMU and OpenRTK

Working Environment

  • Windows10: python2.7 and python 3.7
  • Mac OS: python2.7 and python 3.7

Steps

1. Start the tool

There are 2 ways to run the tool

Prepare

Install the dependency library. It is better to create a virtual environments before to do it.

python 3.x

pip install -r requirements.txt

python 2.x

pip install -r requirements-2.x.txt

A. From source code

Run

Please use this way if you want to develop the project.

python main.py

B. Work as execution file

Build

It will be generated in dist folder.

pyinstaller build.spec
Run it
./ans-devices
Startup Arguments

You can specify some arguments while run the tool

parameters:

Name Type Default Description
-p, --port Number '8000' Value should be an available port
--device-type String 'auto' Value should be IMU, RTK
-b, --baudrate String None Value should be baudrate
-c, --com-port String 'auto' Value should be a COM port
--console-log Boolean False Output log on console
--debug Boolean False Log debug information
--with-data-log Boolean False Contains internal data log (OpenIMU only)
-r, --with-raw-log Boolean False Contains raw data log (OpenRTK only)
-s, --set-user-para Boolean False Set uesr parameters (OpenRTK only)
-n, --ntrip-client Boolean False Enable ntrip client (OpenRTK only)
--cli Boolean False Work as command line mode

2. Connect Aceinna device

Link device to your pc or mac. And the tool will auto detect the linked device.

More Usage

Work Mode

Normally, python-openimu works as Web mode. It will auto start a websocket server after device is detected. And it can works with acinna developers site to do monitor and set configuration of connected device.

You can specify the startup parameter --cli to switch to Command Line Mode. Command Line Mode helps you to interact with device without open the brower.

Commnad List:

Name Description
help CLI help menu
exit Exit Command Line Mode
run Operations defined by users
save Save thee configuration into EEPROM
connect Show information of connected device
upgrade Upgrade firmware
record Record output data of device
stop Stop recording outputs
server_start Start server thread and must use exit command to quit
get Read the current configuration and output data
set Write parameters to device

Changelogs and Release Notes

HISTORY.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openimu-2.2.2.tar.gz (87.9 kB view details)

Uploaded Source

Built Distribution

openimu-2.2.2-py3-none-any.whl (129.7 kB view details)

Uploaded Python 3

File details

Details for the file openimu-2.2.2.tar.gz.

File metadata

  • Download URL: openimu-2.2.2.tar.gz
  • Upload date:
  • Size: 87.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.0

File hashes

Hashes for openimu-2.2.2.tar.gz
Algorithm Hash digest
SHA256 8f7e7013ed7d2f5b0164c0ef50fa024ac86819eed6f81bf8a2b775afa0dc5929
MD5 3699429ad7bc2fa9544b0e3aefbf36d8
BLAKE2b-256 d7fc5ea1cea83e13f807cad4a89ae1a1f2a4a55355cc03328aecb894f199dd06

See more details on using hashes here.

File details

Details for the file openimu-2.2.2-py3-none-any.whl.

File metadata

  • Download URL: openimu-2.2.2-py3-none-any.whl
  • Upload date:
  • Size: 129.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.4.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.0

File hashes

Hashes for openimu-2.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 df8f4a6b76b77f6e6e973ee7d573239b890e7002a52b5169715dac8de65f973e
MD5 8fc4b146407b5bc4f5a60eb9a7d4f0d7
BLAKE2b-256 5ac8099af05c2862cbeb062b555392fadf743489100321e8998b9dbb2be435bb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page