welcome: please sign in
location: Diff for "robotpkg/nao"
Differences between revisions 2 and 3
Revision 2 as of 2013-09-24 13:19:29
Size: 2071
Editor: slemaign
Comment:
Revision 3 as of 2013-09-24 13:20:11
Size: 2081
Editor: slemaign
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
{{{#!caution {{{#!wiki caution
Line 49: Line 49:
{{{#!warning {{{#!wiki warning

robotpkg as package manager for Nao

This page explains step by step how to install and configure robotpkg on the Nao robot.

robotpkg is a package manager that allows to easily install and keep up-to-date a variety of softwares focused on academic robotics. You can learn more about robotpkg on its homepage.

List of software packages available in robotpkg (note that some are not relevant to the Nao robot, like the ones requiring a GUI).

Only Atom-based Nao (ie, Nao v4) is currently supported!

Installation of robotpkg

  • make sure your Nao has access to the Web.
  • log onto it.
  • fetch the binary version of robotpkg: wget http://robotpkg.openrobots.org/packages/bsd/OpenNao-1.14.5.1-i386/bootstrap.tar.gz

  • extract it to /:

$ cd /
$ sudo tar -xf ~/bootstrap.tar.gz
  • robotpkg is now installed on your Nao, in /opt/openrobots. Edit .bash_profile in your home directory, and add these lines to configure your environment:

export OPENROBOTS=/opt/openrobots
export PATH=$PATH:$OPENROBOTS/sbin:$OPENROBOTS/bin
export MANPATH=$MANPATH:$OPENROBOTS/man
  • source the bash profile: source .bash_profile

  • install the package manager:

$ sudo robotpkg_add http://robotpkg.openrobots.org/packages/bsd/OpenNao-1.14.5.1-i386/All/pkgin-0.6.4.tgz

Usage

You can now call from any place robotpkgin <action> <package>

For instance:

  • - robotpkgin avail lists all available packages - robotpkgin search <pattern> to search for a package - robotpkgin install <package> to install a package and all its dependencies - robotpkgin remove <package> to remove a package - robotpkgin update to update the list of packages

Check robotpkg --help or man robotpkgin for the complete list of actions.

As of September 2013, robotpkgin does not install nor list the system dependencies required by the packages.

OpenrobotsWiki: robotpkg/nao (last edited 2013-10-08 08:24:58 by slemaign)