[ros-users] [Discourse.ros.org] Suggestions for std_srvs

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Tully Foote via ros-users
Dato:  
Til: ros-users
Emne: [ros-users] [Discourse.ros.org] Suggestions for std_srvs



The majority of messages in std_msgs are mostly there for legacy reasons. We would have purged them when we purged std_srvs, however we judged that although the're not recommended, they are used in a lot of places and the disruption of removing them will cost more than maintaining the package in it's current state.

We could make the package description more proactive, but the wiki page is pretty clear:

Package description.
> Standard ROS Messages including common message types representing primitive data types and other basic message constructs, such as multiarrays. For common, generic robot-specific message types, please see [common_msgs](https://github.com/ros/std_msgs).


[Wiki Overview:](http://wiki.ros.org/std_msgs)
> std_msgs contains wrappers for ROS primitive types, which are documented in the msg specification. It also contains the Empty type, which is useful for sending an empty signal. However, these types do not convey semantic meaning about their contents: every message simply has a field called "data". Therefore, while the messages in this package can be useful for quick prototyping, they are not intended for "long-term" usage. For ease of documentation and collaboration, we recommend that existing messages be used, or new messages created, that provide meaningful field name(s).


> Note that this package also contains the "MultiArray" types, which can be useful for storing sensor data. However, the same caveat applies: it's usually "better" (in the sense of making the code easier to understand, etc.) when developers use or create non-generic message types.







---
[Visit Topic](https://discourse.ros.org/t/suggestions-for-std-srvs/1079/10) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>