|
API | api () const override |
| Returns the API associated with a particular resource.
|
|
Vector3 | get_linear_velocity () |
|
virtual Vector3 | get_linear_velocity (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 |
|
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 |
|
std::unordered_map< std::string, float > | get_accuracy () |
|
virtual std::unordered_map< std::string, float > | get_accuracy (const ProtoStruct &extra)=0 |
|
Vector3 | get_linear_acceleration () |
|
virtual Vector3 | get_linear_acceleration (const ProtoStruct &extra)=0 |
|
virtual ProtoStruct | do_command (const ProtoStruct &command)=0 |
| Send/receive arbitrary commands to the resource.
|
|
std::vector< GeometryConfig > | get_geometries () |
| Returns GeometryConfig s associated with the calling movementsensor.
|
|
virtual std::vector< GeometryConfig > | get_geometries (const ProtoStruct &extra)=0 |
| Returns GeometryConfig s associated with the calling movementsensor.
|
|
Name | get_resource_name () const override |
| Returns the Name for a particular resource.
|
|
| Resource (std::string name) |
|
virtual std::string | name () const |
| Return the resource's name.
|
|
This acts as an abstract base class to be inherited from by any drivers representing specific movementsensor implementations. This class cannot be used on its own.