Skip to content

Multiple cameras launching multiple instances of the nodes? #33

@carlosgalvezp

Description

@carlosgalvezp

Hi,

I can get the package working for one single camera. I would like to have multiple cameras creating their own map.
I have tried launching multiple instances of the required nodes (under different namespaces). Launching multiple Openni nodes works fine, and I get separate RGB and Depth image topics for each of them. However, when I launch the second camera, the RGBD_Proc node crashes for some reason (no error, just freezes).

I believe it may have to do with boost::shared_ptr sync_, since the program freezes just after calling
sync_->registerCallback(boost::bind(&RGBDImageProc::RGBDCallback, this, _1, _2, _3, _4));

on the second camera. However I cannot find the error since that code is quite advanced for me.

Do you know what can be happening when trying to run several instances of the RGBD_Proc node?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions