haochen
haochen
Hello, did you find a way to deal with this issue?
haha You can increase the number of FastDDS instances and ensure reliability to solve this issue.
``` data_bytes = b"data" char_pointer = ctypes.c_char_p(data_bytes) print(char_pointer) print(data) datasize=self.data_type.serialize(data,char_pointer) ``` but print:: ``` c_char_p(139629848265840) TypeError: Wrong number or type of arguments for overloaded function 'BaseHeaderPubSubType_serialize'. Possible C/C++ prototypes are:...
``` char* serialize1(type* data ) { if (data != nullptr) { char* rawData; auto m_payload=new eprosima::fastrtps::rtps::SerializedPayload_t(); if (!this->serialize(data, m_payload, eprosima::fastdds::dds::DEFAULT_DATA_REPRESENTATION)) { std::cout