accessing value of variable of one callback in other callback
I have 2 callbacks in my program subcribing on depth and rgb image.I have detected circle and calculated its centre point from rgb data now I am trying to access the depth value of that centre point by passing the point to the second callback but when I run the code it generate "segmentation fault". Is there any solution for this??? kindly help
you should post your code.