Viam C++ SDK current
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
viam::sdk::motion_configuration Struct Reference

Defines configuration options for certain Motion APIs. More...

#include <motion.hpp>

Public Member Functions

service::motion::v1::MotionConfiguration to_proto () const
 

Static Public Member Functions

static motion_configuration from_proto (const service::motion::v1::MotionConfiguration &proto)
 

Public Attributes

std::vector< obstacle_detectorobstacle_detectors
 The obstacle detectors to be used for the API call.
 
boost::optional< double > position_polling_frequency_hz
 If not null, sets the frequency to poll for the position of the robot.
 
boost::optional< double > obstacle_polling_frequency_hz
 If not null, sets the frequency to poll the vision service(s) for new obstacles.
 
boost::optional< double > plan_deviation_m
 Optional distance in meters a robot is allowed to deviate from the motion plan.
 
boost::optional< double > linear_m_per_sec
 Optional linear velocity to target when moving.
 
boost::optional< double > angular_degs_per_sec
 Optional angular velocity to target when turning.
 

Friends

bool operator== (const motion_configuration &lhs, const motion_configuration &rhs)
 
std::ostream & operator<< (std::ostream &os, const motion_configuration &v)
 

Detailed Description

Defines configuration options for certain Motion APIs.


The documentation for this struct was generated from the following file: