User Tools

Site Tools


eeros_architecture:hal:feature_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
eeros_architecture:hal:feature_functions [2017/06/22 11:58] – [Accessing Feature Functions from the Control System] grafeeros_architecture:hal:feature_functions [2021/05/16 09:30] – [List of Feature Function for Hardware Wrapper Libraries] ursgraf
Line 27: Line 27:
   motorSpeed.callOutputFeature("setPwmFrequency", 200.0);   motorSpeed.callOutputFeature("setPwmFrequency", 200.0);
 </code> </code>
 +
 +===== List of Feature Function for Hardware Wrapper Libraries =====
 +^library^type^function^Parameter^Description^
 +|bbblue-eeros|AnalogOut|freeSpin|channel|Puts a motor into a zero-throttle state allowing it to spin freely. Motor channel (1-4) or 0 for all channels. Make sure, that the peripheral output driving the motor does not run, else the set function will reenable the H-bridge.|
 +|:::|:::|brake|channel|Connects the motor terminal pairs together which makes the motor fight against its own back EMF turning it into a brake resisting rotation. Motor channel (1-4) or 0 for all channels. Make sure, that the peripheral output driving the motor does not run, else the set function will reenable the H-bridge.|
 +|:::|Fqd|resetFqd| |Sets the encoder position to zero. This can be useful for homing.|
 +|:::|:::|setFqdPos|position|Sets the encoder position to a given value. This can be useful for homing.|
 +|flink-eeros|Fqd|resetFqd| |Sets the encoder position to zero. This can be useful for homing.|
 +|:::|Pwm|setPwmFrequency|frequency|Sets the pwm frequency (in Hz).|
 +|:::|Pwm|setPwmDutyCycle|duty cycle|Sets the pwm duty cycle (0.0 .. 1.0).|
 +
 +
 +
  
eeros_architecture/hal/feature_functions.txt · Last modified: 2021/05/16 09:33 by ursgraf