Randy Mackay
c4440a81f4
SITL: SIM_Vicon supports sending at 50hz
2020-06-09 09:42:14 +10:00
Randy Mackay
31763424a3
SITL: speed up vicon messages to avoid EKF timeouts during resets
2020-06-02 08:33:42 +09:00
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
2020-06-02 08:33:42 +09:00
Randy Mackay
b2dd6446c8
SITL: add comment to SIM_VICON
2020-05-15 10:07:52 +09:00
Randy Mackay
366d03a533
SITL: add VICON_YAWERR
...
this allows simulating an error in the camera's reported yaw
2020-05-15 09:22:07 +10:00
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
2020-04-28 12:31:14 +09:00
Randy Mackay
3ccb3c69a6
SITL: add vicon position offsets
2020-04-14 10:28:03 +10:00
Peter Barker
a08443ff19
SITL: break out a SIM_SerialDevice base class, use it for SIM_Vicon
2019-10-29 18:41:13 +11:00
Andrew Tridgell
4ca48f225d
SITL: send vicon data at 70ms intervals
...
this matches the max rate that EK2 will accept this data
2019-08-26 12:27:31 +10:00
Andrew Tridgell
9672dce335
SITL: switch vicon simulation to use VISION_POSITION_ESTIMATE
...
this is a more commonly used message
2019-08-05 13:58:08 +10:00
Peter Barker
6d6366df48
SITL: Sim_Vicon: set CLOEXEC on vicon file decsriptor
2018-06-29 21:53:14 +10:00
Patrick José Pereira
f68b07df1f
SITL: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-26 00:02:01 +01:00
Andrew Tridgell
e455958c87
SITL: fixed build with new vicon_position_estimate message extension
2018-06-19 09:36:03 +10:00
Pierre Kancir
0fd8d94924
SITL: Fix printf format warning
2018-05-26 09:13:29 +09:00
Andrew Tridgell
4ba5a368ff
SITL: adjust vicon simulated lag approach
2018-05-15 10:42:52 +09:00
Peter Barker
c92554001f
SITL: send buffer rather than mavlink msg on channel
2018-05-14 11:46:43 +10:00
Peter Barker
871661c65f
SITL: SIM_Vicon: use existing channel for packing messages
...
Also correct sending of Vicon message; too many bytes were sent
2018-04-02 09:23:27 +09:00
Peter Barker
994e3e7092
SITL: SIM_Vicon: fix compiler warning
2018-03-29 16:45:34 +09:00
Peter Barker
08189e0754
SITL: add parameter for Vicon observation delay
2018-03-27 20:28:53 +09:00
Peter Barker
dfcf4788d3
SITL: add vicon-over-mavlink support
2018-03-27 20:28:52 +09:00