Page History
...
- Write your code in C++ or Matlab
- Compile it
- Upload it to the LCC (see here)
- Press "employ"
Source Code explanation:
You define the position of the target points, the speed of your vehicle for each section and the time the vehicle needs to pass a segment. In this example the target points are not connected to the map.
Source Code explanation:
This vector defines the x position of a target point (unitless):
...
vector<uint64_t> segment_duration = vector<uint64_t>{1550000000ull, 1550000000ull, 1550000000ull, 1550000000ull}
In this verctor vector we see the time for 1 m/sec and a way length of pi/2 (a quater circle ;))
C++
Circular trajectory generation for one vehicle
...
Overview
Content Tools