Questions tagged [acceleration]

ambiguous tag: avoid using this tag (see the full tag wiki for alternatives)

This tag is currently ambiguous and unlikely to get your question extra attention. Consider using the following tags for better classification:

175 questions
118
votes
6 answers

Android accelerometer accuracy (Inertial navigation)

I was looking into implementing an Inertial Navigation System for an Android phone, which I realise is hard given the accelerometer accuracy, and constant fluctuation of readings. To start with, I set the phone on a flat surface and sampled 1000…
woodstock365
  • 1,780
  • 4
  • 19
  • 35
18
votes
1 answer

Stop deceleration of UIScrollView

What's the best way to immediately stop the deceleration of an UIScrollView in iPhone 3.0? I would like to keep the deceleration of the UIScrollView until it naturally stops or the user performs a certain action, whatever happens first. Thanks!
hpique
  • 119,096
  • 131
  • 338
  • 476
16
votes
2 answers

How to calculate distance based on phone acceleration

I want to build something like this but using an android phone: http://www.youtube.com/watch?v=WOt9mb5QqRs I've already built an app that sends sensor information via socket (still looking for a good websocket implementation for android). I intend…
Demian
  • 161
  • 1
  • 1
  • 3
12
votes
3 answers

Javascript iPhone Scroll Effect in an iFrame / Javascript Mouse Acceleration

I'm trying to recreate the iPhone flick / scroll event in a window using JavaScript. Starting with JQuery, I'm measuring the mouse's acceleration and offset during click - drag - release events using a timer: var MouseY = { init:…
jb.
  • 9,987
  • 12
  • 39
  • 38
9
votes
6 answers

How to calculate deceleration needed to reach a certain speed over a certain distance?

I've tried the typical physics equations for this but none of them really work because the equations deal with constant acceleration and mine will need to change to work correctly. Basically I have a car that can be going at a large range of speeds…
Eli
  • 4,874
  • 6
  • 41
  • 50
7
votes
1 answer

Good acceleration structure for ray sphere tests with spheres that move

I'm looking for the proper acceleration structure to do ray-sphere intersection tests (in a game). the following conditions apply: -there are arround 100 spheres and 100 rays to test against each other per frame -the spheres move in each frame, so…
Mat
  • 841
  • 1
  • 9
  • 5
6
votes
1 answer

scroll window when mouse moves

Hello allWhat I mean is while the mouse is moving towards the edge of the window (x or y or both), I want the page to scroll, and when the mouse stops moving, I want the page to stop scrolling.There are numerous examples of how to scroll based on…
kevin
  • 65
  • 1
  • 1
  • 3
6
votes
3 answers

Disabling hardware acceleration for mapView leads to constant redraws

Short version: Disabling hardware acceleration with android:hardwareAccelerated="false" in xml changes the background color of my Theme.Sherlock.Light.DarkActionBar theme to a whiter "white". EDIT: this used to be the main question. I changed the…
Flyview
  • 1,899
  • 1
  • 28
  • 46
6
votes
2 answers

Make virtual network interface in Linux?

I'm building a program that does network acceleration, and I need to know how to create a network interface on Linux that instead of directing data to an actual interface, directs information to my program, so that it can be accelerated. The idea is…
nonpolynomial237
  • 2,109
  • 4
  • 27
  • 35
5
votes
2 answers

Numba code much faster than cython alternative

I have to write a small simulation in cython, which is usually accelerated with numba. But I have to make this transition, since numba didn't support a scipy function which I wanted to use for modifying the function. So essentially I have translated…
4
votes
1 answer

Deceleration Timing

I am currently writing second version of the Flow Slider plugin and one of the animation options is when the slider accelerates at some constant acceleration up to some maximum speed and then decelerates with constant deceleration. I have a problem…
Vad
  • 4,052
  • 3
  • 29
  • 34
4
votes
4 answers

Smooth grabbing

I've made a simple grabbing demo page. It doesn't have any easing/acceleration. I would like to do the same easing/acceleration as on kulesh.info (Flash website) using JavaScript. How can I do that? Any examples of smooth grabbing (scrolling,…
NVI
  • 14,907
  • 16
  • 65
  • 104
4
votes
1 answer

Can't accelerate pixel-modified BufferedImages

For quite a long time, 1-2 months, I have been trying to find an answer to this particular problem: I can't get my image hardware accelerated! I've been searching on the net, created my own methods, hit my head with the keyboard (still feel the…
4
votes
2 answers

speed or acceleration of motion event android

Is it possible to get the speed or velocity or acceleration of touch event in android with the existing api? I have gone through MotionEvent class and none of the fields in that class seem to retrieve information that i need. Any help would be…
user1253887
  • 1,309
  • 3
  • 11
  • 13
3
votes
1 answer

Calculating acceleration peak from velocity

I am trying to convert an array of velocity values to acceleration values. I understand that acceleration is the integral of velocity, but don't know how to acheive this. I am using MATLAB, so if anyone can offer a solution in this language, I would…
CaptainProg
  • 5,610
  • 23
  • 71
  • 116
1
2 3
11 12