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
0
votes
1 answer

JS mouseenter -> acceleration value increases; mouseleave -> deceleration value decreases

I'm trying to achieve a mouseover effect. When the usere hovers the element, it start spinning slowly and over time the speed will increase. When the user leaves the element, the spinning will decrease and eventually stop. My approach would be to…
user12154304
0
votes
1 answer

Kalman filter with acceleration. State or Control vector?

I have a basic understanding question in Kalman filter which I haven't found an answer yet. Assume I want to implement a Kalman filter with a constant acceleration dynamic. I can either add the acceleration the state vector and F matrix - Xt =…
Roi Yozevitch
  • 197
  • 3
  • 13
0
votes
0 answers

Smooth decrease in number with acceleration or deceleration

I have coordinates, and I need them to decrease smoothly with a slowdown in the end. For example: 40, 20, 10, 5, 2.5, 1.25, 1.125, 0.925 and so on to ~0 The launch is quick, and the end is smooth. I tried to use setInterval, and multiply by 0.9 each…
AnimateMe
  • 57
  • 7
0
votes
1 answer

Implementing Framerate-independent Acceleration

I am attempting to make an HTML5 canvas-based game which involves framerate-independent motion (objects move at the same rate, regardless of FPS). I know how to implement framerate-independent motion on an object moving at a constant rate. However,…
Nick362880
  • 13
  • 3
0
votes
1 answer

in my code the turtles won't move when the patience is smaller than friction

to go ask turtles [ if patience > friction [ speed-up set color red fd 1 set walk-score walk-score + 3 ] if patience < friction [ speed-down] ] tick end to speed-up set speed speed + acceleration if speed >…
0
votes
1 answer

Udf acceleration

There is a Udf that works well , but slowly . I know how to accelerate Sub : Application.ScreenUpdating = False Application.Calculation = xlCalculationManual Application.EnableEvents = False Is this suitable for Function ? If not , how can I…
maxim465
  • 195
  • 10
0
votes
0 answers

AXDL345 values is strange

I use ADXL345(-+16g) I know it is for 10bits then the range is -512 ~ 511. But I turn ADXL345, I can get from about -255~ 255. What is wrong? The code is: unsigned __int16 HLdata(unsigned __int16 H, unsigned __int16 L) { unsigned __int16 h,…
0
votes
1 answer

html5 audio not triggered by acceleration on iPhone / pod

I want to trigger an audio file when I shake the iPhone. I can get audio to play with a button press. I can get audio to play on shake after I have first used the button press. But on first entry to the page shake accelerometer does not play the…
0
votes
0 answers

Swift: CoreMotion and G-Forces?

I know how to get the gravity data with CoreMotion, but I am not sure what the data actually says. I would like to show the current G-Forces to the User, but is the sensor data already the G-Force or how can this be converted to G's? Right now I…
RjC
  • 827
  • 2
  • 14
  • 33
0
votes
0 answers

Drawing SharpDX effects on bitmap is too slow, what am I doing wrong?

SO basically, I need performance. Currently in my job we use GDI+ graphics to draw bitmap. Gdi+ graphics contains a method called DrawImage(Bitmap,Points[]). That array contains 3 points and the rendered image result with a skew effect. Here is an…
NickD
  • 191
  • 15
0
votes
0 answers

How to calculate distance traveled given constant acceleration and initial speed

I have to do an animation, and I need a spinning wheel (constant speed), to start decelerating (constant acceleration) until it stops. I need to start the deceleration at the correct time so that the wheel stops exactly at a pre-determined…
user2527666
  • 433
  • 5
  • 14
0
votes
0 answers

Android cuts accelerometer measurements on wearables

I found that on android there is a 2G limit of acceleration on the most watches that I tried. I am wondering is there a way to get a better range of measurements, and is that for every watch with android or it is different? What is the max…
0
votes
1 answer

How to accelerate an Excel VB Macro

I am trying to accelerate my Excel VB Macro. I have tried the 5 alternatives below. But I wonder if I could shorten the execution further. I found 2 alternatives in User Blogs which I could not get to work. One alternative is also found in a User…
Andre
  • 1
0
votes
1 answer

use applyTorque() in deg/sec² - Box2D

I am trying to figure out how to use correctly body.applytorque(float torque, boolean wake) method on a body with a center of mass, to accelerate it's angular velocity. I want to apply an angular acceleration, in degrees per square second. According…
Dave
  • 1
  • 2
0
votes
0 answers

Get Velocity from Acceleration data(10 Hz), using "cumsum" or Omega Arithmetic Method

I want to get Velocity from Acceleration data(10 Hz) in MATLAB. I have the real Constant Velocity that I've calculated by (DeltaX/DeltaT). The problem is that when I use the code below, the graph has lot's of differences with the Real Velocity…
Shayan Shiri
  • 51
  • 1
  • 6