SITL test node implementation. More...
SITL test node implementation.
SITL tests setup.
Offboard controller tester.
Tests offboard position, velocity and acceleration control
Definition at line 36 of file offboard_control.h.
Definition at line 42 of file offboard_control.h.
void testsetup::OffboardControl::circle_path_motion | ( | ros::Rate | loop_rate, |
control_mode | mode | ||
) | [inline, private] |
Circle path motion routine.
Definition at line 312 of file offboard_control.h.
Eigen::Vector3d testsetup::OffboardControl::circle_shape | ( | int | angle | ) | [inline, private] |
Defines circle path.
Definition at line 230 of file offboard_control.h.
void testsetup::OffboardControl::eight_path_motion | ( | ros::Rate | loop_rate, |
control_mode | mode | ||
) | [inline, private] |
Eight path motion routine.
Definition at line 372 of file offboard_control.h.
Eigen::Vector3d testsetup::OffboardControl::eight_shape | ( | int | angle | ) | [inline, private] |
Defines Gerono lemniscate path.
Definition at line 242 of file offboard_control.h.
void testsetup::OffboardControl::ellipse_path_motion | ( | ros::Rate | loop_rate, |
control_mode | mode | ||
) | [inline, private] |
Ellipse path motion routine.
Definition at line 432 of file offboard_control.h.
Eigen::Vector3d testsetup::OffboardControl::ellipse_shape | ( | int | angle | ) | [inline, private] |
Defines ellipse path.
Definition at line 254 of file offboard_control.h.
void testsetup::OffboardControl::init | ( | ) | [inline] |
Setup of the test conditions
Setpoint control mode selector
Available modes:
Setpoint path shape selector
Available shapes:
Definition at line 59 of file offboard_control.h.
void testsetup::OffboardControl::local_pos_cb | ( | const geometry_msgs::PoseStampedConstPtr & | msg | ) | [inline, private] |
Definition at line 554 of file offboard_control.h.
testsetup::OffboardControl::OffboardControl | ( | ) | [inline] |
Definition at line 51 of file offboard_control.h.
Eigen::Vector3d testsetup::OffboardControl::pos_setpoint | ( | int | tr_x, |
int | tr_y, | ||
int | tr_z | ||
) | [inline, private] |
Defines single position setpoint.
Definition at line 222 of file offboard_control.h.
void testsetup::TestSetup::setup | ( | const ros::NodeHandle & | nh | ) | [inline] |
Definition at line 36 of file test_setup.h.
SitlTest::SitlTest | ( | ) |
Definition at line 20 of file sitl_test.cpp.
void SitlTest::spin | ( | int | argc, |
char * | argv[] | ||
) | [static] |
Definition at line 23 of file sitl_test.cpp.
void testsetup::OffboardControl::spin | ( | int | argc, |
char * | argv[] | ||
) | [inline] |
Definition at line 143 of file offboard_control.h.
void testsetup::OffboardControl::square_path_motion | ( | ros::Rate | loop_rate, |
control_mode | mode | ||
) | [inline, private] |
Square path motion routine.
Definition at line 268 of file offboard_control.h.
testsetup::TestSetup::TestSetup | ( | ) | [inline] |
Definition at line 25 of file test_setup.h.
std::array<double, 100> testsetup::OffboardControl::threshold_definition | ( | ) | [inline, private] |
Gaussian noise generator for accepted position threshold.
Definition at line 539 of file offboard_control.h.
void testsetup::OffboardControl::wait_and_move | ( | geometry_msgs::PoseStamped | target | ) | [inline, private] |
Defines the accepted threshold to the destination/target position before moving to the next setpoint.
Definition at line 493 of file offboard_control.h.
sitltest::SitlTest::~SitlTest | ( | ) | [inline] |
Definition at line 34 of file sitl_test.h.
testsetup::TestSetup::~TestSetup | ( | ) | [inline] |
Definition at line 28 of file test_setup.h.
Eigen::Vector3d testsetup::OffboardControl::current [private] |
Definition at line 213 of file offboard_control.h.
double testsetup::OffboardControl::linvel_d_gain [private] |
Definition at line 192 of file offboard_control.h.
double testsetup::OffboardControl::linvel_i_gain [private] |
Definition at line 191 of file offboard_control.h.
double testsetup::OffboardControl::linvel_i_max [private] |
Definition at line 193 of file offboard_control.h.
double testsetup::OffboardControl::linvel_i_min [private] |
Definition at line 194 of file offboard_control.h.
double testsetup::OffboardControl::linvel_p_gain [private] |
Definition at line 190 of file offboard_control.h.
Definition at line 206 of file offboard_control.h.
Definition at line 208 of file offboard_control.h.
geometry_msgs::PoseStamped testsetup::OffboardControl::localpos [private] |
Definition at line 210 of file offboard_control.h.
control_mode testsetup::OffboardControl::mode [private] |
Definition at line 202 of file offboard_control.h.
Definition at line 28 of file test_setup.h.
Definition at line 205 of file offboard_control.h.
Definition at line 34 of file test_setup.h.
int testsetup::OffboardControl::num_of_tests [private] |
Definition at line 188 of file offboard_control.h.
Definition at line 184 of file offboard_control.h.
geometry_msgs::PoseStamped testsetup::OffboardControl::ps [private] |
Definition at line 210 of file offboard_control.h.
double testsetup::TestSetup::rate |
Definition at line 33 of file test_setup.h.
double testsetup::OffboardControl::rate [private] |
Definition at line 186 of file offboard_control.h.
path_shape testsetup::OffboardControl::shape [private] |
Definition at line 203 of file offboard_control.h.
TestSetup testsetup::OffboardControl::test [private] |
Definition at line 183 of file offboard_control.h.
std::array<double, 100> testsetup::OffboardControl::threshold [private] |
Definition at line 215 of file offboard_control.h.
Definition at line 32 of file test_setup.h.
bool testsetup::OffboardControl::use_pid [private] |
Definition at line 187 of file offboard_control.h.
Definition at line 207 of file offboard_control.h.
geometry_msgs::TwistStamped testsetup::OffboardControl::vs [private] |
Definition at line 211 of file offboard_control.h.
double testsetup::OffboardControl::yawrate_d_gain [private] |
Definition at line 198 of file offboard_control.h.
double testsetup::OffboardControl::yawrate_i_gain [private] |
Definition at line 197 of file offboard_control.h.
double testsetup::OffboardControl::yawrate_i_max [private] |
Definition at line 199 of file offboard_control.h.
double testsetup::OffboardControl::yawrate_i_min [private] |
Definition at line 200 of file offboard_control.h.
double testsetup::OffboardControl::yawrate_p_gain [private] |
Definition at line 196 of file offboard_control.h.