Robotsystem from Robot Group Leipzig: AbstractMotorComponent Class Reference

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Alphabetical List
- Class Hierarchy
- Class Members

# AbstractMotorComponent Class Reference

`#include <component.h>`

Inheritance diagram for AbstractMotorComponent:

[legend]
Collaboration diagram for AbstractMotorComponent:

[legend]
List of all members.

## Detailed Description

AbstractMotorComponent.

a motor has output wires (new angular velocity) and input wire (current angular velocity)

Definition at line 273 of file component.h.

## Public Member Functions
| AbstractMotorComponent (dJointID _joint_id)
virtual void | set_angular_velocity (dReal angular_velocity)=0
virtual dReal | get_angular_velocity () const =0
## Protected Attributes
dJointID | joint_id

## Constructor & Destructor Documentation

AbstractMotorComponent | ( | dJointID | _joint_id | ) |

## Member Function Documentation

virtual dReal get_angular_velocity | ( |  | ) | const`[pure virtual]`

| Implemented in UniversalMotorComponent.

virtual void set_angular_velocity | ( | dReal | angular_velocity | ) | `[pure virtual]`

| Implemented in UniversalMotorComponent.

## Member Data Documentation

dJointID joint_id`[protected]`

| Definition at line 275 of file component.h.