question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: How to perform inference from sensor_msgs/msg/PointCloud2 messages

See original GitHub issue

I’m trying to perform inference with sensor_msgs/msg/PointCloud2 messages with the following structure:

---
header:
  stamp:
    sec: 1591579194
    nanosec: 532001792
  frame_id: lidar_front
height: 1
width: 4314
fields:
- name: x
  offset: 0
  datatype: 7
  count: 1
- name: y
  offset: 4
  datatype: 7
  count: 1
- name: z
  offset: 8
  datatype: 7
  count: 1
- name: intensity
  offset: 16
  datatype: 2
  count: 1
- name: timestamp
  offset: 24
  datatype: 8
  count: 1
is_bigendian: false
point_step: 32
row_step: 138048
data: [41, 80, 35, 65, 251, 212, 240, 183, 63, 95, 230, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 148, 252, 34, 65, 54, 27, 54, 190, 62, 242, 229, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 127, 168, 34, 65, 194, 198, 181, 190, 142, 150, 229, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 226, 89, 34, 65, 144, 36, 8, 191, 80, 84, 229, 191, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '...']
is_dense: true

If I converted this into the same point cloud format that pcdet expects, would this be enough to perform inference and generate 3D bounding boxes? Any examples or pointers?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
muzi2045commented, Jul 31, 2020
0reactions
github-actions[bot]commented, Mar 8, 2022

This issue was closed because it has been inactive for 14 days since being marked as stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

sensor_msgs/PointCloud2 Message - ROS Documentation
This message holds a collection of N-dimensional points, which may # contain additional information such as normals, intensity, etc. The
Read more >
(PDF) Deep Learning Based Classification of Clothes using ...
PDF | In this work, a classifier for clothes was developed which solely relies on depth information. The task was approached using a...
Read more >
Deep Reinforcement Learning based Path-Planning for Multi
Thus, a ROS node is developed for converting incoming sensor_msgs/LaserScan [47] into sensor_msgs/PointCloud2 [48] type messages. These point clouds will be ...
Read more >
Unable to visualise PointCloud in Rviz (ROS) from publisher ...
You've mentioned that you have set your fixed frame in RViz to base_link , but in your code you set the frame_id of...
Read more >
Acoustic-Inertial Forward-Scan Sonar Simultaneous ... - kth .diva
data from sensor measurements, and a back-end that performs inference on the processed sensor information to compute a resulting state estimate.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found