28#include <boost/filesystem.hpp>
29#include <boost/property_tree/json_parser.hpp>
30#include <boost/property_tree/ptree.hpp>
109std::shared_ptr<JsonConf>
ParseJson(std::string conf_path);
111inline double GetYaw(
double from_x,
double from_y,
double to_x,
double to_y) {
112 double vecx = to_x - from_x;
113 double vecy = to_y - from_y;
114 double alpha = acos(vecy / sqrt(vecx * vecx + vecy * vecy));
116 alpha = 2 * M_PI - alpha;
static Time Now()
get the current time.
double ToSecond() const
convert time to second.
constexpr double kRADIANS_TO_DEGREES
std::shared_ptr< JsonConf > ParseJson(std::string conf_path)
double GetYaw(double from_x, double from_y, double to_x, double to_y)
constexpr double kDEGRESS_TO_RADIANS
unsigned int position_type
unsigned int solution_status
double static_align_duration
double laps_time_err_thresh
std::pair< float, float > diff_age_range
int eight_bad_pose_tolerance
std::vector< std::pair< std::string, double > > topic_list
double local_std_upper_limit
double laps_alpha_err_thresh
unsigned int solution_status
int laps_number_additional
double static_align_tolerance
double static_align_dist_thresh
std::set< unsigned int > position_type_range
int alignment_featch_pose_sleep
double topic_rate_tolerance
int channel_check_trigger_gap