AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
agxROS2 Namespace Reference

Namespaces

namespace  agxMsgs
 
namespace  builtinInterfaces
 
namespace  geometryMsgs
 
namespace  rosgraphMsgs
 
namespace  sensorMsgs
 
namespace  stdMsgs
 

Classes

class  AnyMessageBuilder
 AnyMessageBuilder is a helper class for serializing custom data structures to an agxMsgs::Any message type that can then be sent via ROS2 and deserialized using the AnyMessageParser. More...
 
class  AnyMessageParser
 AnyMessageParser is a helper class for deserializing agxMsgs::Any back to the original custom data type that was created using the AnyMessageBuilder. More...
 
class  Publisher
 Publisher class that enables sending ROS2 messages. More...
 
struct  QOS
 Struct containing Quality of Service (QOS) settings. More...
 
class  ROS2ClockPublisher
 
class  ROS2ControlInterface
 Possible to add joints (Constraint1DOF) and the listener will publish the position and velocity for the joints as a sensorMsgs/JointState aswell as listens to commands to control said joint. More...
 
class  Subscriber
 Subscriber class that enables receiving ROS2 messages. More...
 

Typedefs

typedef agx::observer_ptr< const ROS2ControlInterface > ROS2ControlInterfaceConstObserver
 
typedef agx::ref_ptr< const ROS2ControlInterface > ROS2ControlInterfaceConstRef
 
typedef agx::observer_ptr< ROS2ControlInterface > ROS2ControlInterfaceObserver
 
typedef agx::ref_ptr< ROS2ControlInterface > ROS2ControlInterfaceRef
 

Enumerations

enum class  QOS_DURABILITY {
  DEFAULT , VOLATILE , TRANSIENT_LOCAL , TRANSIENT ,
  PERSISTENT
}
 
enum class  QOS_HISTORY { DEFAULT , KEEP_LAST_HISTORY_QOS , KEEP_ALL_HISTORY_QOS }
 
enum class  QOS_RELIABILITY { DEFAULT , BEST_EFFORT , RELIABLE }
 

Functions

AGXNTROS2_EXPORT QOS createClockQOS ()
 Create QOS matching ROS2 ClockQoS.
 
AGXNTROS2_EXPORT QOS createDefaultQOS ()
 Create QOS matching ROS2 Default QOS.
 
AGXNTROS2_EXPORT QOS createParameterEventsQOS ()
 Create QOS matching ROS2 ParameterEventsQoS.
 
AGXNTROS2_EXPORT QOS createParametersQOS ()
 Create QOS matching ROS2 ParametersQoS.
 
AGXNTROS2_EXPORT QOS createRosoutQOS ()
 Create QOS matching ROS2 RosoutQoS.
 
AGXNTROS2_EXPORT QOS createSensorDataQOS ()
 Create QOS matching ROS2 SensorDataQoS.
 
AGXNTROS2_EXPORT QOS createServicesQOS ()
 Create QOS matching ROS2 ServicesQoS.
 
template<typename ContainerT >
void freeContainerMemory (ContainerT &container)
 Free the memory held by the given container by swapping it with a default-constructed instance.
 

Typedef Documentation

◆ ROS2ControlInterfaceConstObserver

◆ ROS2ControlInterfaceConstRef

◆ ROS2ControlInterfaceObserver

◆ ROS2ControlInterfaceRef

Enumeration Type Documentation

◆ QOS_DURABILITY

enum class agxROS2::QOS_DURABILITY
strong
Enumerator
DEFAULT 
VOLATILE 
TRANSIENT_LOCAL 
TRANSIENT 
PERSISTENT 

Definition at line 34 of file var/agx-dependencies/agx_dependencies_240424_ubuntu_24.04_64/include/agx-nt-ros2/Qos.h.

◆ QOS_HISTORY

enum class agxROS2::QOS_HISTORY
strong
Enumerator
DEFAULT 
KEEP_LAST_HISTORY_QOS 
KEEP_ALL_HISTORY_QOS 

Definition at line 43 of file var/agx-dependencies/agx_dependencies_240424_ubuntu_24.04_64/include/agx-nt-ros2/Qos.h.

◆ QOS_RELIABILITY

enum class agxROS2::QOS_RELIABILITY
strong
Enumerator
DEFAULT 
BEST_EFFORT 
RELIABLE 

Definition at line 27 of file var/agx-dependencies/agx_dependencies_240424_ubuntu_24.04_64/include/agx-nt-ros2/Qos.h.

Function Documentation

◆ createClockQOS()

AGXNTROS2_EXPORT QOS agxROS2::createClockQOS ( )

Create QOS matching ROS2 ClockQoS.

Returns
- a QOS matching ROS2 ClockQoS.

◆ createDefaultQOS()

AGXNTROS2_EXPORT QOS agxROS2::createDefaultQOS ( )

Create QOS matching ROS2 Default QOS.

Returns
- a QOS matching ROS2 Default QOS.

◆ createParameterEventsQOS()

AGXNTROS2_EXPORT QOS agxROS2::createParameterEventsQOS ( )

Create QOS matching ROS2 ParameterEventsQoS.

Returns
- a QOS matching ROS2 ParameterEventsQoS.

◆ createParametersQOS()

AGXNTROS2_EXPORT QOS agxROS2::createParametersQOS ( )

Create QOS matching ROS2 ParametersQoS.

Returns
- a QOS matching ROS2 ParametersQoS.

◆ createRosoutQOS()

AGXNTROS2_EXPORT QOS agxROS2::createRosoutQOS ( )

Create QOS matching ROS2 RosoutQoS.

Returns
- a QOS matching ROS2 RosoutQoS.

◆ createSensorDataQOS()

AGXNTROS2_EXPORT QOS agxROS2::createSensorDataQOS ( )

Create QOS matching ROS2 SensorDataQoS.

Returns
- a QOS matching ROS2 SensorDataQoS.

◆ createServicesQOS()

AGXNTROS2_EXPORT QOS agxROS2::createServicesQOS ( )

Create QOS matching ROS2 ServicesQoS.

Returns
- a QOS matching ROS2 ServicesQoS.

◆ freeContainerMemory()

template<typename ContainerT >
void agxROS2::freeContainerMemory ( ContainerT &  container)

Free the memory held by the given container by swapping it with a default-constructed instance.

This is required when an application is using a different system allocator than the AGX Dynamics shared library and a container is passed by-value from AGX Dynamics to the application. When the container goes out of scope the application's system allocator will try to deallocate the container's buffer, a buffer that was allocated with AGX Dynamics' system allocator. This will either cause memory errors or a crash. By first calling freeContainerMemory the buffer will be freed inside AGX Dynamics, with AGX Dynamics' system allocator, and the application's system allocator will not need to do anything.