ros2_java icon indicating copy to clipboard operation
ros2_java copied to clipboard

Too slow to convert to java from cpp

Open aitazhixin opened this issue 3 years ago • 2 comments

There is a topic with type std_msgs/msg/Float32MultiArray. When the msg was received in APP, convert from cpp to java will spend 100ms. Because of array elements being convert to Float Object in java from c++ float. Why not generate Float32MultiArray with data type float[]?

aitazhixin avatar Apr 28 '22 12:04 aitazhixin

@esteve can you help to convert List<Float> to float[]?

aitazhixin avatar May 05 '22 06:05 aitazhixin

@aitazhixin Is this PR relevant https://github.com/ros2-java/ros2_java/pull/165?

jacobperron avatar May 12 '22 23:05 jacobperron