🎯
- shapelim [at] [My Affiliation] [dot] edu
- https://orcid.org/0000-0002-7185-4666
- in/hyungtae-lim-34b8a015a
- https://buymeacoffee.com/htlim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Tutorial Author: [email protected] (임형태) | |
#include <iostream> | |
#include <pcl/filters/passthrough.h> | |
#include <pcl/point_types.h> | |
#include <pcl/point_cloud.h> | |
#include <string> | |
#include <pcl/visualization/pcl_visualizer.h> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Tutorial Author: [email protected] (임형태) | |
#include <iostream> | |
#include <pcl/filters/voxel_grid.h> | |
#include <pcl/point_types.h> | |
#include <pcl/point_cloud.h> | |
#include <string> | |
#include <pcl/visualization/pcl_visualizer.h> | |
using namespace std; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Tutorial Author: [email protected] (임형태) | |
#include <iostream> | |
#include <pcl/filters/statistical_outlier_removal.h> | |
#include <pcl/point_types.h> | |
#include <pcl/io/pcd_io.h> | |
#include <pcl/visualization/pcl_visualizer.h> | |
#include <pcl/point_cloud.h> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void remove_unintended_parts(const pcl::PointCloud<pcl::PointXYZI>& src, pcl::PointCloud<pcl::PointXYZI>& dst){ | |
// 포인트 뒷쪽 부분 찍힌 곳을 지워야 함 | |
// 로봇 앞쪽에 LiDAR sensor를 부착하면 뒤쪽에 로봇 프레임이 찍히기 때문! | |
pcl::PointCloud<pcl::PointXYZI>::Ptr ptr_filtered(new pcl::PointCloud<pcl::PointXYZI>); | |
pcl::PassThrough<pcl::PointXYZI> ptfilter; | |
*ptr_filtered = src; | |
float robot_size = 0.7; | |
// 1. Part A | |
ptfilter.setInputCloud(ptr_filtered); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <cstdlib> | |
#include <ctime> | |
#include <algorithm> | |
#include <string> | |
#include <fstream> | |
#include <pcl_conversions/pcl_conversions.h> | |
#include <pcl/conversions.h> | |
#include <pcl/io/pcd_io.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <cstdlib> | |
#include <ctime> | |
#include <algorithm> | |
#include <string> | |
#include <fstream> | |
#include <pcl_conversions/pcl_conversions.h> | |
#include <pcl/conversions.h> | |
#include <pcl/io/pcd_io.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <pcl/point_types.h> | |
#include <pcl/features/normal_3d.h> | |
int main(int argc, char **argv) | |
{ | |
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZ>); | |
pcl::PointXYZ pt; | |
pt.x = 0; pt.y = 0; pt.z = 0; | |
cloud->points.push_back(pt); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Tutorial Author: [email protected] (임형태) | |
#include <pcl/point_types.h> | |
#include <pcl/conversions.h> | |
using namespace std; | |
template<class T> | |
void print_pc(pcl::PointCloud<T> &cloud) { | |
int count = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Created by Hyungtae Lim on 21. 4. 27.. | |
// | |
#include <chrono> | |
#include <iomanip> | |
#include <iostream> | |
#include <string> | |
int main(int argc, const char *argv[]) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <fstream> | |
#include <eigen3/Eigen/Dense> | |
using namespace std; | |
vector<float> split(string input, char delimiter) { | |
vector<float> answer; | |
stringstream ss(input); |