Home > Back-end >  C, in the calling pointer, how to value has been a pointer to an array of change?
C, in the calling pointer, how to value has been a pointer to an array of change?

Time:03-15

On a binocular camera in the process of secondary development, want to one of his * distancez pointer to a numerical filter processing, to achieve the purpose of stable range, short pointer is not my definition, is defined inside the demo, it should be encapsulated, values can real-time changes, if he real-time output value is: 1, 2, 3, 4, 5 I tried for a group of five, use vector to receive, but received five digits are the same, is 1 1 1 1 1, 2 2 2 2 2... Instead of 1, 2, 3, 4, 5 of this, do not apply to each value, so how to do?

CodePudding user response:

refer to the original poster Guan_Shuai response:
on a binocular camera in the process of secondary development, want to one of his * distancez pointer to a numerical filter processing, to achieve the purpose of stable range, short pointer is not my definition, is defined inside the demo, it should be encapsulated, values can real-time changes, if he real-time output value is: 1, 2, 3, 4, 5 I tried for a group of five, use vector to receive, but received five digits are the same, is 1 1 1 1 1, 2 2 2 2 2... Instead of 1, 2, 3, 4, 5 of this, do not apply to each value, so how to do?

You are receiving too fast or the depth of the corresponding position for the camera was unchanged

CodePudding user response:

According to the experience of the use of conventional digital camera, zoom level is a second process, 50 ms is a more appropriate values, again soon do not have what meaning,