my first

Test

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
#include <test_mavros/utils/pid_controller.h>
namespace testsetup {
class TestSetup {
public:
TestSetup() :
nh("~")
{ };
~TestSetup() {};
ros::NodeHandle nh;
bool use_pid;
double rate;
int num_of_tests;
void setup(const ros::NodeHandle &nh){
nh.param("use_pid", use_pid, true);
nh.param("rate", rate, 10.0);
nh.param("num_of_tests", num_of_tests, 10);
}
};
}; // namespace testsetup

Test2

Test3