sic2 / haptiq Goto Github PK
View Code? Open in Web Editor NEWHaptiQ ("Haptic-Cue") - The first Vector-based display for the Visually Impaired
License: GNU Lesser General Public License v3.0
HaptiQ ("Haptic-Cue") - The first Vector-based display for the Visually Impaired
License: GNU Lesser General Public License v3.0
When we try to inherit a HapticShape (for instance, "HapticCircle") some methods are private (for instance "HapticCircle.dstFromCenter()"), that prevents their use for inherit classes.
One solution might be to change their protection level to "protected" instead of "private"
That might be apply to all leaf classes of the API (behaviours', hapticshapes', etc.).
For the moment, we can:
I think the last one is a problem, we don't know exactly which value to put in there.
We could implement a method based on percentage, for example 30% of the max value.
Something like that:
setHeightByPercentage(uint hPercent){
setHeight( minHeight + ( maxHeight - minHeight ) * hPercent/100 );
}
and privatize the "setHeight" method.
Unable to link two circles. The program crash.
Initiate the actuator pressure during the launching ("0" by default might be a good option)
Refactor Configuration classes and remove duplicate code.
Actuator might have a base-height during the launching ?
HapticLine should be added to allow lines representation. This would be different from an HapticLink, which shows direction.
Also, code for HapticLine is partially provided in the HapticRectangle class.
Extension:
HapticPolyline
Description:
Add an haptic circle shape.
Possible problems:
Edges cannot be represented by combinations of actuators
Possible workaround:
Use notification behaviour only for this shape, but change the frequency as the device gets near the edges.
Bad recognition of the glyph during initialization and normal uses.
Description:
In the method playBehaviours in the MHTP class multiple behaviours can be added.
Each behaviour set a particular actuator to a specified position. When summing the behaviours the final position of the actuator can exceed the maximum allowed position.
Solution:
Normalise final position based on the number of behaviours.
I don't know if you have already implemented this functionnality but that would be very useful to know if a HTP is on the table or not.
Linear behaviour could represent an alternative to PulsationBehaviour, where actuators do not oscillate and rather than changing the frequency, the height is changed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.