Skip to content

Instantly share code, notes, and snippets.

View gunshi's full-sized avatar

Gunshi Gupta gunshi

View GitHub Profile
Initialize nViewMatcher ... OK
Performing Cross Matching ... OK
----------------------------
Reconstruction:
============================
Estimated 3D points: 3844
Estimated cameras: 4
Refined intrinsics:
resized_IMG_2889.jpg
resized_IMG_2890.jpg
resized_IMG_2891.jpg
resized_IMG_2892.jpg
#define CERES_FOUND true
#include <opencv2/sfm.hpp>
#include <opencv2/viz.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/core.hpp>
#include <opencv2/highgui.hpp>
#include <iostream>
#include <pcl/io/pcd_io.h>
@gunshi
gunshi / error
Created April 13, 2016 10:43
Error from run of "cd /Users/gunshigupta/ros_catkin_ws/build_isolated/gazebo_plugins && /Users/gunshigupta/ros_catkin_ws/install_isolated/env.sh make -j4 -l4"
In file included from /Users/gunshigupta/ros_catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/src/MultiCameraPlugin.cpp:19:
/Users/gunshigupta/ros_catkin_ws/src/gazebo_ros_pkgs/gazebo_plugins/include/gazebo_plugins/MultiCameraPlugin.h:46:25: error: no
type named 'MultiCameraSensorPtr' in namespace 'gazebo::sensors'; did you mean 'MultiCameraSensor'?
protected: sensors::MultiCameraSensorPtr parentSensor;
~~~~~~~^~~~~~~~~~~~~~~~~~
MultiCameraSensor
/usr/local/Cellar/gazebo1/1.9.7/include/gazebo-1.9/gazebo/sensors/MultiCameraSensor.hh:40:11: note: 'MultiCameraSensor' declared
here
class MultiCameraSensor : public Sensor
^
@gunshi
gunshi / test.cpp
Last active March 23, 2016 18:51
test run of half space_intersection_3
#include <stdio.h>
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <CGAL/Point_3.h>
#include <CGAL/Plane_3.h>
#include <CGAL/Vector_3.h>
#include <CGAL/Polyhedron_3.h>
#include <CGAL/Segment_3.h>
#include <CGAL/squared_distance_3.h>
#include <CGAL/Nef_polyhedron_3.h>
#include <CGAL/Point_2.h>