- Notifications
You must be signed in to change notification settings - Fork67
acconeer/acconeer-python-exploration
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Explore the Next Sense with Acconeer Exploration Tool! Use one of ourevaluation kits together with our Python examples and start exploring the world of Acconeer's radar sensor technology. The Python scripts and the Application in this repository will help you to easily stream the radar sensor's data to your local machine to start radar sensor evaluation and/or algorithm development for your application.
To run the Python exploration scripts, you will need anevaluation kit running the included Exploration or Module server, both of which are supplied with theAcconeer SDK and Module SW image.
This release is developed forAcconeer SDK and Module SWA111-v2.15.4andA121-v1.10.0.Running this version is strongly recommended, as we continuously fix bugs and add features.
There is a portable version of the Acconeer Exploration Tool for Windows:
- Download the zip file and extract
- Double click the
update.bat
file and wait for the installation to finish, which might take a couple of minutes - Double click the
run_app.bat
For an in-depth evaluation, we recommend a full installation as described below.
Documentation is available atdocs.acconeer.com,where you can also find theFAQ.
- v7.4.0 released. See theChangelog.
- XM126
- XM125
- XC120 + XE121 (A121)
- Raspberry Pi (A121 on XE121)
- Raspberry Pi (A111 on XC111+XR111 or XC112+XR112)
- XM112
- XM122
- XM132
For additional resources, head over to theAcconeer developer page. There you will find both a getting started guide and a video showing you how to set up your evaluation kit. There you will also find the SDK download.
Python 3.9 or newer. Older versions have limited or no support.
Tested on:
- Python 3 (developed and tested on 3.9, 3.10, 3.11, 3.12 and 3.13)
- Windows 10
- Ubuntu 20.04
Install from PyPI:
python -m pip install --upgrade acconeer-exptool[app]
Depending on your environment, you might have to replace
python
withpython3
orpy
.
For other options, have a look atdocs.acconeer.com.
If no COM port is recognized when plugging in a module, you might need to install a driver.See information about your specific module atdocs.acconeer.com
After installing theacconeer-exptool
package, you can run
python -m acconeer.exptool.setup
Depending on your environment, you might have to replace
python
withpython3
orpy
.
which interactively configures your machine and downloads needed dependencies.This is done in order for your machine to work at its best with Exploration tool.acconeer.exptool.setup
performs the steps described in theLinux setup section on docs.acconeer.com.
Using the application is the easiest way to start exploring Acconeer's radar sensor and our application examples:
python -m acconeer.exptool.app
Depending on your environment, you might have to replace
python
withpython3
orpy
.
In the top right box of the application, namedConnection, select the interface you wish to use
- SPI: auto-detects an XM112 connected to USB2 (USB1 is also needed for power)
- Socket: specify the IP address of your Raspberry Pi running the streaming server
- Serial: specify the serial port that is assigned to the sensor
Connections viaSerial have the option of choosing aProtocol. The choices areModule andExploration, where the protocol should match the server installedon the module (Module server orExploration server, respectively). Choosing the wrongprotocol will show an error.
After pressingConnect, a connection should be established.In the box below labelledScan controls, select the service or processing example you want to test.Now you may tune the sensor and processing settings to your specific setup.Once you pressStart measurement, the application will start fetching data from the sensor and plotting the results.After pressingStop, you can save (and later load data) or just replay the data stored in the buffer.
Support for the Machine Learning interface in Exploration Tool has been dropped.
If you still need to use it, it is possible to use an old version of Exploration Tool.
From theacconeer-python-exploration
directory:
git checkout v3
And follow the instructions in an old version of this document (README.md
).
Note that this version of Exploration Tool will not be actively supported. Compatibility with newRSS versionsis not guaranteed .
If you prefer using the command line for testing and evaluation of our examples you can use the following instructions.
XC111+XR111 or XC112+XR112 (mounted on a Raspberry Pi):
python examples/a111/basic.py -s <your Raspberry Pi IP address>
XM112+XB112 via SPI over USB:
python examples/a111/basic.py -spi
Any module via UART over USB, attempting to auto-detect the serial port:
python examples/a111/basic.py -u
Any module via UART over USB, using a specific serial port:
python examples/a111/basic.py -u <the serial port, for example COM3>
Depending on your environment, you might have to replace
python
withpython3
orpy
.
Choosing which sensor(s) to be used can be done by adding the argument--sensor <id 1> [id 2] ...
. The default is the sensor on port 1. This is not applicable for the modules.
Scripts can be terminated by pressing Ctrl-C in the terminal.
Here you find thedisclaimer.
See theFAQ at docs.acconeer.com.
About
Acconeer Exploration Tool
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.