Simulated system#
mocap4r2_sim_driver produces synthetic rigid bodies and markers from an
acquisition thread, like a real SDK. It is the quickest way to try the tools, write
applications or test a pipeline in CI.
$ ros2 launch mocap4r2_sim_driver sim_driver.launch.yaml autostart:=activate
Parameter |
Default |
Meaning |
|---|---|---|
|
120 |
frame rate, Hz |
|
|
rigid bodies; each one configured in |
|
4 |
0 to 6 markers in an asymmetric pattern |
|
0 |
random unlabeled markers per frame |
|
0.0005 |
marker noise std, metres |
|
0 / 0.2 |
chance per frame and body of starting an occlusion, and its length (s) |
|
0 |
chance of dropping a frame (shows as a gap in |
|
0.004 |
simulated system latency, seconds |
|
42 |
random seed (the scene is deterministic) |