You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Xavier Jannin edited this page Nov 22, 2019
·
1 revision
Launch File
Fichier à mettre dans un dossier launch d'un package.
Fichier au format XML:
<launch>
<!-- Remap du launch file pour relier les topics d'un noeuds avec les topics du roscore -->
<remapfrom="<topic>"to="<topic>"/>
<remapfrom="<topic>"to="<topic>"/>
<!-- Importer un autre launch file -->
<includefile="$(find <pkg_name>)/launch/<launch_name>.launch" />
<!-- Création d'un groupe (évite des conflits de variables) -->
<groupns="<groupe_name>">
<nodepkg="<package>"name="<name>"type="<type>"/>
</group>
<!-- Création d'un noeud -->
<nodepkg="<package"name="<name>"type="<type>">
<!-- Relie les noeuds pour exécuter les mêmes actions-->
<remapfrom="input"to=""/>
<remapfrom="output"to=""/>
</node>
</launch>