Skip to content

edgarbuchanan/psiswarm_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

===============
==           ==
== PSI-SWARM ==
==           ==
===============

DATE: 5/05/2016

*** INSTALLING PSI-SWARM PLUGIN ***

To compile the examples, open up a
shell, go to the directory where you unpacked the file and
type:

$ mkdir build
$ cd build

To produce debuggable code (slow), type:

$ cmake -DCMAKE_BUILD_TYPE=Debug ../src

To produce fast but not debuggable code, type:

$ cmake -DCMAKE_BUILD_TYPE=Release ../src

Launch the compilation with the command:

$ make

Finally, install the package with the command:

$ sudo make install

Check that everything went fine by running the following command
(you should see psi-swarm among the available entities).

$ argos3 -q entities

*** TROUBLESHOOTING ***

When you launch one of the two 'cmake' commands, you might get an
error like 'package argos3_simulator' not found. This error has two
possible causes:

1. You haven't installed ARGoS3 system-wide. To fix this, install
   ARGoS3 through the packages or with the command 'sudo make install'
   in the ARGoS3 build directory.

2. pkg-config can't find the file argos3_simulator.pc. When you
   install ARGoS3 from a package, this file is located in
   /usr/lib/pkgconfig/. When you install ARGoS3 from the sources, this
   file is located in $CMAKE_INSTALL_PREFIX/lib/pkgconfig/. If you
   don't set $CMAKE_INSTALL_PREFIX explicitly before compiling, by
   default it is set to /usr/local.  If the file is present and
   pkg-config can't find it, add the directory where it's located to
   the environment variable PKG_CONFIG_PATH, e.g.

$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published