Viam C++ SDK current
Loading...
Searching...
No Matches
Classes | Functions
motor.hpp File Reference

Defines a Motor component. More...

#include <string>
#include <viam/api/component/motor/v1/motor.pb.h>
#include <viam/sdk/common/proto_type.hpp>
#include <viam/sdk/common/utils.hpp>
#include <viam/sdk/config/resource.hpp>
#include <viam/sdk/resource/stoppable.hpp>

Go to the source code of this file.

Classes

class  viam::sdk::Motor
 A Motor represents physical hardware that controls the rotation of an axle. More...
 
struct  viam::sdk::Motor::power_status
 Information about power-state of the motor. More...
 
struct  viam::sdk::Motor::properties
 Features that the specific motor supports. More...
 
struct  viam::sdk::API::traits< Motor >
 

Functions

bool viam::sdk::operator== (const Motor::power_status &lhs, const Motor::power_status &rhs)
 
bool viam::sdk::operator== (const Motor::properties &lhs, const Motor::properties &rhs)
 

Detailed Description

Defines a Motor component.