Randy Mackay
7af0015b69
SITL: vicon send odometry with quality of 50
2024-03-14 11:42:43 +11:00
Andrew Tridgell
be01fcfdfd
SITL: use mavlink_XXX_encode_status()
...
this avoids clobbering sequence numbers and fixes race conditions
2023-10-02 21:45:28 +11:00
Peter Barker
29d6c51f43
SITL: stop using mavlink channels for packing messages
...
precedent was set in the mavlink rangefinder; we don't need to re-use SITL buffers for this
2023-05-16 10:17:56 +10:00
Randy Mackay
90498579f3
SITL: vicon odometry corrected
2022-11-28 17:21:23 +11:00
Andrew Tridgell
05f112ea17
SITL: support simulation of ODOMETRY message
2021-12-27 12:32:41 +11:00
Peter Barker
13bd2379cf
SITL: use SITL::SerialDevice in place of pipe for communication
2021-11-06 16:54:07 +11:00
Peter Barker
c9df857f16
SITL: avoid use of stderr/::fprintf
2021-10-12 09:00:17 +11:00
Andrew Tridgell
fb275c9874
SITL: convert to double precision for positions
2021-06-24 21:34:30 +10:00
Josh Henderson
267d19b0de
SITL: SIM_Vicon fix observation interval limit
2021-03-04 16:12:54 +09:00
Josh Henderson
dceb76c9f1
SITL: SIM_VICON output MAVLink vision_position_delta
2021-03-04 16:12:54 +09:00
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