|
Formula Student Autonomous Systems
The code for the main driverless system
|
#include "motion_lib/v2p_models/constant_acceleration_turnrate_model.hpp"#include <gtest/gtest.h>#include <cmath>
Go to the source code of this file.
Functions | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, STRAIGHT_LINE_MOVEMENT_TEST_1) | |
| Test the constant acceleration and turnrate model with a straight line movement in the x axis. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, STRAIGHT_LINE_MOVEMENT_TEST_2) | |
| Test the constant acceleration and turnrate model with a straight line movement in the x axis. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, BACKWARDS_MOVEMENT_TEST_1) | |
| Test the constant acceleration and turnrate model with a backwards movement in the x axis. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, BACKWARDS_MOVEMENT_TEST_2) | |
| Test the constant acceleration and turnrate model with a backwards movement in the x axis. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, BACKWARDS_MOVEMENT_TEST_3) | |
| Test the constant acceleration and turnrate model with a backwards movement in the x axis. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, ORIENTATION_ANGLE_CAP_TEST_1) | |
| Test the constant acceleration and turnrate model for angle cap on the orientation update. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, ORIENTATION_ANGLE_CAP_TEST_2) | |
| Test the constant acceleration and turnrate model for angle cap on the orientation update. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, ORIENTATION_ANGLE_CAP_TEST_3) | |
| Test the constant acceleration and turnrate model for angle cap on the orientation update. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, ORIENTATION_ANGLE_CAP_TEST_4) | |
| Test the constant acceleration and turnrate model for angle cap on the orientation update. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, ORIENTATION_ANGLE_CAP_TEST_5) | |
| Test the constant acceleration and turnrate model for angle cap on the orientation update. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, CURVILINEAR_MOVEMENT_TEST_1) | |
| Test the constant acceleration and turnrate model in a curvilinear movement with a non-zero orientation. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, CURVILINEAR_MOVEMENT_TEST_2) | |
| Test the constant acceleration and turnrate model in a curvilinear movement with a negative orientation. | |
| TEST (CONSTANT_ACCELERATION_TURNRATE_MODEL, CURVILINEAR_MOVEMENT_TEST_3) | |
| Test the constant acceleration and turnrate model in a straight line movement with a perpendicular orientation. | |
| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| BACKWARDS_MOVEMENT_TEST_1 | |||
| ) |
Test the constant acceleration and turnrate model with a backwards movement in the x axis.
Definition at line 76 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| BACKWARDS_MOVEMENT_TEST_2 | |||
| ) |
Test the constant acceleration and turnrate model with a backwards movement in the x axis.
Definition at line 106 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| BACKWARDS_MOVEMENT_TEST_3 | |||
| ) |
Test the constant acceleration and turnrate model with a backwards movement in the x axis.
Definition at line 136 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| CURVILINEAR_MOVEMENT_TEST_1 | |||
| ) |
Test the constant acceleration and turnrate model in a curvilinear movement with a non-zero orientation.
Definition at line 316 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| CURVILINEAR_MOVEMENT_TEST_2 | |||
| ) |
Test the constant acceleration and turnrate model in a curvilinear movement with a negative orientation.
Definition at line 346 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| CURVILINEAR_MOVEMENT_TEST_3 | |||
| ) |
Test the constant acceleration and turnrate model in a straight line movement with a perpendicular orientation.
Definition at line 376 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| ORIENTATION_ANGLE_CAP_TEST_1 | |||
| ) |
Test the constant acceleration and turnrate model for angle cap on the orientation update.
Definition at line 166 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| ORIENTATION_ANGLE_CAP_TEST_2 | |||
| ) |
Test the constant acceleration and turnrate model for angle cap on the orientation update.
Definition at line 196 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| ORIENTATION_ANGLE_CAP_TEST_3 | |||
| ) |
Test the constant acceleration and turnrate model for angle cap on the orientation update.
Definition at line 226 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| ORIENTATION_ANGLE_CAP_TEST_4 | |||
| ) |
Test the constant acceleration and turnrate model for angle cap on the orientation update.
Definition at line 256 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| ORIENTATION_ANGLE_CAP_TEST_5 | |||
| ) |
Test the constant acceleration and turnrate model for angle cap on the orientation update.
Definition at line 286 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| STRAIGHT_LINE_MOVEMENT_TEST_1 | |||
| ) |
Test the constant acceleration and turnrate model with a straight line movement in the x axis.
Definition at line 15 of file constant_acceleration_turnrate_model_test.cpp.

| TEST | ( | CONSTANT_ACCELERATION_TURNRATE_MODEL | , |
| STRAIGHT_LINE_MOVEMENT_TEST_2 | |||
| ) |
Test the constant acceleration and turnrate model with a straight line movement in the x axis.
Definition at line 46 of file constant_acceleration_turnrate_model_test.cpp.
