http://www.pcl-users.org/PointCloud-Ptr-td3559529.html
https://stackoverflow.com/questions/10644429/create-a-pclpointcloudptr-from-a-pclpointcloud
const pcl::PointCloud<pcl::PointXYZ> cloud(10,10);
const pcl::PointXYZ p(1,1,1);
| def euler_from_quaternion(quaternion): | |
| """ | |
| Converts quaternion (w in last place) to euler roll, pitch, yaw | |
| quaternion = [x, y, z, w] | |
| Bellow should be replaced when porting for ROS 2 Python tf_conversions is done. | |
| """ | |
| x = quaternion.x | |
| y = quaternion.y | |
| z = quaternion.z | |
| w = quaternion.w |
http://www.pcl-users.org/PointCloud-Ptr-td3559529.html
https://stackoverflow.com/questions/10644429/create-a-pclpointcloudptr-from-a-pclpointcloud
const pcl::PointCloud<pcl::PointXYZ> cloud(10,10);
const pcl::PointXYZ p(1,1,1);
| # will need to be tweaked for your project | |
| make_minimum_required(VERSION 3.5) | |
| project(test_ros_pb11) | |
| # Default to C99 | |
| if(NOT CMAKE_C_STANDARD) | |
| set(CMAKE_C_STANDARD 99) | |
| endif() | |
| # Default to C++14 |
This Gist has been moved to https://github.com/lbgists/audio-spectrum-matplotlib.