- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| capture2.pcap | ||
| Cargo.lock | ||
| Cargo.toml | ||
| hand_animations.pcap | ||
| jump_sit_type_animation.pcap | ||
| README.md | ||
| three_dancers_animation.pcap | ||
xsens-packet-send
Since XSENS software is stupidly expensive and restrictive, we've written this piece of software to send network packets to Unreal Engine. It cuts out the need for running MVN Animate Pro (which costs thousands of dollars a year).
Windows installation
-
Install the Rust programming language compiler. On Windows, you'll probably want 64-bit for modern machines.
-
The Rust compiler will need Microsoft's C++ compiler and linker. This Microsoft guide explains how to install support along with Visual Studio.
Running the program on Windows
-
Open
cmd(command line) orPowerShell.exeusing the run menu. -
Use
cd("change directory") to find the location of the program.dircan be used to see the current directory contents. eg.,cd C:\Path\To\Program -
Type
cargo runto run the program in debug mode (fast compile, slow execution). Ctrl-C will kill the program without needing to close the terminal. -
Type
cargo build --releaseto build a production.exebinary file that will run six times faster. The exe file will be under the subdirectorytarget/release/.
Program options
By default, the program plays packets to localhost from "three_dancers_animation.pcap", but it can read other files and send to other machines as well.
You can supply arguments to change the recorded packet capture animation:
- Debug:
cargo run -- --file name_of_animation.pcap - Release build:
xsens-packet-send.exe --file name_of_animation.pcap
You can also change the computer you target:
- Debug:
cargo run -- --host 192.168.2.100:8000 - Release build:
xsens-packet-send.exe --host 192.168.2.100:8000
You can combine both arguments together:
- Debug:
cargo run -- --file animation.pcap --host 192.168.2.100:8000 - Release build:
xsens-packet-send.exe --file animation.pcap --host 192.168.2.100:8000