Closed hsaleem1 closed 3 years ago
Hi @hsaleem1 , what I would do is make a "fprintf" and execute the node with a shell redirection (">") to a file. Is it what you need?
Possibly this is a solution. Can you please guide me how to do that?
@hsaleem1 You have a node in which you are subscribed to de bboxes 3d. Then, you get these coordinates and make a fprintf. More or less like that:
void callback(msg) {
double xmin, ymin, zmin, xmax, ymax, zmax;
xmin = ...;
ymin = ...;
zmin = ...;
...
...
...
fprintf(stdout, "xmin: %lf\n", xmin);
fprintf(stdout, "ymin: %lf\n", ymin);
...
...
}
@fgonzalezr1998, thank you very much. Problem solved, and closing this issue.
Hi there,
I am using this package and getting 3d coordinates in the following form: xmin: 0.4506256580352783 ymin: -0.3164764642715454 xmax: 0.7936256527900696 ymax: 0.11368180811405182 zmin: -0.25958430767059326 zmax: 0.10506562888622284
I need to ask that can I save those coordinates so that I can call them in a python file?
Thanks for the help.