Increase motor task stack

Avoid accidental stack overflows from small stack.

Updates #37
Updates #50
This commit is contained in:
Scott Bezek 2022-04-07 10:18:48 -07:00
parent 21031d13af
commit e35319af6d

View File

@ -16,7 +16,7 @@ static const float IDLE_CORRECTION_MAX_ANGLE_RAD = 5 * PI / 180;
static const float IDLE_CORRECTION_RATE_ALPHA = 0.0005;
MotorTask::MotorTask(const uint8_t task_core) : Task("Motor", 1200, 1, task_core) {
MotorTask::MotorTask(const uint8_t task_core) : Task("Motor", 2048, 1, task_core) {
queue_ = xQueueCreate(5, sizeof(Command));
assert(queue_ != NULL);
}