mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_SmartRTL: Bitmask is now a template
This commit is contained in:
parent
606614adb9
commit
e166286ff5
@ -196,7 +196,7 @@ private:
|
|||||||
simplify_start_finish_t* stack;
|
simplify_start_finish_t* stack;
|
||||||
uint16_t stack_max; // maximum number of elements in the _simplify_stack array
|
uint16_t stack_max; // maximum number of elements in the _simplify_stack array
|
||||||
uint16_t stack_count; // number of elements in _simplify_stack array
|
uint16_t stack_count; // number of elements in _simplify_stack array
|
||||||
Bitmask bitmask{SMARTRTL_POINTS_MAX}; // simplify algorithm clears bits for each point that can be removed
|
Bitmask<SMARTRTL_POINTS_MAX> bitmask; // simplify algorithm clears bits for each point that can be removed
|
||||||
} _simplify;
|
} _simplify;
|
||||||
|
|
||||||
// Pruning
|
// Pruning
|
||||||
|
Loading…
Reference in New Issue
Block a user