Note: This tutorial assumes that you have completed the previous tutorials: Pairing with Androids. |
Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Customising - Robot Icon
Description: How to add a custom robot icon to represent your robot in remote applications.Tutorial Level: BEGINNER
Next Tutorial: Create a Robot App
Contents
Overview
This tutorial shows how to add a custom icon to represent your robot to remote applications. This is applicable whether or not you're running the app manager in standalone mode or in one of the remote controlled modes (pairing or concert mode).
The Icon
Format: png, jpg
Dimension: 120x120 recommended
The dimension is not a hard constraint - if it is different it will be rescaled. An example:
The Launcher
Place the icon in a package of your choice and then pass it to the app manager as roslaunch argument specified by resource name (package/filename pair). An example of a customised launcher for a standalone app manager:
<launch> <include file="$(find rocon_app_manager)/launch/standalone.launch"> <arg name="robot_name" value="barbarossa" /> <arg name="robot_icon" value="rocon_app_manager/cybernetic_pirate.png" /> </include> </launch>