Macros | Typedefs
gz_compat.h File Reference
#include <gazebo/gazebo.hh>
Include dependency graph for gz_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GZ_COMPAT_DISCONNECT_WORLD_UPDATE_BEGIN(CONNECTION)   gazebo::event::Events::DisconnectWorldUpdateBegin((CONNECTION))
 
#define GZ_COMPAT_GET_ENTITY(WORLD_PTR, FRAME_ID_PTR)   (WORLD_PTR)->GetEntity((FRAME_ID_PTR))
 
#define GZ_COMPAT_GET_EULER(QUAT)   (QUAT).GetAsEuler()
 
#define GZ_COMPAT_GET_GRAVITY(WORLD_PTR)   (WORLD_PTR)->GetPhysicsEngine()->GetGravity()
 
#define GZ_COMPAT_GET_LENGTH(VECTOR)   (VECTOR).GetLength()
 
#define GZ_COMPAT_GET_MASS(INERTIAL_PTR)   (INERTIAL_PTR)->GetMass()
 
#define GZ_COMPAT_GET_POS(POSE)   (POSE).pos
 
#define GZ_COMPAT_GET_RELATIVE_ANGULAR_VEL(LINK_PTR)   (LINK_PTR)->GetRelativeAngularVel()
 
#define GZ_COMPAT_GET_RELATIVE_FORCE(LINK_PTR)   (LINK_PTR)->GetRelativeForce()
 
#define GZ_COMPAT_GET_RELATIVE_LINEAR_VEL(LINK_PTR)   (LINK_PTR)->GetRelativeLinearVel()
 
#define GZ_COMPAT_GET_ROT(POSE)   (POSE).rot
 
#define GZ_COMPAT_GET_SIM_TIME(WORLD_PTR)   (WORLD_PTR)->GetSimTime()
 
#define GZ_COMPAT_GET_W(VECTOR)   (VECTOR).w
 
#define GZ_COMPAT_GET_WORLD_COG_POSE(LINK_PTR)   (LINK_PTR)->GetWorldCoGPose()
 
#define GZ_COMPAT_GET_WORLD_LINEAR_ACCEL(LINK_PTR)   (LINK_PTR)->GetWorldLinearAccel()
 
#define GZ_COMPAT_GET_WORLD_LINEAR_VEL(LINK_PTR)   (LINK_PTR)->GetWorldLinearVel()
 
#define GZ_COMPAT_GET_WORLD_POSE(LINK_PTR)   (LINK_PTR)->GetWorldPose()
 
#define GZ_COMPAT_GET_X(VECTOR)   (VECTOR).x
 
#define GZ_COMPAT_GET_Y(VECTOR)   (VECTOR).y
 
#define GZ_COMPAT_GET_Z(VECTOR)   (VECTOR).z
 
#define GZ_COMPAT_SET_W(VECTOR, VALUE)   (VECTOR).w = (VALUE)
 
#define GZ_COMPAT_SET_X(VECTOR, VALUE)   (VECTOR).x = (VALUE)
 
#define GZ_COMPAT_SET_Y(VECTOR, VALUE)   (VECTOR).y = (VALUE)
 
#define GZ_COMPAT_SET_Z(VECTOR, VALUE)   (VECTOR).z = (VALUE)
 

Typedefs

using GazeboPose = gazebo::math::Pose
 
using GazeboQuaternion = gazebo::math::Quaternion
 
using GazeboVector = gazebo::math::Vector3
 

Macro Definition Documentation

#define GZ_COMPAT_DISCONNECT_WORLD_UPDATE_BEGIN (   CONNECTION)    gazebo::event::Events::DisconnectWorldUpdateBegin((CONNECTION))

Definition at line 97 of file gz_compat.h.

#define GZ_COMPAT_GET_ENTITY (   WORLD_PTR,
  FRAME_ID_PTR 
)    (WORLD_PTR)->GetEntity((FRAME_ID_PTR))

Definition at line 94 of file gz_compat.h.

#define GZ_COMPAT_GET_EULER (   QUAT)    (QUAT).GetAsEuler()

