|
Viam C++ SDK current
|
gRPC client implementation of a MovementSensor component.
More...
#include <movement_sensor_client.hpp>
Inheritance diagram for viam::sdk::impl::MovementSensorClient:Public Types | |
| using | interface_type = MovementSensor |
Public Member Functions | |
| MovementSensorClient (std::string name, std::shared_ptr< grpc::Channel > channel) | |
| Vector3 | get_linear_velocity (const ProtoStruct &extra) override |
| Vector3 | get_angular_velocity (const ProtoStruct &extra) override |
| compassheading | get_compass_heading (const ProtoStruct &extra) override |
| orientation | get_orientation (const ProtoStruct &extra) override |
| position | get_position (const ProtoStruct &extra) override |
| properties | get_properties (const ProtoStruct &extra) override |
| std::unordered_map< std::string, float > | get_accuracy (const ProtoStruct &extra) override |
| Vector3 | get_linear_acceleration (const ProtoStruct &extra) override |
| ProtoStruct | do_command (const ProtoStruct &command) override |
| Send/receive arbitrary commands to the resource. | |
| std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra) override |
Returns GeometryConfigs associated with the calling movementsensor. | |
| std::unordered_map< std::string, float > | get_accuracy () |
| virtual std::unordered_map< std::string, float > | get_accuracy (const ProtoStruct &extra)=0 |
| Vector3 | get_angular_velocity () |
| virtual Vector3 | get_angular_velocity (const ProtoStruct &extra)=0 |
| compassheading | get_compass_heading () |
| virtual compassheading | get_compass_heading (const ProtoStruct &extra)=0 |
| std::vector< GeometryConfig > | get_geometries () |
Returns GeometryConfigs associated with the calling movementsensor. | |
| virtual std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra)=0 |
Returns GeometryConfigs associated with the calling movementsensor. | |
| Vector3 | get_linear_acceleration () |
| virtual Vector3 | get_linear_acceleration (const ProtoStruct &extra)=0 |
| Vector3 | get_linear_velocity () |
| virtual Vector3 | get_linear_velocity (const ProtoStruct &extra)=0 |
| orientation | get_orientation () |
| virtual orientation | get_orientation (const ProtoStruct &extra)=0 |
| position | get_position () |
| virtual position | get_position (const ProtoStruct &extra)=0 |
| properties | get_properties () |
| virtual properties | get_properties (const ProtoStruct &extra)=0 |
Public Member Functions inherited from viam::sdk::MovementSensor | |
| API | api () const override |
Returns the API associated with a particular resource. | |
| Vector3 | get_linear_velocity () |
| Vector3 | get_angular_velocity () |
| compassheading | get_compass_heading () |
| orientation | get_orientation () |
| position | get_position () |
| properties | get_properties () |
| std::unordered_map< std::string, float > | get_accuracy () |
| Vector3 | get_linear_acceleration () |
| std::vector< GeometryConfig > | get_geometries () |
Returns GeometryConfigs associated with the calling movementsensor. | |
Public Member Functions inherited from viam::sdk::Component | |
| Name | get_resource_name () const override |
Returns the Name for a particular resource. | |
Public Member Functions inherited from viam::sdk::Resource | |
| Resource (std::string name) | |
| virtual std::string | name () const |
| Return the resource's name. | |
| void | set_log_level (log_level) const |
| Set the log level for log messages originating from this Resource. | |
Additional Inherited Members | |
Protected Member Functions inherited from viam::sdk::MovementSensor | |
| MovementSensor (std::string name) | |
Protected Member Functions inherited from viam::sdk::Component | |
| Component (std::string name) | |
Protected Member Functions inherited from viam::sdk::Resource | |
| Name | get_resource_name (const std::string &type) const |
Protected Attributes inherited from viam::sdk::Resource | |
| LogSource | logger_ |
gRPC client implementation of a MovementSensor component.
|
overridevirtual |
Send/receive arbitrary commands to the resource.
| Command | the command to execute. |
Implements viam::sdk::MovementSensor.
|
overridevirtual |
Implements viam::sdk::MovementSensor.
|
virtual |
Implements viam::sdk::MovementSensor.
|
overridevirtual |
Implements viam::sdk::MovementSensor.
|
virtual |
Implements viam::sdk::MovementSensor.
|
overridevirtual |
Implements viam::sdk::MovementSensor.
|
virtual |
Implements viam::sdk::MovementSensor.
|
inline |
Returns GeometryConfigs associated with the calling movementsensor.
GeometryConfigs associated with the component.
|
overridevirtual |
Returns GeometryConfigs associated with the calling movementsensor.
| extra | Any additional arguments to the method. |
GeometryConfigs associated with the component. Implements viam::sdk::MovementSensor.
|
virtual |
Returns GeometryConfigs associated with the calling movementsensor.
| extra | Any additional arguments to the method. |
GeometryConfigs associated with the component. Implements viam::sdk::MovementSensor.
|
overridevirtual |
Implements viam::sdk::MovementSensor.
|
virtual |
Implements viam::sdk::MovementSensor.
|
overridevirtual |
Implements viam::sdk::MovementSensor.
|
virtual |
Implements viam::sdk::MovementSensor.
|
overridevirtual |
Implements viam::sdk::MovementSensor.
|
virtual |
Implements viam::sdk::MovementSensor.
|
overridevirtual |
Implements viam::sdk::MovementSensor.
|
virtual |
Implements viam::sdk::MovementSensor.
|
overridevirtual |
Implements viam::sdk::MovementSensor.
|
virtual |
Implements viam::sdk::MovementSensor.