config tool for nanoradar
Project description
whl-nanoradar-conftool
Installation
pip install whl-nanoradar-conftool
Usage
scan devices
whl-nanoradar-conftool --interface socketscan --channel can1 --bitrate 5000 scan
it will print the list of devices found on the CAN bus.
Found nano radar devices:
sensor id: 0, conjecture number: 1
{
"nvm_read_status": 1,
"nvm_write_status": 0,
"max_distance_cfg": 20,
"sensor_id": 0,
"sort_index": 1,
"radar_power_cfg": 0,
"motion_rx_state": 0,
"send_ext_info_cfg": 0,
"send_quality_cfg": 0,
"output_type_cfg": 1,
"ctrl_relay_cfg": 0,
"can_baud_rate": 0,
"rcs_threshold": 0,
"calibration_enabled": 0
}
config sensor_id
assume that the current sensor ID is 0, and you want to set it to 1.
whl-nanoradar-conftool --interface socketscan --channel can1 --bitrate 5000 \
config \
--message_id $((0x200)) \
--set sensor_id_valid 1 \
--set sensor_id 1 \
--set store_in_nvm_valid 1 \
--set store_nvm 1
after running the command, you can check the sensor id by running the scan
command again
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file whl_nanoradar_conftool-0.0.1.tar.gz.
File metadata
- Download URL: whl_nanoradar_conftool-0.0.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9265200bee5815540b000cce108f27acbfc335feb73eca4535e5163cabd0c8b6
|
|
| MD5 |
bdf98ebf3151b0ce5a247203fea17623
|
|
| BLAKE2b-256 |
65f171217402add61d8e241c712697ed5ec9ebaa42937a0defbc4e51f9ea95b9
|
Provenance
The following attestation bundles were made for whl_nanoradar_conftool-0.0.1.tar.gz:
Publisher:
python-publish.yml on wheelos-tools/whl-nanoradar-conftool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whl_nanoradar_conftool-0.0.1.tar.gz -
Subject digest:
9265200bee5815540b000cce108f27acbfc335feb73eca4535e5163cabd0c8b6 - Sigstore transparency entry: 335894958
- Sigstore integration time:
-
Permalink:
wheelos-tools/whl-nanoradar-conftool@5a9bc739b11cca7ea247fbf6f28a1dc6dfd7c582 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/wheelos-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5a9bc739b11cca7ea247fbf6f28a1dc6dfd7c582 -
Trigger Event:
release
-
Statement type:
File details
Details for the file whl_nanoradar_conftool-0.0.1-py3-none-any.whl.
File metadata
- Download URL: whl_nanoradar_conftool-0.0.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d8ff15f947aaea0a44b920560f496d4d363922257cc915822e080d5c6a642bb
|
|
| MD5 |
773f7a64e4a4476e4669b6ed211bf74b
|
|
| BLAKE2b-256 |
6bf450a8771d42b45cf661b41c3e4c1288313664917d24098ab1e75e6ed6d2b5
|
Provenance
The following attestation bundles were made for whl_nanoradar_conftool-0.0.1-py3-none-any.whl:
Publisher:
python-publish.yml on wheelos-tools/whl-nanoradar-conftool
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
whl_nanoradar_conftool-0.0.1-py3-none-any.whl -
Subject digest:
1d8ff15f947aaea0a44b920560f496d4d363922257cc915822e080d5c6a642bb - Sigstore transparency entry: 335894979
- Sigstore integration time:
-
Permalink:
wheelos-tools/whl-nanoradar-conftool@5a9bc739b11cca7ea247fbf6f28a1dc6dfd7c582 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/wheelos-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@5a9bc739b11cca7ea247fbf6f28a1dc6dfd7c582 -
Trigger Event:
release
-
Statement type: