Skip to content

CLI to explore AiM race data files

Notifications You must be signed in to change notification settings

harmw/xrk-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

21 Commits

Repository files navigation

xrk-cli

Simple cli to read AiM xrk data files.

Development

Early stages CLI, exploring possibilities.

⚠️ the is based around the Rust xdrk lib, which in turns wraps around libmatlabxrk.so.0, which is actually libxdrk-x86_64.so which means:

  • Linux
  • x86_64

in my case, both my M1 Macbook and FreeBSD server are utterly useless here (well, I'm building this on a bhyve vm, so there's that)

💡 My build env is Ubuntu 24.04.1 LTS.

$ sudo apt install libxml2-dev
cargo build --release
mkdir ~/lib ln -s ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/xdrk-1.0.0/aim/libmatlabxrk.so.0 ~/lib/
$ LD_LIBRARY_PATH=~/lib ./target/release/aim-reader-cli --help XRK Data Reader Usage: xrk-cli --file <FILE><COMMAND> Commands: info Get session info lap Preview single lap data for all channels (deprecated) laps Print lap timings channels Get info about all available data channels export Export channel data (experimental) help Print this message or the help of the given subcommand(s) Options: -f, --file <FILE> Data file to load -h, --help Print help -V, --version Print version

TODO

Unknown error:

I/O warning : failed to load external entity "user/profiles/units.xml" I/O error : No such file or directory I/O error : No such file or directory File '**REDACTED**.xrk' loaded successfully! 

Current workaround:

mkdir -p user/profiles echo"<XML/>"> user/profiles/units.xml

About

CLI to explore AiM race data files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages