Skip to content

Commit 1fe948e

Browse files
Tomas BacaTomas Baca
authored andcommitted
added dynamic cpucount
1 parent 66b0d1f commit 1fe948e

File tree

1 file changed

+2
-1
lines changed
  • ros_packages/mrs_uav_core/launch

1 file changed

+2
-1
lines changed

ros_packages/mrs_uav_core/launch/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ def generate_launch_description():
149149
executable='component_container_mt',
150150
output="screen",
151151
parameters=[
152-
{'use_intra_process_comms': True},
152+
{'use_intra_process_comms': True},
153+
{'thread_num': os.cpu_count()},
153154
],
154155
condition=UnlessCondition(standalone)
155156
)

0 commit comments

Comments
 (0)