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 aceinna 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

Please refer to 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.3.0.tar.gz (91.3 kB view details)

Uploaded Source

Built Distribution

openimu-2.3.0-py3-none-any.whl (124.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: openimu-2.3.0.tar.gz
  • Upload date:
  • Size: 91.3 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.3.0.tar.gz
Algorithm Hash digest
SHA256 2fee87c9975de890de49b2a17662b0c297c8ecaf1454bad102f37cba38a1ecce
MD5 904346a84c602d99cd798e2a7c2f6a60
BLAKE2b-256 748317ebfe4348705d40c8aeade80be0c34d781f9408da591ed8b838b4c2f0e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: openimu-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 124.0 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3bd86b30b7ce8480beeeaffa9d8b62e31b8e944aef6339fece2a803cd3d0f7f
MD5 33301476de3d82922905b9f32cdc924a
BLAKE2b-256 663517722a3230f7ad1e1807111da660f2d1a9c5f3038c6fafbe93a6ba8afb4f

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