Comments (3)
@ElianVanCutsem Hello, thank you for your report. IIRC it should return a distance from the center of the joystick normalized to (0.0, 1.0). Are you sure it doesn't return those values? I have just tried it and it seems to work just fine.
JoystickView(
onDirectionChanged: (degrees, distance) {
print("$degrees . $distance");
},
)
from flutter_control_pad.
Thanks for your answer. I'll check to be sure tomorrow and hit post results here!
from flutter_control_pad.
Hey, Thanks for responding to this issue, It seemed to be an error in my code that rounded it to 0.0, 0.5 or 1.0.
It's solved now, thanks
from flutter_control_pad.
Related Issues (20)
- localPosition error HOT 1
- how i can connect with my audrino car HOT 1
- The joystickInnerPosition will move to the center point HOT 3
- Setting onDirectionChanged disables inner circle movement HOT 2
- Custom arrows HOT 1
- Using Control inside of GestureDetector HOT 2
- Animated Positioning HOT 1
- Calling setState() in the onDirectionChanged property will make the joystick not working... HOT 2
- Background shadow color HOT 3
- Set start position of the inner circle HOT 1
- Getting a stream from the joystick view HOT 1
- Joystick x and y HOT 3
- change the colour of outer circle in joystickView() HOT 7
- how should the controller connected to robot HOT 2
- Please Update to Null Safety / SDK 2.12 / Flutter 2 HOT 3
- Update Readme, Teach using its controller HOT 2
- don't support null safety
- Scale control pad HOT 1
- is this null safty HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_control_pad.