dr_example.hh
Go to the documentation of this file.
1 
7 // Gazebo
8 
9 // Gazebo
10 #include <gazebo/gazebo_client.hh>
11 #include <gazebo/gazebo_config.h>
12 #include <gazebo/transport/transport.hh>
13 #include <gazebo/msgs/msgs.hh>
14 
15 // Custom messages
16 #include "dr_request.pb.h"
17 // Domain randomization plugin interface
18 #include "DRInterface.hh"
19 
20 // Required fields workaround
21 #include <limits>
22 // Sleep
23 #include <chrono>
24 #include <thread>
25 
28 
29 // TODO - Migrate to utils
30 
38 int getRandomInt(int min, int max);
39 
47 double getRandomDouble(double min, double max);
48 
49 
52 void inline waitMs(int delay);
void waitMs(int delay)
Waits a given number of ms.
Definition: dr_example.cc:100
Domain randomization interface headers.
gap::msgs::DRRequest DRRequest
Declaration for request message type.
Definition: dr_example.hh:27
double getRandomDouble(double min, double max)
Get a random double in a given interval.
Definition: dr_example.cc:93
int getRandomInt(int min, int max)
Get a random integer in a given interval.
Definition: dr_example.cc:86