ImFusion SDK 4.3
StatusInterface Class Referenceabstract

#include <RoboticsPlugin/Include/ImFusion/Robotics/RobotControlInterfaces.h>

Most standard control interface, which exposes functionality common to most robots. More...

+ Inheritance diagram for StatusInterface:

Detailed Description

Most standard control interface, which exposes functionality common to most robots.

Public Member Functions

 StatusInterface (RateLimits rateLimits)
 
RobotLocationrobotLocation () const
 
template<typename LocationType>
LocationType * typedRobotLocation () const
 
template<typename LocationType>
bool updateRobotLocation (std::unique_ptr< LocationType > newLocation)
 
RateLimits rateLimits () const
 
virtual void setRateLimits (RateLimits rateLimits)
 
virtual MotionGeneratorBaseactiveMotionGenerator ()=0
 
virtual bool isMoving () const =0
 
virtual bool isError () const =0
 
virtual bool canStartNewMotion () const =0
 
virtual bool tryRecoverFromError ()=0
 
virtual void stopMotion ()=0
 

Static Public Member Functions

static std::string id ()
 

Public Attributes

Signal motionStarted
 
Signal motionFinished
 

Protected Attributes

RateLimits m_rateLimits
 
std::unique_ptr< RobotLocationm_robotLocation
 Robot location (e.g.
 

Member Function Documentation

◆ activeMotionGenerator()

virtual MotionGeneratorBase * activeMotionGenerator ( )
pure virtual

Implemented in RobotRunner.

Member Data Documentation

◆ m_robotLocation

std::unique_ptr<RobotLocation> m_robotLocation
protected

Robot location (e.g.

IP address and port) Can be null for fake streams


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close