laser_uav_lib contains the C++ utilities shared by the LASER UAV System (LUS): signal filters, attitude conversions, Kalman filtering, error metrics and spatial searches.
Other packages link these components into their nodes. The library has no ROS topics, services, launch files or parameter YAML of its own.
From the workspace root:
colcon build --packages-up-to laser_uav_lib
source install/setup.bashAdd <depend>laser_uav_lib</depend> to your package's package.xml. In CMakeLists.txt, find the package and link your existing target:
find_package(laser_uav_lib REQUIRED)
target_link_libraries(your_target laser_uav_lib)The laser_uav_lib target links all components. You can also link individual targets: irr_filter, notch_filter, imu_filter, attitude_converter, ekf, rmse and kdtree.
| Class | Role |
|---|---|
| IIRFilter | Filters scalar samples using feedback and feedforward coefficients. |
| NotchFilter | Attenuates a selected frequency band. |
| ImuFilter | Filters accelerometer and gyroscope measurements. |
| AttitudeConverter | Converts rotation representations and calculates heading and body axes. |
| EulerAttitude | Stores roll, pitch and yaw angles. |
| Vector3Converter | Converts three-dimensional vectors between Eigen, TF2 and ROS messages. |
| KalmanFilter | Defines the common interface for state estimators. |
| EKF | Implements extended Kalman prediction and correction for a supplied model. |
| RMSE | Measures estimated points' distance to a reference path. |
| KDTree | Finds the nearest reference point in three dimensions. |