Commit fca1310
committed
ArduPilotPlugin: add option to disable SITL from trying to sync with wall time
- Populate extra fields in JSON message.
- Generally Gazebo runs with simulation time, so we do not want to sync with the wall clock.
- When running SITL on a docker container using a windows or macOS host, the monotonic clock can jump to a different epoch if there is a vDSO page fault. This results in a FPE and crash.
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>1 parent 6822fe4 commit fca1310
2 files changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
87 | 90 | | |
88 | 91 | | |
89 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
247 | 250 | | |
248 | 251 | | |
249 | 252 | | |
| |||
510 | 513 | | |
511 | 514 | | |
512 | 515 | | |
513 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
514 | 521 | | |
515 | 522 | | |
516 | 523 | | |
| |||
2000 | 2007 | | |
2001 | 2008 | | |
2002 | 2009 | | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
2003 | 2018 | | |
2004 | 2019 | | |
2005 | 2020 | | |
| |||
0 commit comments