Commits

John Hsu committed b40f607

add GetCameraCount

  • Participants
  • Parent commits 3e5fb38
  • Branches multi_camera_patch

Comments (0)

Files changed (1)

gazebo/sensors/MultiCameraSensor.cc

 }
 
 //////////////////////////////////////////////////
+unsigned int MultiCameraSensor::GetCameraCount() const
+{
+  return this->cameras.size();
+}
+
+//////////////////////////////////////////////////
 unsigned int MultiCameraSensor::GetImageWidth(unsigned int _index) const
 {
   return this->GetCamera(_index)->GetImageWidth();