Randy Mackay
c4440a81f4
SITL: SIM_Vicon supports sending at 50hz
5 years ago
Randy Mackay
31763424a3
SITL: speed up vicon messages to avoid EKF timeouts during resets
5 years ago
Randy Mackay
c8f6cb233b
SITL: vicon supports sending vision-speed-estimate
...
SIM_VICON_TMASK controls which of the 3 supported messages are sent
SIM_VICON_VGLI_X/Y/Z allows introducing a velocity glitch
5 years ago
Randy Mackay
b2dd6446c8
SITL: add comment to SIM_VICON
5 years ago
Randy Mackay
366d03a533
SITL: add VICON_YAWERR
...
this allows simulating an error in the camera's reported yaw
5 years ago
Randy Mackay
d8bc197d35
SITL: add VICON_GLIT_XYZ, FAIL and YAW
...
glitches are in meters in vicon's frame
fail disables sending of vision-position-estimate messages
yaw is the vicon's heading in degrees. i.e. if vicon's "forward" is
pointing to the east, yaw should be set to 90
5 years ago
Randy Mackay
3ccb3c69a6
SITL: add vicon position offsets
5 years ago
Peter Barker
a08443ff19
SITL: break out a SIM_SerialDevice base class, use it for SIM_Vicon
5 years ago
Andrew Tridgell
4ca48f225d
SITL: send vicon data at 70ms intervals
...
this matches the max rate that EK2 will accept this data
6 years ago
Andrew Tridgell
9672dce335
SITL: switch vicon simulation to use VISION_POSITION_ESTIMATE
...
this is a more commonly used message
6 years ago
Peter Barker
6d6366df48
SITL: Sim_Vicon: set CLOEXEC on vicon file decsriptor
7 years ago
Patrick José Pereira
f68b07df1f
SITL: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Andrew Tridgell
e455958c87
SITL: fixed build with new vicon_position_estimate message extension
7 years ago
Pierre Kancir
0fd8d94924
SITL: Fix printf format warning
7 years ago
Andrew Tridgell
4ba5a368ff
SITL: adjust vicon simulated lag approach
7 years ago
Peter Barker
c92554001f
SITL: send buffer rather than mavlink msg on channel
7 years ago
Peter Barker
871661c65f
SITL: SIM_Vicon: use existing channel for packing messages
...
Also correct sending of Vicon message; too many bytes were sent
7 years ago
Peter Barker
994e3e7092
SITL: SIM_Vicon: fix compiler warning
7 years ago
Peter Barker
08189e0754
SITL: add parameter for Vicon observation delay
7 years ago
Peter Barker
dfcf4788d3
SITL: add vicon-over-mavlink support
7 years ago