ros_desktop_launcher_test package from simple_desktop_launcher repo

ros_desktop_launcher_test

Package Summary

Tags No category tags.
Version 0.0.0
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://gitlab.com/InstitutMaupertuis/simple_desktop_launcher.git
VCS Type git
VCS Version kinetic
Last Updated 2018-06-12
Dev Status MAINTAINED
CI status No Continuous Integration
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

A test for desktop Ubuntu files

Additional Links

No additional links.

Maintainers

  • Victor Lamoine

Authors

No additional authors.

Institut Maupertuis logo ROS desktop launcher test

build status

This repository contains a Robot Operating System package to test ROS desktop launcher files.

How to test

  • Create a catkin work-space
  • Clone this repository
git clone https://gitlab.com/InstitutMaupertuis/ros_desktop_launcher_test.git

  • Install the work-space (catkin_make or catkin tools)
catkin_make install
catkin config --install && catkin build

You will notice that some files are installed in $HOME/.local/share/applications/. Use gtk-launch green_robot.desktop and gtk-launch red_robot.desktop to launch the applications.

The dash usually takes a little bit of time (try logging-out/logging-in again) to update the available applications so it may not appear directly after install.

How it works

.desktop and .png files are installed in $HOME/.local/share/applications/, these files are parsed by Ubuntu and create applications.

The image file is the icon of the application displayed in the dash.

These files are automatically installed via CMake when install is required.

Here are the steps in the CMake script: - Make sure the $HOME/.local/share/applications/ exists (create it if necessary) - Configure the desktop.in files in the applications directory: CMake variables like ${PROJECT_NAME} are replaced by CMake and the file is created in the target directory - Copy application icon file - Install ROS config, launch, urdf files: INSTALL(DIRECTORY) is recursive and preserves directory structure. You may want to copy additionnal directories (eg: meshes) depending on your package.

Caveats

You cannot run two ROS applications because the first one kills the second one and that leads to problems because the ROS core is sometimes not killed.

You should wait a few seconds for the application to shut-down before launching an other ROS desktop file.

CHANGELOG
No CHANGELOG found.

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged ros_desktop_launcher_test at answers.ros.org