RobotecAI / ros2-for-unity

High-performance ROS2 solution for Unity3D
Apache License 2.0
446 stars 58 forks source link

Can not change QoS Profile #105

Open YMiyamotto opened 3 months ago

YMiyamotto commented 3 months ago

I tried to change QoS Profile like

QualityOfServiceProfile qos = new QualityOfServiceProfile();
qos.SetReliability(ReliabilityPolicy.BEST_EFFORT);
ros2Node = ros2Unity.CreateNode("ROS2UnityTalkerNode", qos); 
chatter_pub = ros2Node.CreatePublisher<std_msgs.msg.String>("chatter");

However, I can not change the QoS. How can I change QoS, Reliability or History ?

If we can not change QoS with ros2-for-unity, please implement the function.