Closed prihex closed 2 years ago
Hi. Your suggestion looks more clear than what is currently implemented. It is expected to specify in params.yaml file x and y offsets in FRD coordinate system with VTOL motors numeration as in the picture below (although in the code it is started from 0): I will verify calculated values with what we actually have and fix it later.
close because it is fixed
In
vtolDynamicsSim.cpp:loadParams()
function, propeller locations are created by multiplying sin(45) for x and y locations.I think multiplying sin45 is unnecessary and wrong. I am not sure of it, still trying to understand all part of code. In body frame, locx is simply distance in x axis. Please correct me if I'm wrong.