Skip to content

Control system for an Aldebaran Pepper robot using an HTC Vive

License

Notifications You must be signed in to change notification settings

misuta-robotto/misuta-robotto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiling

This project consist of many different dependencies and multiple build systems. In order to ease setting up a development environment and building the product, the compilation process has been condensed to a single automated process.

Required tools

Most of the dependencies and tools needed to compile the project are automatically downloaded during the build process, but there are some exceptions. In order to produce minimal footprint on the host operating system the build system is designed to not install any software, and can thus only utilize tools without installers. The required software which must be installed beforehand is listed below:

  • GNU/Make for Windows
  • Microsoft Visual Studio 2013
  • Python 2.7 with pip (32-bit)
  • Unity Editor (32-bit)

NOTE: The project can only be built for Windows, using Windows. GNU/Make and Python 2.7 (including pip) must be available on the path, this includes the binaries: make.exe, python.exe and pip.exe. Unity Editor must be installed in the default install location and authenticated with an account.

How to build

Building is as simple as running the command "make" from either cmd (Windows Command Prompt) or Git Bash with the working directory set to the project root. Building from another shell is untested and may not work correctly.

Building the application dependencies

To prepare for development you must first build the application dependencies. This is a time consuming task and will require at least 20 minutes.

make

NOTE: The build system does not keep track of changes to source files and will only rebuild missing binaries.

Building the application

If you only wish to create a distributable copy of the product you may use the following command. IMPORTANT: Do not build the application with Unity running.

make dist

If the build system does not produce the message "Executable built (found in build/MisutaRobotto.exe)" a failure may have occured. You should consult the Unity Editor log for further information, which can be found in ~/AppData/Local/Unity/Editor/Editor.log.

Cleaning the application

As the build system does not keep track of changed files you may need to clean compiled binaries before building again. This can be done with the following command.

make clean

Resetting the build environment

If you need to reset the build environment completely you should use the command below, which will ensure that everything created by the build system is removed. This will require a re-download of all dependencies!

make distclean

Development

With the project dependencies built you are up and running for continued development. The project should appear in the recent projects list in the Unity Editor if you also created a distributable copy, otherwise it may be opened manually.

Running

After building the distributable copy an executable will be created at build/MisutaRobotto.exe. This executable starts the application and must be distributed together with the generated folder build/MisutaRobotto_Data.