SensorLoad
A sensor attached to a load. The sensor measures the load values and outputs values into a file, showing per line [time, sensorValue[0], sensorValue[1], …]. Use SensorUserFunction to modify sensor results (e.g., transforming to other coordinates) and writing to file.
The item SensorLoad with type = ‘Load’ has the following parameters:
- name [type = String, default = ‘’]:sensor’s unique name
- loadNumber [type = LoadIndex, default = invalid (-1)]:load number to which sensor is attached to
- writeToFile [type = Bool, default = True]:True: write sensor output to file; flag is ignored (interpreted as False), if fileName=’’
- fileName [type = String, default = ‘’]:directory and file name for sensor file output; default: empty string generates sensor + sensorNumber + outputVariableType; directory will be created if it does not exist
- storeInternal [type = Bool, default = False]:true: store sensor data in memory (faster, but may consume large amounts of memory); false: internal storage not available
- visualization [type = VSensorLoad]:parameters for visualization of item
The item VSensorLoad has the following parameters:
- show [type = Bool, default = True]:set true, if item is shown in visualization and false if it is not shown; sensor visualization CURRENTLY NOT IMPLEMENTED
DESCRIPTION of SensorLoad
Relevant Examples and TestModels with weblink:
leggedRobot.py (Examples/), nMassOscillator.py (Examples/), nMassOscillatorInteractive.py (Examples/), serialRobotInteractiveLimits.py (Examples/), simulateInteractively.py (Examples/), sliderCrank3DwithANCFbeltDrive2.py (Examples/), movingGroundRobotTest.py (TestModels/), plotSensorTest.py (TestModels/), rightAngleFrame.py (TestModels/), serialRobotTest.py (TestModels/), springDamperUserFunctionTest.py (TestModels/)
The web version may not be complete. For details, consider also the Exudyn PDF documentation : theDoc.pdf