|
APM:Libraries
|
#include <SIM_Gazebo.h>
Classes | |
| struct | fdm_packet |
| struct | servo_packet |
Public Member Functions | |
| Gazebo (const char *home_str, const char *frame_str) | |
| void | update (const struct sitl_input &input) |
| void | set_interface_ports (const char *address, const int port_in, const int port_out) |
Public Member Functions inherited from SITL::Aircraft | |
| Aircraft (const char *home_str, const char *frame_str) | |
| void | set_speedup (float speedup) |
| void | set_instance (uint8_t _instance) |
| void | set_autotest_dir (const char *_autotest_dir) |
| void | fill_fdm (struct sitl_fdm &fdm) |
| void | smooth_sensors (void) |
| float | get_rate_hz (void) const |
| const Vector3f & | get_gyro (void) const |
| const Vector3f & | get_velocity_ef (void) const |
| const Vector3f & | get_velocity_air_ef (void) const |
| const Matrix3f & | get_dcm (void) const |
| const Vector3f & | get_mag_field_bf (void) const |
| virtual float | gross_mass () const |
| const Location & | get_location () const |
| const Vector3f & | get_position () const |
| void | get_attitude (Quaternion &attitude) const |
Static Public Member Functions | |
| static Aircraft * | create (const char *home_str, const char *frame_str) |
Static Public Member Functions inherited from SITL::Aircraft | |
| static double | rand_normal (double mean, double stddev) |
| static bool | parse_home (const char *home_str, Location &loc, float &yaw_degrees) |
Private Member Functions | |
| void | recv_fdm (const struct sitl_input &input) |
| void | send_servos (const struct sitl_input &input) |
| void | drain_sockets () |
Private Attributes | |
| double | last_timestamp |
| SocketAPM | socket_sitl |
| const char * | _gazebo_address = "127.0.0.1" |
| int | _gazebo_port = 9002 |
Static Private Attributes | |
| static const uint64_t | GAZEBO_TIMEOUT_US = 5000000 |
Definition at line 29 of file SIM_Gazebo.h.
| SITL::Gazebo::Gazebo | ( | const char * | home_str, |
| const char * | frame_str | ||
| ) |
Definition at line 30 of file SIM_Gazebo.cpp.
Referenced by create().
|
inlinestatic |
|
private |
Definition at line 138 of file SIM_Gazebo.cpp.
Referenced by update().
|
private |
Definition at line 79 of file SIM_Gazebo.cpp.
Referenced by update().
|
private |
Definition at line 63 of file SIM_Gazebo.cpp.
Referenced by recv_fdm(), and update().
|
virtual |
Reimplemented from SITL::Aircraft.
Definition at line 44 of file SIM_Gazebo.cpp.
Referenced by create().
|
virtual |
Implements SITL::Aircraft.
Definition at line 161 of file SIM_Gazebo.cpp.
|
private |
Definition at line 72 of file SIM_Gazebo.h.
Referenced by send_servos(), and set_interface_ports().
|
private |
Definition at line 73 of file SIM_Gazebo.h.
Referenced by send_servos(), and set_interface_ports().
|
staticprivate |
Definition at line 74 of file SIM_Gazebo.h.
Referenced by recv_fdm().
|
private |
Definition at line 69 of file SIM_Gazebo.h.
Referenced by recv_fdm().
|
private |
Definition at line 71 of file SIM_Gazebo.h.
Referenced by drain_sockets(), recv_fdm(), send_servos(), and set_interface_ports().
1.8.13