update
This commit is contained in:
@@ -355,12 +355,12 @@ namespace amr_control
|
||||
catch (const std::exception &e)
|
||||
{
|
||||
robot::log_error("[%s:%d]\n Exception: %s", __FILE__, __LINE__, e.what());
|
||||
exit(1);
|
||||
// exit(1);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
robot::log_error("[%s:%d]\n Unknown exception occurred", __FILE__, __LINE__);
|
||||
exit(1);
|
||||
// exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,10 @@ include_directories(
|
||||
)
|
||||
|
||||
link_directories(${GAZEBO_LIBRARY_DIRS})
|
||||
list(APPEND CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
|
||||
# NOTE: CMAKE_CXX_FLAGS must remain a plain string. Using list(APPEND) turns it
|
||||
# into a semicolon-separated CMake list, which can break generated make rules
|
||||
# (e.g., shell treats `;` as a command separator).
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GAZEBO_CXX_FLAGS}")
|
||||
|
||||
add_library(${PROJECT_NAME} src/steer_drive_controller.cpp src/odometry.cpp src/speed_limiter.cpp)
|
||||
target_link_libraries(${PROJECT_NAME} ${catkin_LIBRARIES} ${GAZEBO_LIBRARIES})
|
||||
|
||||
Submodule pnkx_nav_core updated: 01e278befb...1a19e38b2d
Reference in New Issue
Block a user