Cheetah Software  1.0
main.cpp File Reference

Main Function for the robot program. More...

#include "Collision/CollisionPlane.h"
#include "DrawList.h"
#include "Dynamics/Cheetah3.h"
#include "Dynamics/DynamicsSimulator.h"
#include "Dynamics/FloatingBaseModel.h"
#include "Dynamics/MiniCheetah.h"
#include "Dynamics/Quadruped.h"
#include "Graphics3D.h"
#include "SimControlPanel.h"
#include "Simulation.h"
#include "Utilities/utilities.h"
#include "Utilities/SegfaultHandler.h"
#include <QApplication>
#include <QSurfaceFormat>
#include <stdio.h>
#include <unistd.h>
#include <thread>
+ Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

Main Function for the robot program.

Main function for simulator.

The main function parses command line arguments and starts the appropriate driver.

Definition in file main.cpp.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Setup QT and run a simulation

Definition at line 28 of file main.cpp.

References install_segfault_handler().

28  {
30  // set up Qt
31  QApplication a(argc, argv);
32 
33  // open simulator UI
34  SimControlPanel panel;
35  panel.show();
36 
37  // run the Qt program
38  a.exec();
39 
40  return 0;
41 }
void install_segfault_handler()

+ Here is the call graph for this function: