Commit Graph

20 Commits

Author SHA1 Message Date
Andrew Tridgell 4e1b2b95d4 SITL: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Peter Barker b360521d0b SITL: permit double-precision maths in SITL even on embedded hardware 2022-03-17 14:39:55 +11:00
Peter Barker 497e6df326 SITL: correct submarine rangefinding 2021-12-11 20:10:10 +11:00
Andrew Tridgell fb275c9874 SITL: convert to double precision for positions 2021-06-24 21:34:30 +10:00
Patrick José Pereira 07c3435f9d SITL: Add missing const in member functions
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Willian Galvani cf6f5502a4 SITL: Make Sub buoyancy a parameter 2020-04-27 12:48:52 -07:00
Patrick José Pereira e52fc375c4 Sub: Add fake sea floor and update range
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-11-12 10:02:29 -08:00
Willian Galvani 168a182310 SITL: Sub: add angular drag based on a laminar, external flow 2019-11-11 07:39:57 -08:00
Willian Galvani 393b018f31 SITL: Sub: Fix rotational physics logic 2019-11-11 07:39:57 -08:00
Willian Galvani 9c2ffed876 SITL: Submarine: add torque for static stability
Subs are statically stable regarding pitch and roll.
This patch reproduces this in SITL
2019-11-11 07:39:57 -08:00
Willian Galvani e190d99bc6 SITL: Add 6dof frame for Sub 2019-11-11 07:39:57 -08:00
Peter Barker f7b47679bb SITL: remove home_str from constructor 2019-08-15 15:16:11 +10:00
Patrick José Pereira ab6b84e876 SITL: Fix typo in Sub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-02 07:59:53 +11:00
Patrick José Pereira 8bb0772224 SITL: Add drag simulation in Sub
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-02 07:59:53 +11:00
Andrew Tridgell 9257d29717 SITL: fixed frame_property build error with older C++ compilers 2018-11-30 11:03:09 +11:00
Peter Barker 82df40f464 SITL: add override keyword where required 2018-11-08 11:30:12 +11:00
Peter Barker 767f81265b Sub: correct compilation under clang++ on MacOSX 2018-04-30 13:04:03 +09:00
Patrick José Pereira 28ff272017 SIM_Submarine: Solve problem when frame is above water level
Fix bluerobotics/ardusub/issues/128

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Co-Authored-By: jaxxzer <jwalser90@gmail.com>
2017-11-22 12:38:14 -08:00
jaxxzer b98573d55f SITL: Improved Sub simulation
-Constrain z axis movement between -100m (seafloor) and 0m (water
surface)
-More accurate thruster modelling
2017-03-07 09:35:41 +11:00
Rustom Jehangir 36f3cae535 SITL: Add support for Sub 2017-02-21 11:26:14 +11:00