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
| #define checkCudaErr(val) check( (val), #val, __FILE__, __LINE__) | |
| template<typename T> | |
| void check(T err, const char* const func, const char* const file, const int line) { | |
| if (err != cudaSuccess) { | |
| std::cerr << "CUDA error at: " << file << ":" << line << std::endl; | |
| std::cerr << cudaGetErrorString(err) << " " << func << std::endl; | |
| exit(1); | |
| } | |
| } |
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
| %%cu | |
| #include <iostream> | |
| #include <algorithm> | |
| #include <cuda_runtime.h> | |
| #include <random> | |
| #include <chrono> | |
| #define checkCudaErr(val) check( (val), #val, __FILE__, __LINE__) | |
| template<typename T> | |
| void check(T err, const char* const func, const char* const file, const int line) { |
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
| %%cu | |
| #include <iostream> | |
| #include <algorithm> | |
| #include <cuda_runtime.h> | |
| #include <random> | |
| #include <chrono> | |
| #define checkCudaErr(val) check( (val), #val, __FILE__, __LINE__) | |
| template<typename T> | |
| void check(T err, const char* const func, const char* const file, const int line) { |
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 "trajectory_generator_waypoint.h" | |
| #include <stdio.h> | |
| #include <ros/ros.h> | |
| #include <ros/console.h> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <string> | |
| using namespace std; | |
| using namespace Eigen; |
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 <string> | |
| #include <iostream> | |
| #include <fstream> | |
| #include <math.h> | |
| #include <random> | |
| #include <ros/ros.h> | |
| #include <ros/console.h> | |
| #include <nav_msgs/Path.h> | |
| #include <nav_msgs/Odometry.h> | |
| #include <geometry_msgs/PoseStamped.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 "Astar_searcher.h" | |
| #include <stdexcept> | |
| using namespace std; | |
| using namespace Eigen; | |
| void AstarPathFinder::initGridMap(double _resolution, Vector3d global_xyz_l, Vector3d global_xyz_u, int max_x_id, int max_y_id, int max_z_id) | |
| { | |
| gl_xl = global_xyz_l(0); | |
| gl_yl = global_xyz_l(1); |
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 <opencv2/opencv.hpp> | |
| #include <string> | |
| #include <Eigen/Core> | |
| #include <Eigen/Dense> | |
| using namespace std; | |
| using namespace cv; | |
| // this program shows how to use optical flow |
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 <opencv2/opencv.hpp> | |
| #include <string> | |
| #include <Eigen/Core> | |
| #include <Eigen/Dense> | |
| using namespace std; | |
| using namespace cv; | |
| // this program shows how to use optical flow |
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 <opencv2/opencv.hpp> | |
| #include <string> | |
| #include <Eigen/Core> | |
| #include <Eigen/Dense> | |
| using namespace std; | |
| using namespace cv; | |
| // this program shows how to use optical flow |
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 <opencv2/opencv.hpp> | |
| #include <string> | |
| #include <Eigen/Core> | |
| #include <Eigen/Dense> | |
| using namespace std; | |
| using namespace cv; | |
| // this program shows how to use optical flow |
NewerOlder