Ok. But it will show the same as yours?



greybeard wrote:<10 Terabytes storage!>
Mightily impressive! I just can't begin to imagine what could take up so much storage space. Don't think I've ever managed to exceed 80 gigs!
' USER SETTINGS BELOW
'***************************************************************************************************************
'***************************************************************************************************************
'==========================================================================================
SpeedPotPin = 5 'analog input pin used for SpeedPot
LeftCurrentSensorPin = 7 'analog input pin
RightCurrentSensorPin = 8 'analog input pin
AlarmPin = 6 'digital output pin used for low voltage alarm
'WILL and JOHN: I don't know what pins you are using for brakes, set here to silly numbers to allow compilation
Brake1Pin = 1 'digital output pin ??
Brake2Pin = 0 'digital output pin, 0 of only 1 brake pin used
'JOYSTICK AND SPEEDPOT SETTINGS
Damping = 1 'number of joystick readings to moving average
SpeedPotInstalled = TRUE 'Is speed potentiometer installed?
SpeedPot = 90 'default if bSpeedPotInstalled = FALSE; 90 allows some headroom for steer/mixing
SpeedPotLowFault = 30 'chair speed used if pot fails giving too low voltage
SpeedPotHighFault = 60 'chair speed used if pot fails giving too high voltage
SpeedPotFwdMax = 100 ' percent speed at highest pot setting, set <100 for lower top
SpeedPotFwdMin = 17
SpeedPotRevMax = 26
SpeedPotRevMin = 13
TurnPotFwdMax = 18
TurnPotFwdMin = 14
TurnPotRevMax = 16
TurnPotRevMin = 14
TurnAtFullSpeed = 100 '100=no reduction of turn rate with speed, 0=turn rate goes to 0 at full speed
' DRIVING CHARACTERISTICS
'the following override the settings in the Roboteq configuration
M1Accel = 2200
M2Accel = 2200
M1Decel = 2200
M2Decel = 2200
AccelMotorComp = 0 'adjust accel & decel for motor compensation 0 = no effect,
DecelMotorComp = 0 'but I have no idea of how sensitive this parameter will prove to be
'20 makes a noticeable difference in initial acceleration in bench test
AccelSteerMixWeight = 600 '0 = no effect of M1-M2 motor power on accel/decl, 100 = full effect
'if 100 is not enough, it's OK to try values > 100
DecelSteerMixWeight = 600 '0 = no effect of M1-M2 motor power on accel/decl, 100 = full effect
'if 100 is not enough, it's OK to try values > 100
TurnAccelBoost = 100 'a number >= 1, increases acceleration while turning:
'100 would double accel when turn = TurnPotForwardMax and speed = 0
TurnDecelBoost = 100 'a number >= 1, increases deceleration while turning
' BACK STICK BRAKING
DecelBoost = 150 'percent of added deceleration to use if Throttle crosses 0.
'effect of this is proportional to how far past 0 the stick is moved.
MotorResistance = 55 'MOTOR COMPENSATION. (SETTING THIS TOO HIGH IS DANGEROUS)
'Set to less than motor mohms and then adjust based on chair response
UseCurrentSensors = TRUE 'Set to TRUE if using external current sensors on analog inputs 7 & 8
'Set to FALSE to use Roboteq's internal motor current estimates
'parameters added to allow motor compensation boost at low estimated motor current; irrelevant if
'equipped with motor current sensor
BoostStart = 5 'no boost below this to avoid drift at small or no joystick movements
BoostEnd = 500 'safety limit - make sure there's no boost at 50% or more stick throw
MaxBoostFactor = 1 'increase MotorCompensation by this factor at low currents; 0 = no boost
BoostEndCurrent = 100 'taper boost to zero when this value of motor current (10X amps, e.g. 60 = 6 Amps)
'is reached
' PROGRAM TIMING
MainLoopWaitTime = 0 'milliseconds to wait for each cycle through MainLoop: set to 0 for max loop speed
CyclesPerSpeedPotRead = 200/(MainLoopWaitTime+1)'number of cycles between each read of pot
'reduce number of cycles if there is a wait time in main loop
TimeBetweenAmpHrReads = 1000 '1000 mSec = 1 second - time interval between checking current draw
TimeBetweenAmpHrOutputs = 10000 '10000 msec = 10 seconds - time interval for sending current used to display
'device
' MISCELLANEOUS
SuppressPrinting = TRUE 'Set to TRUE to suppress printing to speed and smooth controller/PC
'interaction; PRINT of current used will not be suppressed, but is sent only
'once every vTimeBetweenAmpHrOutputs msec
AllowSerialInput = FALSE 'Set to TRUE if using serial joystick or emulation
FullRechargeVoltage = 449 'ten times battery voltage; 44.9V = 3.45V/cell - voltage present only
'immediately after recharging -- used to reset AmpHrs-used measurement to 0
LowVoltsAlarm = 150 'LENNY tenths of volts, 410 = 3.14V/cell for 13s pack
NoLoadCurrent = 30 'current with no motors running (20 = 2 Amps) YOU SHOULD CHECK THIS ON YOUR CHAIR AND
'SET THE VALUE JUST OVER WHAT YOU MEASURE
NoVoltReads = 50 'no. of times to read quiescent volts before averaging
'***************************************************************************************************************
'***************************************************************************************************************
' END USER SETTINGSReturn to Everything Powerchair
Users browsing this forum: DennisinTexas, faico_26, jefferso, shirley_hkg and 459 guests