Robot App Store

image description

Qbo System InfoRobot-App Page

Relevant Robots:
  • The Corpora - Q.bo
Release Date:
5/1/2012
App Version:
1.0
App Size:
0Mb
Requirements:
See all requirements...
Click to download this app.        
App Categories:

Robot App™ Description

Developer: Sergio Merino

This package is a service that provide system information

This package takes information from the system executing preconfigured commands

Installation Instructions

Delivered as:

ROS Package

Simply download and build the node:
git clone https://github.com/OpenQbo/qbo_system_info
rosmake --rosdep-install qbo_system_info

 

Robot App Requirements

Software

ROS
Hardware:

Q.bo robot
Other requirements:

Internet connection

Usage Instructions

How to Run:
rosrun qbo_system_info plugin_system.py

How to Configure:
In the node directory there is a subdirectory called config with a file named main.conf In that file you can configure possible answer to service calls. The sintaxis for this file is:
[Descriptive Name]
input=ServiceString
command=CommandToExecute
■ Descriptive Name: This is a name for human use only. It is useful to look for plugins
■ ServiceString: This is the string that the node service is waiting for to return a value
■ CommandToExecute: The service will return the result of executing this command

Here are a example of the configure/main.conf file:
[hostname]
input=name
command=cat /etc/hostname
[weekday]
input=weekday
command=date +%A
[CPU Temperature]
input=cputemp
command=sensors | grep "CPU Temperature" | awk -F" " '{print $3}'
[Network IPs]
input=netconf
command=for interface in `ifconfig -s | grep -v -e Iface -e lo -e avahi | awk '{print $1}'`; do ip=`ifconfig $interface | grep "inet addr"| awk '{print $2}' | awk -F':' '{print $2}'`; echo $interface $ip; done
[Human date]
input=hdate
command=date +%A", the "%d" of "%B" of "%Y
[Hour]
input=hour
command=date +%l\ %M\ %p

want to buy ?

Are you a robot-apps developer?

Joining the developer program is easy and FREE!