Definition at line 86 of file gz_compat.h.

#define GZ_COMPAT_GET_GRAVITY (   WORLD_PTR)    (WORLD_PTR)->GetPhysicsEngine()->GetGravity()

Definition at line 99 of file gz_compat.h.

#define GZ_COMPAT_GET_LENGTH (   VECTOR)    (VECTOR).GetLength()

Definition at line 96 of file gz_compat.h.

#define GZ_COMPAT_GET_MASS (   INERTIAL_PTR)    (INERTIAL_PTR)->GetMass()

Definition at line 100 of file gz_compat.h.

#define GZ_COMPAT_GET_POS (   POSE)    (POSE).pos

Definition at line 84 of file gz_compat.h.

#define GZ_COMPAT_GET_RELATIVE_ANGULAR_VEL (   LINK_PTR)    (LINK_PTR)->GetRelativeAngularVel()

Definition at line 90 of file gz_compat.h.

#define GZ_COMPAT_GET_RELATIVE_FORCE (   LINK_PTR)    (LINK_PTR)->GetRelativeForce()

Definition at line 93 of file gz_compat.h.

#define GZ_COMPAT_GET_RELATIVE_LINEAR_VEL (   LINK_PTR)    (LINK_PTR)->GetRelativeLinearVel()

Definition at line 88 of file gz_compat.h.

#define GZ_COMPAT_GET_ROT (   POSE)    (POSE).rot

Definition at line 85 of file gz_compat.h.

#define GZ_COMPAT_GET_SIM_TIME (   WORLD_PTR)    (WORLD_PTR)->GetSimTime()

Definition at line 87 of file gz_compat.h.

#define GZ_COMPAT_GET_W (   VECTOR)    (VECTOR).w

Definition at line 79 of file gz_compat.h.

#define GZ_COMPAT_GET_WORLD_COG_POSE (   LINK_PTR)    (LINK_PTR)->GetWorldCoGPose()

Definition at line 91 of file gz_compat.h.

#define GZ_COMPAT_GET_WORLD_LINEAR_ACCEL (   LINK_PTR)    (LINK_PTR)->GetWorldLinearAccel()

Definition at line 95 of file gz_compat.h.

#define GZ_COMPAT_GET_WORLD_LINEAR_VEL (   LINK_PTR)    (LINK_PTR)->GetWorldLinearVel()

Definition at line 89 of file gz_compat.h.

#define GZ_COMPAT_GET_WORLD_POSE (   LINK_PTR)    (LINK_PTR)->GetWorldPose()

Definition at line 92 of file gz_compat.h.

#define GZ_COMPAT_GET_X (   VECTOR)    (VECTOR).x

Definition at line 76 of file gz_compat.h.

#define GZ_COMPAT_GET_Y (   VECTOR)    (VECTOR).y

Definition at line 77 of file gz_compat.h.

#define GZ_COMPAT_GET_Z (   VECTOR)    (VECTOR).z

Definition at line 78 of file gz_compat.h.

#define GZ_COMPAT_SET_W (   VECTOR,
  VALUE 
)    (VECTOR).w = (VALUE)

Definition at line 83 of file gz_compat.h.

#define GZ_COMPAT_SET_X (   VECTOR,
  VALUE 
)    (VECTOR).x = (VALUE)

Definition at line 80 of file gz_compat.h.

#define GZ_COMPAT_SET_Y (   VECTOR,
  VALUE 
)    (VECTOR).y = (VALUE)

Definition at line 81 of file gz_compat.h.

#define GZ_COMPAT_SET_Z (   VECTOR,
  VALUE 
)    (VECTOR).z = (VALUE)

Definition at line 82 of file gz_compat.h.

Typedef Documentation

Definition at line 73 of file gz_compat.h.

using GazeboQuaternion = gazebo::math::Quaternion

Definition at line 74 of file gz_compat.h.

Definition at line 72 of file gz_compat.h.



rosflight_sim
Author(s): James Jackson, Gary Ellingson, Daniel Koch
autogenerated on Thu Apr 15 2021 05:09:58