From 5fb8c390570fcd648f3f590af4b7a4193caffd01 Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Mon, 21 Mar 2022 13:56:36 +0000 Subject: [PATCH] src/FDM/YASim/YASim.cxx: add gear[]/spring and gear[]/damping properties. --- src/FDM/YASim/YASim.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/FDM/YASim/YASim.cxx b/src/FDM/YASim/YASim.cxx index 25dc7e626..c6e0e78f9 100644 --- a/src/FDM/YASim/YASim.cxx +++ b/src/FDM/YASim/YASim.cxx @@ -210,6 +210,9 @@ void YASim::init() node->setDoubleValue("wheel-radius-m", g->getWheelRadius()); node->setDoubleValue("tyre-radius-m", g->getTyreRadius()); + node->setDoubleValue("spring", g->getSpring()); + node->setDoubleValue("damping", g->getDamping()); + _gearProps.push_back(GearProps(node)); }