This is not really an issue but more of a friendly feature that could be added to reduce new-comer learning curve. I believe adding some non-trivial examples to the ReadTheDocs would help a lot of new comers start with their production code.
There are recurring themes that have been asked / discussed in this Issue Tracker in the past weeks and I realized those conversations could have been summarized into some examples files that can be shared to users. The following are some examples I have in mind:
Connect, disconnect and reconnect to ROS
Some confusion between client.close() and client.terminate() and when to use them. As discussed in #56.
How to check message round trip latency.
The publisher and listener node testing code used by @gonzalocasas to diagnose #41
Non-blocking subscription of messages that requires long processing time.
A multi-thread example where each received messages needs to be processed for a long time. Requiring the use of Threading for processing.
Handshake between publisher / nodes to ensure each other is connected and responsive.
Subscribing to but only keeping the latest messages:
The use case / behaviour described by @HWiese1980 in #41 (comment) and answered by #41 (comment)
Examples of all standard message types that ROS support.
For example how to take advantage of std_msgs/String for transmitting json-serialized Python Dictionary. Usage of std_msgs/Header. Transmitting a python time stamp using std_msgs/Time, and different *MultiArray types to hold a Python list.
I believe each of these samples deserves a short page to describe the case and also provide with the actual file that can be executed. I personally like the layout of the index page and grouping strategy used by Rhino Python Samples.
This is not really an issue but more of a friendly feature that could be added to reduce new-comer learning curve. I believe adding some non-trivial examples to the ReadTheDocs would help a lot of new comers start with their production code.
There are recurring themes that have been asked / discussed in this Issue Tracker in the past weeks and I realized those conversations could have been summarized into some examples files that can be shared to users. The following are some examples I have in mind:
Connect, disconnect and reconnect to ROS
Some confusion between
client.close()andclient.terminate()and when to use them. As discussed in #56.How to check message round trip latency.
The publisher and listener node testing code used by @gonzalocasas to diagnose #41
Non-blocking subscription of messages that requires long processing time.
A multi-thread example where each received messages needs to be processed for a long time. Requiring the use of
Threadingfor processing.Handshake between publisher / nodes to ensure each other is connected and responsive.
Subscribing to but only keeping the latest messages:
The use case / behaviour described by @HWiese1980 in #41 (comment) and answered by #41 (comment)
Examples of all standard message types that ROS support.
For example how to take advantage of
std_msgs/Stringfor transmitting json-serialized Python Dictionary. Usage ofstd_msgs/Header. Transmitting a python time stamp usingstd_msgs/Time, and different*MultiArraytypes to hold a Python list.I believe each of these samples deserves a short page to describe the case and also provide with the actual file that can be executed. I personally like the layout of the index page and grouping strategy used by Rhino Python Samples.