Patent attributes
A non-transitory computer-readable medium for generating a haptic effect is provided. The computer-readable-medium has computer-executable code that causes a processor to receive a desired haptic effect waveform for the haptic effect, to receive sensor information that indicates at least one of speed, acceleration, and position of the haptic output device, and to generate a control signal for the haptic effect based on the desired haptic effect waveform and the at least one of the speed, acceleration, and position of the haptic output device, wherein the control signal causes a profile of the haptic effect to substantially match the desired haptic effect waveform, such that matching between the profile of the haptic effect and the desired haptic effect waveform is made more similar by basing the control signal on the at least one of the speed, acceleration, and position of the haptic output device.