Classes | Functions | Variables
test::test_json_message_converter Namespace Reference

Classes

class  TestJsonMessageConverter

Functions

def serialize_deserialize

Variables

string NAME = 'test_json_message_converter'
string PKG = 'rospy_message_converter'

Function Documentation

Serialize and then deserialize a message. This simulates sending a message
between ROS nodes and makes sure that the ROS messages being tested are
actually serializable, and are in the same format as they would be received
over the network. In rospy, it is possible to assign an illegal data type
to a message field (for example, `message = String(data=42)`), but trying
to publish this message will throw `SerializationError: field data must be
of type str`. This method will expose such bugs.

Definition at line 75 of file test_json_message_converter.py.


Variable Documentation

string test::test_json_message_converter::NAME = 'test_json_message_converter'

Definition at line 94 of file test_json_message_converter.py.

string test::test_json_message_converter::PKG = 'rospy_message_converter'

Definition at line 93 of file test_json_message_converter.py.



rospy_message_converter
Author(s): Brandon Alexander
autogenerated on Tue May 7 2019 03:25:56