ethz-asl / refill

A Recursive Filtering Library for Bayesian Target Tracking
MIT License
8 stars 1 forks source link

std::make_unique #43

Closed rikba closed 7 years ago

rikba commented 7 years ago

std::make_unique in extended_kalman_filter_test.cc is a C++14 feature and thus does not build on Jenkins currently: /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc: In member function 'virtual void refill::ExtendedKalmanFilterTest_ConstructorTest_Test::TestBody()': /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc:35:22: error: 'make_unique' is not a member of 'std' initial_state, std::make_unique < LinearSystemModel > (system_model), ^ /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc:35:59: error: expected primary-expression before '>' token initial_state, std::make_unique < LinearSystemModel > (system_model), ^ /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc:36:7: error: 'make_unique' is not a member of 'std' std::make_unique < LinearMeasurementModel > (measurement_model)); ^ /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc:36:49: error: expected primary-expression before '>' token std::make_unique < LinearMeasurementModel > (measurement_model)); ^ /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc: In member function 'virtual void refill::ExtendedKalmanFilterTest_PredictionTest_Test::TestBody()': /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc:81:22: error: 'make_unique' is not a member of 'std' initial_state, std::make_unique < LinearSystemModel > (system_model), ^ /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc:81:59: error: expected primary-expression before '>' token initial_state, std::make_unique < LinearSystemModel > (system_model), ^ /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc:82:7: error: 'make_unique' is not a member of 'std' std::make_unique < LinearMeasurementModel > (measurement_model)); ^ /home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc:82:49: error: expected primary-expression before '>' token std::make_unique < LinearMeasurementModel > (measurement_model)); ^ make[3]: *** [CMakeFiles/refill_test.dir/home/jenkins/workspace/mav_mbzirc/src/mav_mbzirc/submodules/refill/src/tests/extended_kalman_filter_test.cc.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory/home/jenkins/workspace/mav_mbzirc/build/refill_catkin' make[2]: [CMakeFiles/refill_test.dir/all] Error 2 make[1]: [CMakeFiles/tests.dir/rule] Error 2 make: *** [tests] Error 2 make[2]: Leaving directory /home/jenkins/workspace/mav_mbzirc/build/refill_catkin' ............................................................................... Failed << refill_catkin:make [ Exited with code 2 ]

jwidauer commented 7 years ago

This should be fixed once PR #44 is merged.

jwidauer commented 7 years ago

This should be fixed now. I'll close the issue and we can reopen if it occurs again.