Commit 0ead856 1 parent df18980 commit 0ead856 Copy full SHA for 0ead856
File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -352,8 +352,8 @@ namespace sdf
352
352
// / object's camera_info message header is expressed.
353
353
// / Note: while Gazebo interprets the camera frame to be looking towards +X,
354
354
// / other tools, such as ROS interprets this frame as looking towards +Z.
355
- // / The Camera sensor assumes that the color and depth images are captured at
356
- // / the same frame_id.
355
+ // / The Camera sensor assumes that the color and depth images are captured
356
+ // / at the same frame_id.
357
357
// / \return The name of the frame this camera uses in its camera_info topic.
358
358
public: const std::string OpticalFrameId () const ;
359
359
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ Errors Camera::Load(ElementPtr _sdf)
354
354
// Load the optional optical_frame_id value.
355
355
if (_sdf->HasElement (" optical_frame_id" ))
356
356
{
357
- this ->dataPtr ->opticalFrameId = _sdf->Get <std::string>(" optical_frame_id" ,
357
+ this ->dataPtr ->opticalFrameId = _sdf->Get <std::string>(" optical_frame_id" ,
358
358
this ->dataPtr ->opticalFrameId ).first ;
359
359
}
360
360
@@ -1172,7 +1172,8 @@ sdf::ElementPtr Camera::ToElement() const
1172
1172
this ->SegmentationType ());
1173
1173
}
1174
1174
1175
- elem->GetElement (" optical_frame_id" )->Set <std::string>(this ->OpticalFrameId ());
1175
+ elem->GetElement (" optical_frame_id" )->Set <std::string>(
1176
+ this ->OpticalFrameId ());
1176
1177
1177
1178
return elem;
1178
1179
}
You can’t perform that action at this time.
0 commit comments