mirror of https://github.com/ArduPilot/ardupilot
AP_Math: remove method operator
remove the metho operator from the class. This means this will no longer work: Quaternion q{0,1,2,3}; q(5,6,7,8); .... that used to set the quaternion componets, but is an odd / atypical syntax to use
This commit is contained in:
parent
cac2c63e72
commit
d7caf1e6b5
|
@ -50,15 +50,6 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
// function call operator
|
||||
void operator()(const T _q1, const T _q2, const T _q3, const T _q4)
|
||||
{
|
||||
q1 = _q1;
|
||||
q2 = _q2;
|
||||
q3 = _q3;
|
||||
q4 = _q4;
|
||||
}
|
||||
|
||||
// check if any elements are NAN
|
||||
bool is_nan(void) const WARN_IF_UNUSED
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue