Public Member Functions | |
bool | align (bool verbose=false) |
Align to the wall. More... | |
BaseCalibration (ros::NodeHandle &n) | |
std::string | print () |
std::string | printCalibrationData () |
void | reset () |
bool | spin (double velocity, int rotations, bool verbose=false) |
Spin and record imu, odom, scan. More... | |
Private Member Functions | |
void | imuCallback (const sensor_msgs::Imu::Ptr &imu) |
void | laserCallback (const sensor_msgs::LaserScan::Ptr &scan) |
void | odometryCallback (const nav_msgs::Odometry::Ptr &odom) |
void | resetInternal () |
void | sendVelocityCommand (double vel) |
Private Attributes | |
double | accel_limit_ |
ros::Publisher | cmd_pub_ |
boost::recursive_mutex | data_mutex_ |
std::vector< double > | imu_ |
double | imu_angle_ |
ros::Subscriber | imu_subscriber_ |
ros::Time | last_imu_stamp_ |
ros::Time | last_odom_stamp_ |
ros::Time | last_scan_stamp_ |
double | max_angle_ |
double | min_angle_ |
std::vector< double > | odom_ |
double | odom_angle_ |
ros::Subscriber | odom_subscriber_ |
bool | ready_ |
std::vector< double > | scan_ |
double | scan_angle_ |
double | scan_dist_ |
double | scan_r2_ |
ros::Subscriber | scan_subscriber_ |
Definition at line 32 of file calibrate_base.cpp.
|
inline |
Definition at line 35 of file calibrate_base.cpp.
|
inline |
Align to the wall.
Definition at line 103 of file calibrate_base.cpp.
|
inlineprivate |
Definition at line 175 of file calibrate_base.cpp.
|
inlineprivate |
Definition at line 185 of file calibrate_base.cpp.
|
inlineprivate |
Definition at line 165 of file calibrate_base.cpp.
|
inline |
Definition at line 68 of file calibrate_base.cpp.
|
inline |
Definition at line 75 of file calibrate_base.cpp.
|
inline |
Definition at line 61 of file calibrate_base.cpp.
|
inlineprivate |
Definition at line 252 of file calibrate_base.cpp.
|
inlineprivate |
Definition at line 244 of file calibrate_base.cpp.
|
inline |
Spin and record imu, odom, scan.
Definition at line 129 of file calibrate_base.cpp.
|
private |
Definition at line 274 of file calibrate_base.cpp.
|
private |
Definition at line 258 of file calibrate_base.cpp.
|
private |
Definition at line 280 of file calibrate_base.cpp.
|
private |
Definition at line 277 of file calibrate_base.cpp.
|
private |
Definition at line 268 of file calibrate_base.cpp.
|
private |
Definition at line 261 of file calibrate_base.cpp.
|
private |
Definition at line 267 of file calibrate_base.cpp.
|
private |
Definition at line 264 of file calibrate_base.cpp.
|
private |
Definition at line 270 of file calibrate_base.cpp.
|
private |
Definition at line 273 of file calibrate_base.cpp.
|
private |
Definition at line 273 of file calibrate_base.cpp.
|
private |
Definition at line 278 of file calibrate_base.cpp.
|
private |
Definition at line 265 of file calibrate_base.cpp.
|
private |
Definition at line 260 of file calibrate_base.cpp.
|
private |
Definition at line 281 of file calibrate_base.cpp.
|
private |
Definition at line 276 of file calibrate_base.cpp.
|
private |
Definition at line 271 of file calibrate_base.cpp.
|
private |
Definition at line 271 of file calibrate_base.cpp.
|
private |
Definition at line 271 of file calibrate_base.cpp.
|
private |
Definition at line 262 of file calibrate_base.cpp.