Compare commits
No commits in common. "e1fb5cc75195202feceea62622ad9cd3a3e356da" and "13f7f5bd699eed492b2d3307f7e54230a9aa6df3" have entirely different histories.
e1fb5cc751
...
13f7f5bd69
@ -664,18 +664,6 @@ SensorScheduler::SensorScheduler() {
|
|||||||
} else {
|
} else {
|
||||||
xy_wave_start_id = max_sensor_num_ + 1;
|
xy_wave_start_id = max_sensor_num_ + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (max_sensor_num_ == 2 && free_slice_ == 0) {
|
|
||||||
xy_wave_start_id = 2;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (max_sensor_num_ == 1 && free_slice_ == 0) {
|
|
||||||
if (available_slice_ == 2) {
|
|
||||||
xy_wave_start_id = 1;
|
|
||||||
} else if (available_slice_ == 4) {
|
|
||||||
xy_wave_start_id = 2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
for (int i = 1; i <= max_sensor_num_; ++i) {
|
for (int i = 1; i <= max_sensor_num_; ++i) {
|
||||||
sensor_id_nth_slice_[i] = { i, i + xy_wave_start_id };
|
sensor_id_nth_slice_[i] = { i, i + xy_wave_start_id };
|
||||||
slice_sensor_id_[i] = i;
|
slice_sensor_id_[i] = i;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user