| 505 | } /* namespace open_ptrack */ |
| 506 | |
| 507 | int main(int argc, |
| 508 | char ** argv) |
| 509 | { |
| 510 | ros::init(argc, argv, "opt_calibration"); |
| 511 | ros::NodeHandle node_handle("~"); |
| 512 | |
| 513 | try |
| 514 | { |
| 515 | open_ptrack::opt_calibration::OPTCalibrationNode calib_node(node_handle); |
| 516 | if (not calib_node.initialize()) |
| 517 | return 1; |
| 518 | calib_node.spin(); |
| 519 | } |
| 520 | catch (std::runtime_error & error) |
| 521 | { |
| 522 | ROS_FATAL("Calibration error: %s", error.what()); |
| 523 | return 2; |
| 524 | } |
| 525 | |
| 526 | return 0; |
| 527 | } |
nothing calls this directly
no test coverage detected