Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tuto:tutorial [2012/10/19 15:06]
negre
tuto:tutorial [2020/06/25 21:27]
arias
Line 1: Line 1:
-====== Tutorial mgEngine / CycabTKSimulator ​======+===== Tutorial mgEngine / CycabTKSimulator =====
  
-===== Configuration ​=====+==== Configuration ====
  
 A mgEngine scene can be divided into 3 parts : A mgEngine scene can be divided into 3 parts :
Line 26: Line 26:
  
  
-===== Creation of the scene =====+==== Creation of the scene ====
  
-==== Display ​====+=== Display ===
  
 To setup the scene, we write a lua program called //​tutorial.lua//​ located in the //script// directory. To see the modification online, you can also write the commands directly to the mgEngine console. To setup the scene, we write a lua program called //​tutorial.lua//​ located in the //script// directory. To see the modification online, you can also write the commands directly to the mgEngine console.
Line 82: Line 82:
 <​note>​ One can notice that controllers are binded in the //​input.conf//​ file.</​note>​ <​note>​ One can notice that controllers are binded in the //​input.conf//​ file.</​note>​
  
-==== Environment ​====+=== Environment ===
  
 The environment will be composed of a green ground plane and a blue cube. The environment will be composed of a green ground plane and a blue cube.
Line 137: Line 137:
 </​code>​ </​code>​
  
-==== Simulated component ​====+=== Simulated component ===
  
-=== Car-like vehicle ​===+== Car-like vehicle ==
  
 In this section we show how to add a simulated vehicle. ​ In this section we show how to add a simulated vehicle. ​
Line 226: Line 226:
 </​code>​ </​code>​
  
-=== Lidar simulator ​===+== Lidar simulator ==
  
 We will now add a LIDAR in front of the vehicle. We will now add a LIDAR in front of the vehicle.
Line 294: Line 294:
 </​code>​ </​code>​
  
-=== Camera simulator ​===+== Camera simulator ==
 Now we add a simulated camera, attached to the vehicle. Now we add a simulated camera, attached to the vehicle.
 Create a class Camera in the file tutorial/​Camera.lua : Create a class Camera in the file tutorial/​Camera.lua :
Line 351: Line 351:
 </​code>​ </​code>​
  
-===== Launch the simulation ​=====+==== Launch the simulation ====
  
 We remind you that the whole tutorial is available on the sources. We remind you that the whole tutorial is available on the sources.
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki