ros2_java
ros2_java copied to clipboard
Too slow to convert to java from cpp
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[]?
@esteve can you help to convert List<Float> to float[]?
@aitazhixin Is this PR relevant https://github.com/ros2-java/ros2_java/pull/165?