Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General procedure to run let your vehicles drive

Here is basically what you always do, if you want one or more vehicles drive according to your trajectory:

  1.  Write your code in C++ or Matlab
  2.  Compile it, if you use C++
  3. Upload it to the Lab Control Center (LCC) (see here)
  4. Press "deploy" in the LCC

If you only want to drive a vehicle to a specific point follow the instructions here.

Code example

C++

Circular trajectory generation for one vehicle

MATLAB

Circular trajectory generation for one vehicleThe code example for

C++
cd ~\dev\software\basic_circle_example\src
MATLAB
cd ~\dev\software\hlc\matlab\basic_circle_example

How the code works

In this first example we show you how to write your code in C++ or MATLAB.  In this example one vehicle drives in a circle which is not attached to the map.

...