Skip to content

Commit e65ce3d

Browse files
committed
Updates to default motor settings
1 parent af5dd98 commit e65ce3d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Haptic_Driver.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ bool Haptic_Driver::defaultMotor(){
8484

8585

8686
sparkSettings.motorType = LRA_TYPE;
87-
sparkSettings.nomVolt = 2.5; //volts
88-
sparkSettings.absVolt = 2.5; // volts
89-
sparkSettings.currMax = 170; // milliamps
90-
sparkSettings.impedance = 10.0; // ohms
91-
sparkSettings.lraFreq = 200; // hertz
87+
sparkSettings.nomVolt = 2.5; //volts - not used when acceleration is off, set nominal when on
88+
sparkSettings.absVolt = 2.5; // volts - when acceleration is off, set this only
89+
sparkSettings.currMax = 165.4; // milliamps -
90+
sparkSettings.impedance = 13.8; // ohms
91+
sparkSettings.lraFreq = 170; // hertz
9292

9393
if( setActuatorType(sparkSettings.motorType) &&
9494
setActuatorABSVolt(sparkSettings.absVolt) &&

0 commit comments

Comments
 (0)