public void serialize(ByteBuffer bb, int seq) { Serialization.writeTime(bb, stamp); bb.putInt(joint_names.size()); for (java.lang.String val : joint_names) { Serialization.writeString(bb, val); } bb.putInt(frame_ids.size()); for (java.lang.String val : frame_ids) { Serialization.writeString(bb, val); } bb.putInt(child_frame_ids.size()); for (java.lang.String val : child_frame_ids) { Serialization.writeString(bb, val); } bb.putInt(poses.size()); for (ros.pkg.geometry_msgs.msg.Pose val : poses) { val.serialize(bb, seq); } }
public void serialize(ByteBuffer bb, int seq) { Serialization.writeTime(bb, stamp); Serialization.writeString(bb, name); pose.serialize(bb, seq); }