#include <iostream>
#include <algorithm>
#include <string>
#include <vector>
#include <cstdlib>
#include <iomanip>
#include <sstream>
#include "rdl_benchmark/model_generator.h"
#include "rdl_benchmark/Human36Model.h"
#include "rdl_benchmark/SampleData.h"
#include "rdl_benchmark/Timer.h"
#include "rdl_dynamics/Contacts.h"
#include "rdl_dynamics/Dynamics.h"
#include "rdl_dynamics/Model.h"
#include "rdl_urdfreader/urdfreader.h"
Go to the source code of this file.
|
double | contacts_benchmark (int sample_count, ContactsMethod contacts_method) |
|
void | disable_all_benchmarks () |
|
int | main (int argc, char *argv[]) |
|
void | parse_args (int argc, char *argv[]) |
|
void | print_usage () |
|
double | run_calc_minv_times_tau_benchmark (ModelPtr model, int sample_count) |
|
double | run_contacts_kokkevis_benchmark (ModelPtr model, ConstraintSet *constraint_set, int sample_count) |
|
double | run_contacts_lagrangian_benchmark (ModelPtr model, ConstraintSet *constraint_set, int sample_count) |
|
double | run_contacts_lagrangian_sparse_benchmark (ModelPtr model, ConstraintSet *constraint_set, int sample_count) |
|
double | run_contacts_null_space (ModelPtr model, ConstraintSet *constraint_set, int sample_count) |
|
double | run_CRBA_benchmark (ModelPtr model, int sample_count) |
|
double | run_forward_dynamics_ABA_benchmark (ModelPtr model, int sample_count) |
|
double | run_forward_dynamics_lagrangian_benchmark (ModelPtr model, int sample_count) |
|
double | run_inverse_dynamics_RNEA_benchmark (ModelPtr model, int sample_count) |
|
double | run_nle_benchmark (ModelPtr model, int sample_count) |
|
Enumerator |
---|
ContactsMethodLagrangian |
|
ContactsMethodRangeSpaceSparse |
|
ContactsMethodNullSpace |
|
ContactsMethodKokkevis |
|
Definition at line 39 of file benchmark.cc.
double contacts_benchmark |
( |
int |
sample_count, |
|
|
ContactsMethod |
contacts_method |
|
) |
| |
void disable_all_benchmarks |
( |
| ) |
|
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
void parse_args |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
double run_calc_minv_times_tau_benchmark |
( |
ModelPtr |
model, |
|
|
int |
sample_count |
|
) |
| |
double run_contacts_kokkevis_benchmark |
( |
ModelPtr |
model, |
|
|
ConstraintSet * |
constraint_set, |
|
|
int |
sample_count |
|
) |
| |
double run_contacts_lagrangian_benchmark |
( |
ModelPtr |
model, |
|
|
ConstraintSet * |
constraint_set, |
|
|
int |
sample_count |
|
) |
| |
double run_contacts_lagrangian_sparse_benchmark |
( |
ModelPtr |
model, |
|
|
ConstraintSet * |
constraint_set, |
|
|
int |
sample_count |
|
) |
| |
double run_CRBA_benchmark |
( |
ModelPtr |
model, |
|
|
int |
sample_count |
|
) |
| |
double run_forward_dynamics_ABA_benchmark |
( |
ModelPtr |
model, |
|
|
int |
sample_count |
|
) |
| |
double run_forward_dynamics_lagrangian_benchmark |
( |
ModelPtr |
model, |
|
|
int |
sample_count |
|
) |
| |
double run_inverse_dynamics_RNEA_benchmark |
( |
ModelPtr |
model, |
|
|
int |
sample_count |
|
) |
| |
double run_nle_benchmark |
( |
ModelPtr |
model, |
|
|
int |
sample_count |
|
) |
| |
int benchmark_model_max_depth = 5 |
bool benchmark_run_calc_minv_times_tau = true |
bool benchmark_run_contacts = false |
bool benchmark_run_crba = true |
bool benchmark_run_fd_aba = true |
bool benchmark_run_fd_lagrangian = true |
bool benchmark_run_id_rnea = true |
bool benchmark_run_nle = true |
int benchmark_sample_count = 1000 |
bool have_urdfreader = true |
bool urdf_floating_base = false |