-
Remove
libpcl-devsudo apt remove libpcl-dev
-
Remove libraries
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
| #!/usr/bin/env python | |
| import sys | |
| import roslib; | |
| import rospy | |
| import rosbag | |
| from rospy import rostime | |
| import argparse | |
| import os | |
| # Original: |
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
| // In this quiz you'll fit a polynomial to waypoints. | |
| #include <iostream> | |
| #include "Dense" | |
| using namespace Eigen; | |
| ///////////////////////////////////////////////////////////////////////////////////////////// | |
| // Fit a polynomial. | |
| // Adapted from | |
| // https://github.com/JuliaMath/Polynomials.jl/blob/master/src/Polynomials.jl#L676-L716 |
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
| #Removes all tfs except the one that has 'base_footprint' as child frame id | |
| rosbag filter old.bag new.bag "topic != '/tf' or (len(m.transforms)>0 and m.transforms[0].child_frame_id=='base_footprint')" | |
| #Same as above but limiting other topics to '/odom' and '/scan' | |
| rosbag filter old.bag new.bag "topic == '/odom' or topic == '/scan' or (topic == '/tf' and len(m.transforms)>0 and m.transforms[0].child_frame_id=='imu_link')" | |
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
| // C++ program to find out execution time of | |
| // of functions | |
| #include <algorithm> | |
| #include <chrono> | |
| #include <iostream> | |
| using namespace std; | |
| using namespace std::chrono; | |
| // For demonstration purpose, we will fill up |
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
| import cv2 | |
| img = cv2.imread('lena.png') | |
| # (1) create a copy of the original: | |
| overlay = img.copy() | |
| # (2) draw shapes: | |
| cv2.circle(overlay, (133, 132), 12, (0, 255, 0), -1) | |
| cv2.circle(overlay, (166, 132), 12, (0, 255, 0), -1) | |
| # (3) blend with the original: |
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.