Project

General

Profile

Actions

Installing simulation environment » History » Revision 19

« Previous | Revision 19/49 (diff) | Next »
Christophe Reymann, 2018-05-18 08:49


Installing simulation environment

Dependencies

  • Python3 with setuptools, docopt, numpy, pyaml, rospkg, catkin_pkg
  • Eigen3
  • GDAL (version > 2)
  • CMake
  • libglew, libglew-dev
  • ROS kinetic (on ubuntu: ros-kinetic-desktop ros-kinetic-tf2-eigen)
  • Blender
  • A c++14 compatible compiler

On own computer

Make sure ROS environment is sourced, then:

git clone ssh://git@redmine.laas.fr/laas/users/simon/agridrone/precidrones-main.git && cd precidrones-main/dev && rsync -r /net/skyscanner/volume1/data/precidrone/IGN . && make world

And make sure to import the morse simulations before using them, for example (in the precidrones-main/dev folder):
morse import morse/preci1

On LXD vm

Install and configure lxd:
sudo snap install --edge lxd
sudo lxd init

Lxd will ask for configuration, I used:
  • clustering: no
  • new storage pool: yes
  • name: default
  • type: zfs
  • create new zfs pool: yes
  • use existing block device: no
  • size in GB of the new loop device: 40
  • connect to a MAAS server: no
  • create local network bridge: yes
  • bridge name: lxdbr0
  • ipv4 address: auto
  • ipv6 address: auto
  • LXD availqble over the network: yes
  • address to bind lxd to: all
  • port: 8443
  • trust password: <password>
  • auto update stale cached images: yes
  • print YAML lxd preseed: yes

Updated by Christophe Reymann over 6 years ago · 49 revisions