Skip to content

Commit

Permalink
separate include_directories as SYSTEM to avoid unrelated compilation…
Browse files Browse the repository at this point in the history
… warnings
  • Loading branch information
artivis authored and bmagyar committed Mar 15, 2018
1 parent e5a6c5a commit 3c82ca7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion diff_drive_controller/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ catkin_package(
)

include_directories(
include ${catkin_INCLUDE_DIRS}
include
)

include_directories(SYSTEM
${catkin_INCLUDE_DIRS}
)

add_library(${PROJECT_NAME} src/diff_drive_controller.cpp src/odometry.cpp src/speed_limiter.cpp)
Expand Down
2 changes: 1 addition & 1 deletion diff_drive_controller/src/diff_drive_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ namespace diff_drive_controller{
}

// Get the joint object to use in the realtime loop
for (int i = 0; i < wheel_joints_size_; ++i)
for (size_t i = 0; i < wheel_joints_size_; ++i)
{
ROS_INFO_STREAM_NAMED(name_,
"Adding left wheel with joint name: " << left_wheel_names[i]
Expand Down

0 comments on commit 3c82ca7

Please sign in to comment.