Skip to content

Commit

Permalink
apply Slamtec#10
Browse files Browse the repository at this point in the history
  • Loading branch information
furushchev authored Jun 20, 2019
1 parent 95d935f commit ef6f654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ int main(int argc, char * argv[]) {
//const int angle_compensate_multiple = 1;
const int angle_compensate_nodes_count = 360*angle_compensate_multiple;
int angle_compensate_offset = 0;
rplidar_response_measurement_node_hq_t angle_compensate_nodes[angle_compensate_nodes_count];
rplidar_response_measurement_node_hq_t angle_compensate_nodes[angle_compensate_nodes_count+8];
memset(angle_compensate_nodes, 0, angle_compensate_nodes_count*sizeof(rplidar_response_measurement_node_hq_t));

int i = 0, j = 0;
Expand Down

0 comments on commit ef6f654

Please sign in to comment.