Skip to content

Commit

Permalink
fixing the warning for VGA resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Natalia Lyubova committed Nov 21, 2017
1 parent fbffefe commit 5ec00ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<build_depend>tf2_geometry_msgs</build_depend>
<build_depend>tf2_msgs</build_depend>
<build_depend>tf2_ros</build_depend>
<build_depend>rosconsole</build_depend>

<buildtool_depend>catkin</buildtool_depend>

Expand All @@ -42,6 +43,7 @@
<run_depend>robot_state_publisher</run_depend>
<run_depend>rosbag_storage</run_depend>
<run_depend>tf2_ros</run_depend>
<run_depend>rosconsole</run_depend>

<conflict>nao_driver</conflict>
<conflict>naoqi_rosbridge</conflict>
Expand Down
3 changes: 2 additions & 1 deletion src/converters/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* ROS includes
*/
#include <cv_bridge/cv_bridge.h>
#include <ros/console.h>

/*
* CV includes
Expand Down Expand Up @@ -99,7 +100,7 @@ const sensor_msgs::CameraInfo& getCameraInfo( int camera_source, int resolution
if ( resolution == AL::kVGA )
{
static const sensor_msgs::CameraInfo cam_info_msg = createCameraInfoDEPTHVGA();
ROS_WARN("VGA resolution is not supported for the depth camera, please use QVGA");
ROS_WARN("VGA resolution is not supported for the depth camera, use QVGA or lower");
return cam_info_msg;
}
else if( resolution == AL::kQVGA )
Expand Down

0 comments on commit 5ec00ee

Please sign in to comment.