R: github

fabio.dibenedetto at consoft.it fabio.dibenedetto at consoft.it
Tue Sep 15 17:01:34 CEST 2015


I've cleaned the CMakeLists.txt and package.xml of rcm_driver and robotics_msgs: if you look at the files in RCM/src/rcm (this is the rcm_driver) you can see how rcm_driver is configured to use the common robotics_msgs (RCM/src/robotics_msgs). Firos should be configured in the same way to use robotics_msgs. As I said before the vacation the code should point to robotics_msgs and not

import std_msgs.msg

from firos.srv import FIROS_Info
from firos.msg import Robot_Event, CB_Event

as you do in topicManager.py
but

from robotics_msgs.msg import Robot_Event
from robotics_msgs.msg import CB_Event
from robotics_msgs.srv import FIROS_Info, FIROS_InfoResponse

robotics_msgs is a common package even if I put it into RCM branch; it is the implementation of what we discussed in the open specs (in fact I put all the partners into its license). Rcm_driver uses it and if you need you can use it as an example for the use of robotics_msgs to update firos accordingly


Da: fiware-robotics-bounces at lists.fiware.org [mailto:fiware-robotics-bounces at lists.fiware.org] Per conto di fabio.dibenedetto at consoft.it
Inviato: martedì 15 settembre 2015 16:04
A: fiware-robotics at lists.fi-ware.org
Oggetto: [Fiware-robotics] R: github

I've already changed something in scripts folder (more common names and right paths pointing to the elements needed): about that this morning I was speaking about a problem with firos installation that I did; the problem is the following

CMake Error at /opt/ros/indigo/share/genmsg/cmake/genmsg-extras.cmake:91 (message):
  add_message_files() directory not found: /home/fabiog/rcmp_ws/src/firos/msg
Call Stack (most recent call first):
  firos/CMakeLists.txt:59 (add_message_files)


-- Configuring incomplete, errors occurred!
See also "/home/fabiog/rcmp_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/fabiog/rcmp_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

This happens during the installation when the installer compiles the ros workspace (rcmp_ws/src) where the ros nodes are put. As I said in the call I was trying to not insert the srv and msg folders (because they are the folders useless because we use robotics_msgs package in which there these folders as the common language between rcm and firos into ROS environment). This is the reason why I asked you if you use robotics_msgs. Maybe is only a problem in configuration into the CMakeLists.txt, but it has to be corrected if we want the script to get the files from the code sources and put them into the installation package

Da: Bollano Gianmario [mailto:gianmario.bollano at telecomitalia.it]
Inviato: martedì 15 settembre 2015 15:34
A: fabio.dibenedetto at consoft.it<mailto:fabio.dibenedetto at consoft.it>; fiware-robotics at lists.fi-ware.org<mailto:fiware-robotics at lists.fi-ware.org>
Oggetto: R: github

To summarize the structure created and described by Fabio, we have component folders for the code (green color below) and the common folders (red color), as in the picture below:

[cid:image001.png at 01D0EFD4.80A6BAA0]

Editing of the red folders should be done jointly because refers to the Robotics GE.

Gianmario


Da: fiware-robotics-bounces at lists.fiware.org<mailto:fiware-robotics-bounces at lists.fiware.org> [mailto:fiware-robotics-bounces at lists.fiware.org] Per conto di fabio.dibenedetto at consoft.it<mailto:fabio.dibenedetto at consoft.it>
Inviato: martedì 15 settembre 2015 13:20
A: fiware-robotics at lists.fi-ware.org<mailto:fiware-robotics at lists.fi-ware.org>
Oggetto: [Fiware-robotics] github

Hi guys,
I've just committed the files I told you this morning (the RCM part and the common files) in github. Now the structure of the repository has 2 main folders with the 2 main components of Robotics (where the firos folder is a submodule and so a link to their main repository), 2 other folders (docs and script) in which there are the common documentation (docs) and the common scripts (scripts). I've put a common LICENSE.txt and a README.md. The docs folder contains what sphinx uses to create epub, html, pdf from rst file: the rst files are the files that we have to import in readthedocs in order to provide the documentation and for now are taken from the RCM part (but in any case even the RCM part is still to be modified). The same thing is for what concern the scripts folder: the files into it are taken from RCM part and are to be modified (I'll update them as soon as possible because from that folder they doesn't do their job): create_rcm_platform_pkg is a python script used to create the packages for the installation (not docker) and tries to create rcm master, rcm robot, rcm driver, robotics_msgs and firos; the shell scripts are for the install (all install_* and sub_inst_*) and uninstall (uninstall and sub_uninstall) where _m is for the rcm master while _r is for the robot: the master asks for the installation of firos in the user interaction.

Fabio
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.

This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.
[rispetta l'ambiente]Rispetta l'ambiente. Non stampare questa mail se non è necessario.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150915/7b880a40/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 54119 bytes
Desc: image001.png
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150915/7b880a40/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 677 bytes
Desc: image002.gif
URL: <https://lists.fiware.org/private/fiware-robotics/attachments/20150915/7b880a40/attachment.gif>


More information about the Fiware-robotics mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy