mirror of https://github.com/ArduPilot/ardupilot
AP_SmartRTL: stop constructing/copying Bitmask
This commit is contained in:
parent
6b7e04da06
commit
d9d9a298bb
|
@ -200,7 +200,7 @@ private:
|
|||
simplify_start_finish_t* stack;
|
||||
uint16_t stack_max; // maximum number of elements in the _simplify_stack array
|
||||
uint16_t stack_count; // number of elements in _simplify_stack array
|
||||
Bitmask bitmask = Bitmask(SMARTRTL_POINTS_MAX); // simplify algorithm clears bits for each point that can be removed
|
||||
Bitmask bitmask{SMARTRTL_POINTS_MAX}; // simplify algorithm clears bits for each point that can be removed
|
||||
} _simplify;
|
||||
|
||||
// Pruning
|
||||
|
|
Loading…
Reference in New Issue