[ros-users] [PCL-users] coding style, indentation, etc

Radu Bogdan Rusu rusu at willowgarage.com
Tue Nov 30 21:20:32 UTC 2010

Yup, OpenCV has its own style. The ROS C++ style is _unfortunately_ not truly adopted by all ROS packages, which makes 
looking at the code a pain sometimes.

We're 99.99% identical to ROS C++, with two tiny additions regarding indentation. Since we're a smaller project that 
aims to works independent of ROS too, we can afford to control these things much better than the ROS package universe. 
This will hopefully lead to cleaner, more readable code (to some extent) in PCL.


On 11/30/2010 01:09 PM, Alex Bravo wrote:
> Hi,
> While I do like changes to Style guide PCL is proposing, it's pretty strange to have two separate C++ style guides on
> one ROS.org site (or is it three styles? Does OpenCV have its own style?).
> I believe it would be very desirable to come up with a concensus and have only one C++ Style Guide.
> Alex
> Date: Mon, 29 Nov 2010 12:20:12 -0800
> From: Radu Bogdan Rusu <rusu at willowgarage.com <mailto:rusu at willowgarage.com>>
> Subject: [PCL-users] coding style, indentation, etc
> To: "Point Cloud Library (PCL) mailing list" <pcl-users at code.ros.org <mailto:pcl-users at code.ros.org>>
> Message-ID: <4CF40AFC.6080406 at willowgarage.com <mailto:4CF40AFC.6080406 at willowgarage.com>>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Hi all,
> Similar to the compile braindump from yesterday, here's another page (linked to the main pcl.ros.org
> <http://pcl.ros.org> web site) for
> developers: http://www.ros.org/wiki/pcl/CodingStyleGuide
> Please add your comments/ideas. Let's make this a resource for future developers.
> --
> Cheers,
> Radu.
> _______________________________________________
> PCL-users at code.ros.org / http://pcl.ros.org
> https://code.ros.org/mailman/listinfo/pcl-users

More information about the ros-users mailing list