| 
| 
bool  | isReady () const override | 
|   | Backend is initialized and ready to run tasks? 
  | 
|   | 
| 
virtual Pose  | pose () override | 
|   | Latest pose estimation of the robot. 
  | 
|   | 
| 
virtual Velocity  | velocity () const override | 
|   | Latest velocity estimation of the robot. 
  | 
|   | 
| 
virtual Odometry  | odometry () const override | 
|   | Latest odometry estimation of the robot. 
  | 
|   | 
| 
virtual Transform  | transform () const override | 
|   | Latest transform estimation of the robot. 
  | 
|   | 
| void  | setPose (const geometry_msgs::PoseStamped &_pose) override | 
|   | 
| void  | goToWaypoint (const Waypoint &_wp) override | 
|   | 
| void  | goToWaypointGeo (const WaypointGeo &_wp) override | 
|   | 
| void  | takeOff (double _height) override | 
|   | 
| 
void  | land () override | 
|   | Land on the current position. 
  | 
|   | 
| void  | setVelocity (const Velocity &_vel) override | 
|   | 
| void  | recoverFromManual () override | 
|   | 
| 
void  | setHome (bool set_z) override | 
|   | Set home position. 
  | 
|   | 
| 
template<typename Callable , typename... Args>  | 
| bool  | threadSafeCall (Callable &&_fn, Args &&..._args) | 
|   | Wrap a Backend function to make it thread-safe. 
  | 
|   | 
| 
  | Backend () | 
|   | Constructor inits node. 
  | 
|   | 
| 
bool  | isIdle () | 
|   | Is it idle? 
  | 
|   | 
| 
State  | state () | 
|   | Current robot state. 
  | 
|   | 
| 
void  | abort (bool _freeze=true) | 
|   | Cancel execution of the current task. 
  | 
|   | 
 | 
| enum   | State {  
  UNINITIALIZED, 
LANDED_DISARMED, 
LANDED_ARMED, 
TAKING_OFF, 
 
  FLYING_AUTO, 
FLYING_MANUAL, 
LANDING
 
 } | 
|   | Possible backend states. 
  | 
|   | 
| static Backend *  | createBackend () | 
|   | Create an adequate Backend depending on current platform and command arguments.  More...
  | 
|   | 
| std::atomic< bool >  | abort_ = {false} | 
|   | 
| std::atomic< bool >  | freeze_ = {false} | 
|   | 
| std::mutex  | running_mutex_ | 
|   | 
| 
std::atomic< bool >  | running_task_ = {false} | 
|   | 
| 
std::thread  | spin_thread_ | 
|   | 
| 
std::atomic< State >  | state_ = {UNINITIALIZED} | 
|   | 
  
  
      
        
          | void grvc::ual::BackendLight::goToWaypoint  | 
          ( | 
          const Waypoint &  | 
          _wp | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Go to the specified waypoint, following a straight line 
- Parameters
 - 
  
  
 
Implements grvc::ual::Backend.
 
 
  
  
      
        
          | void grvc::ual::BackendLight::goToWaypointGeo  | 
          ( | 
          const WaypointGeo &  | 
          _wp | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Go to the specified waypoint in geographic coordinates, following a straight line 
- Parameters
 - 
  
    | _wp | goal waypoint in geographic coordinates  | 
  
   
Implements grvc::ual::Backend.
 
 
  
  
      
        
          | void grvc::ual::BackendLight::recoverFromManual  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
Recover from manual flight mode Use it when FLYING uav is switched to manual mode and want to go BACK to auto. 
Implements grvc::ual::Backend.
 
 
  
  
      
        
          | void grvc::ual::BackendLight::setPose  | 
          ( | 
          const geometry_msgs::PoseStamped &  | 
          _pose | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
  
  
      
        
          | void grvc::ual::BackendLight::setVelocity  | 
          ( | 
          const Velocity &  | 
          _vel | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Set velocities 
- Parameters
 - 
  
    | _vel | target velocity in world coordinates  | 
  
   
Implements grvc::ual::Backend.
 
 
  
  
      
        
          | void grvc::ual::BackendLight::takeOff  | 
          ( | 
          double  | 
          _height | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
Perform a take off maneuver 
- Parameters
 - 
  
    | _height | target height that must be reached to consider the take off complete  | 
  
   
Implements grvc::ual::Backend.
 
 
The documentation for this class was generated from the following file: