Skip to content

Planning Simulator TF2 Issues #2541

Answered by TakaHoribe
Denri006 asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure, but I had a similar issue before. In that time, the map loading takes a very long time due to a low ros2 DDS performance.
I could solve it by DDS tuning following this tutorial.
https://docs.ros.org/en/rolling/How-To-Guides/DDS-tuning.html

I also applied the localhost_only option for the ros communication.

What I did is below, just in case.

$ echo $RMW_IMPLEMENTATION  // this command returns "rmw_cyclonedds_cpp"

and add this in /etc/sysctl.conf,

net.ipv4.ipfrag_time=3
net.ipv4.ipfrag_high_thresh=134217728
net.core.rmem_max=2147483647
net.core.rmem_default=8388608

then, enable local_host_only

$ export ROS_LOCALHOST_ONLY=1
$ sudo ifconfig lo multicast

Replies: 0 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@Denri006
Comment options

Comment options

You must be logged in to vote
2 replies
@Denri006
Comment options

@kenji-miyake
Comment options

Answer selected by Denri006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants