-
Notifications
You must be signed in to change notification settings - Fork 154
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
Bridge point cloud packed #28
Conversation
I tried adding a demo in on branch
So is the Ignition data:
I'm still looking into what could be going on. It could be a problem with my local setup. |
Your width and height are 1. Is that intentional? |
Oh I hadn't noticed that detail on the message. I'm running this example world. The laser scans are going through fine. It could be an issue with my setup, I'll try your updated branches soon. |
The GPU lidar works for me with the new branches. The depth cloud looks mirrored though. This is using the demo on #29 : |
Are you having trouble with the depth_image in rviz? I see all black. |
You need this fix, it hasn't been released yet: ros-visualization/rviz#1378 |
Ahh, thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works for me. We need to wait for a couple of releases before merging. And some basic tests would also be nice.
{ | ||
convert_1_to_ign(ros1_msg.header, (*ign_msg.mutable_header())); | ||
|
||
std::cerr << "Unsupported conversion from [sensor_msgs::PointCloud2] to " | ||
<< "[ignition::msgs::PointCloud]" << std::endl; | ||
} | ||
|
||
template<> | ||
void | ||
convert_ign_to_1( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the messages are so similar, it shouldn't be a lot of trouble to add the reverse conversion, and some tests with some dummy data.
Add other direction and tests. |
See: https://bitbucket.org/ignitionrobotics/ign-msgs/pull-requests/144 and https://bitbucket.org/ignitionrobotics/ign-sensors/pull-requests/78/output-a-pointcloudpacked-message/diff