I am trying to use dynamic configure to set some camera parameters. I would like to pass a pointer to the camera object into the callback, so that I can use it's methods for setting the camera values. Is it possible to pass additional arguments to the dynamic reconfigure callback?
Callback:
void dr_callback(camera_node::dynamic_reconfig ¶meters, uint32_t levels){
// set global object of parameters
}
void dr_callback_function(jai_camera_node::dynamic_reconfigConfig ¶meters, uint32_t levels, cam_type *cam){
// use camera member functions to change values
}
I am trying to use dynamic configure to set some camera parameters. I would like to pass a pointer to the camera object into the callback, so that I can use it's methods for setting the camera values. Is it possible to pass additional arguments to the dynamic reconfigure callback? Callback:
Binding:
ideal callback: