Skip to content

Commit

Permalink
Reformat C++ code
Browse files Browse the repository at this point in the history
  • Loading branch information
luator committed Aug 20, 2024
1 parent 35b1722 commit b53feaa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/trifinger_cameras/pylon_driver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ class PylonDriver
* @brief Get the camera parameters (image size and calibration
* coefficients).
*
* **Important:** The calibration coefficients are only set if the driver is
* initialized with a calibration file (see constructor). Otherwise, they will be
* empty.
* **Important:** The calibration coefficients are only set if the driver
* is initialized with a calibration file (see constructor). Otherwise,
* they will be empty.
*/
virtual CameraInfo get_sensor_info() override;

Expand Down
4 changes: 2 additions & 2 deletions src/tricamera_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ void TriCameraDriver::init(Settings settings)
rate = std::chrono::milliseconds(std::lround(rate_sec * 1000));

sensor_info_ = TriCameraInfo(camera1_.get_sensor_info(),
camera2_.get_sensor_info(),
camera3_.get_sensor_info());
camera2_.get_sensor_info(),
camera3_.get_sensor_info());
sensor_info_.camera[0].frame_rate_fps = cfg->frame_rate_fps;
sensor_info_.camera[1].frame_rate_fps = cfg->frame_rate_fps;
sensor_info_.camera[2].frame_rate_fps = cfg->frame_rate_fps;
Expand Down

0 comments on commit b53feaa

Please sign in to comment.