From 1f97ae58817f1c1c26b962cdb5b935a821515855 Mon Sep 17 00:00:00 2001 From: QLeblanc Date: Mon, 15 Jun 2020 11:07:19 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'daily=5Fwork.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- daily_work.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daily_work.md b/daily_work.md index 30be7ed..7012532 100644 --- a/daily_work.md +++ b/daily_work.md @@ -230,4 +230,6 @@ Liens pour comprendre comment modifier un programme en C++ pour une utilisation Problème de nom du noeud utilisé avec ros::init: * https://answers.ros.org/question/262331/rosinvalidnameexception-error/ -Le nom "_loca_exe" utilisé pour l'exécutable (et donc le nom du noeud) posait problème. En le remplaçant par localisationv2, ros::init() fonctionne correctement. En revanche, pour voir apparaitre le noeud avec la commande rosnode list, il faut ajouté la ligne "ros::Nodehandle nh;" après "ros::init(argc, argv, "localisation_v2");" \ No newline at end of file +Le nom "_loca_exe" utilisé pour l'exécutable (et donc le nom du noeud) posait problème. En le remplaçant par localisationv2, ros::init() fonctionne correctement. En revanche, pour voir apparaitre le noeud avec la commande rosnode list, il faut ajouté la ligne "ros::Nodehandle nh;" après "ros::init(argc, argv, "localisation_v2");" + +Les commandes ctrl+c ou rosnode kill ne permetten plus d'arrêter le programme. \ No newline at end of file