Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing topics for all 5 cameras #41

Open
parlange opened this issue Oct 24, 2017 · 2 comments
Open

Publishing topics for all 5 cameras #41

parlange opened this issue Oct 24, 2017 · 2 comments

Comments

@parlange
Copy link

Hello, I have been trying to modify GuidanceNode.cpp in order to have a different topic for every camera.
I noticed there's a pull request with a modified node FullCameras.cpp, which I tested, but I am getting the following error:

FullCameras.cpp:75:25: error: no match for ‘operator=’ (operand types are ‘cv::Mat’ and ‘char*’)
         images[j].image = data->m_greyscale_image_left[i];

Has anyone figured out how to split the node to publish 5 separate topics? Thanks.

@jimcha21
Copy link

jimcha21 commented Oct 24, 2017

The FullCameras.cpp works just fine (as I double checked it right now).. Have you modified the FullCameras.cpp? The FullCameras node by default posts the cameras' raw data in separate topics (check here).

Also, I think that the only way to access to Guidance image raw data, is via memcpy() (check FullCameras code here)

@Prlng

@parlange
Copy link
Author

I am sorry, last night I ran the node and I was getting an error because of my cv setup.
Now I can access separate topics for each camera.
Thank you! @jimcha21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants