Code Monkey home page Code Monkey logo

remittance-calibration's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

remittance-calibration's Issues

catkin_make error

When I compile the package, I encounter the error as show below:
devel/lib/libremittance_calib.so: undefined reference to remittance_calib::Calibrator::uniform_dist
But I found the class object uniform_dist in calibrator.hpp. How can I solve the problem?

poor calibration result

Hi Guo!
I use your code to calibrate my VLP16 lidar intensity. However poor result happens
选区_004
Later I use your calibration file from QCAT dataset, but still, it seems not perfect
图片
The right side is the calibrated pointcloud and the left is the original. There are some points with
purple intensity after calibrated, who I think are the outliers. It seems that the velodyne lidar has already been calibrated. My calibration result shows worse performance than the original velodyne data.
However, it seems QCAT dataset also have this issue.
图片
The right(corrected) pointcloud has some blue intensity points while the left(original) does not. The two pointclouds are from QCAT pole local_scan_52.
I am not sure whether it is necessary to calibrate the intensity manually? Or something I understand wrong?
Looking forward to your reply!

Now can compile wtihout pcl_catkin gflags_catkin glog_catkin

cmake_minimum_required(VERSION 2.8.3)
project(remittance_calib)

/## Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++11)

/## Find catkin macros and libraries
/## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
/## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS
pcl_ros
)

find_package(PCL REQUIRED)
include_directories((${PCL_INCLUDE_DIRS}))

set(GFLAGS_INCLUDE_DIRS /usr/local/include/gflags/)
set(GLOG_INCLUDE_DIRS /usr/local/include/glog/)

catkin_package(
INCLUDE_DIRS include
LIBRARIES ${PROJECT_NAME}
CATKIN_DEPENDS pcl_ros
)

include_directories(
include
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
"/usr/include/eigen3"
${GFLAGS_INCLUDE_DIRS}
${GLOG_INCLUDE_DIRS}
)

set(PUBLIC_HPP
include/remittance_calib/pcl_point.hpp
include/remittance_calib/io.hpp
include/remittance_calib/pdf.hpp
include/remittance_calib/types.hpp
include/remittance_calib/calibrator.hpp
)
set(LIB_CPP
src/io.cpp
src/types.cpp
src/calibrator.cpp
)
/## Declare a C++ library
add_library(${PROJECT_NAME} SHARED ${PUBLIC_HPP} ${LIB_CPP} )

LINK_DIRECTORIES("/usr/local/lib/")

target_link_libraries(${PROJECT_NAME}
${catkin_LIBRARIES}
${PCL_LIBRARIES}
libgflags.so
libgflags_nothreads.so
libglog.so
)

/# Tests
catkin_add_gtest(${PROJECT_NAME}_tests
test/test_main.cpp
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/test
)
target_link_libraries(${PROJECT_NAME}_tests
${PROJECT_NAME}
${catkin_LIBRARIES}
libgflags.so
libgflags_nothreads.so
libglog.so
)

/## Executable 1
add_executable(calibrate src/run_calibration.cpp)
target_link_libraries(calibrate ${PROJECT_NAME} ${catkin_LIBRARIES} )
/## Executable 2
add_executable(correct src/run_correction.cpp)
target_link_libraries(correct ${PROJECT_NAME} ${catkin_LIBRARIES})
/## Executable 2
add_executable(merge src/merge_pointclouds.cpp)
target_link_libraries(merge ${PROJECT_NAME} ${catkin_LIBRARIES})

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.