|
Tutorial
TutorialsThis video was made with rxDeveloper version 1.0b, there are some fancy new features in the newer versions! Launchfilescreating a launchfile
All Items you add have their own item-editor, here you can add detailed information or in some cases other items. After that you can save the launchfile. editing a launchfileYou can load a launchfile and edit it as described in the "creating a launchfile"-step. If the launchfile was saved with the rxDeveloper before, the item positions get recovered automatically. components / a place for includefiles
Testing and debugging
SpecificationfilesSpecificationfiles are YAML-files for nodes, nodelets or dynamic reconfigure nodes containing information about the type, the package, publications, subscriptions, services and parameters. These files are very usefull but not mandatory. You can use the rxDeveloper without specificationfiles, but it is more comfortable with them. where are they usedrxDeveloper uses specification files to support the user in many ways:
how to create filesA specificationfile looks like this. It has to be in a package subfolder "node" in order to be found by the rxdeveloper and end with ".node".
The type is the name of a node, package is the package the node belongs to. Every specificationfile must contain these two lines. Subscriptions, publications, services and parameters are optional, but should be entered for a better functionality. Default value and range for parameters are optional, too. rxDeveloper has a specfile-editor. You can edit existing specfiles by right-clicking them in the "Available Nodes/Nodelets"-list and selecting "view/edit specfile". The editor is also launched if you create a new specfile in the Component Creator-tab. Package and file creation
In the Component Creator-Tab you can browse existing packages of your working directory. The working directory can be specified in the settings. Creating a new package will add it to the list of packages and you can also add sourcefiles wherever you want and specificationfiles (specfiles will automatically be created in the subfolder "node"). With the buttons "rosdep install" and "rosmake" you can make your ROS packages. Version 1.1 supports specfile creation from running nodes. In the component creation tab you now can add new specfiles with automatically created specification information for running nodes. Version 1.2 supports the creation of c++-files from a specfile. Files will be automatically created in the subfolder "src" of the given package and need modification. You can add a line to the CMakeLists.txt for the new c++-file, too. Version 1.3b supports the creation of python-files from a specfile. Files will be automatically created in the subfolder "nodes" of the given package and need modification. The contextmenu of the packagebrowser allows you to make pythonfiles executable. |
In the Component Connector-tab you can drag & drop the available nodes to the main window. Other tags, or nodes/nodelets without a
The Components-tab of the sidebar can be used for often used includefiles. If you save a launchfile to the package subfolder "component" it will be listed in the Components-tab.
The toolbar has a "play" and a "stop" button, so that you can run launchfiles right from the rxDeveloper without executing a terminal application. After that you can run a ROS-tool from the "Tools"-menu. You can choose between the following tools: