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

Given acceleration data and the corresponding time, how can I find the position and velocity in MATLAB?

I am given this data in an excel spreadsheet. So after importing it would I just do velocity = cumtrapz(t,y) and then position = cumtrapz(velocity)?
Josh
  • 718
  • 2
  • 15
  • 38
0
votes
0 answers

Wrong object rotation when I tilt my mobile in landscape orientation in Unity

I'm trying to rotate an object with the same tilt as my mobile I found this thread that is really helpful http://answers.unity3d.com/questions/139294/match-the-tilted-angle-of-phone-to-object.html But, when I put the device in landscape orientation…
rubengc
  • 1
  • 2
0
votes
1 answer

Assigning Xeon-Phi to MPI process

My system has two xeon-phi cards attached to one single node. I am trying to run a distributed MPI code, that uses xeon-phi acceleration in offload mode. I am wondering if I run two MPI process per node, how would I assign xeon-phi to each MPI…
arbitUser1401
  • 575
  • 2
  • 8
  • 25
0
votes
1 answer

animation starts when tilting

i like to start this animation when tilting. it doesn't, so i suppose some essential code is missing. please help: - (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration { flap.animationImages = [NSArray…
blacksheep
  • 13
  • 2
0
votes
1 answer

How can I implement Declaration to bouncy ball?

i am trying to implement Deceleration on the bouncy ball. i am able to move the ball up and down but i wanted to add Declaration so when i drop the ball from height it jumps then strike the ground bounce once again and slowly slowly its speed…
UchihaSasuke
  • 363
  • 2
  • 23
0
votes
1 answer

From ODE45 take Angular acceleration MATLAB

I'm solving the eqaution motion and I need numerical integration, so I decided to use ode45 in Matlab. I found the displacement and the velocity, now I need to find the Angular acceleration and make plot with time. There's my code and…
MrPitivier
  • 71
  • 9
0
votes
0 answers

Acceleration compensation on rotation vector using android device

I'm triying to get the inclination of an android device mounted on a moving vehicle using TYPE_ROTATION_VECTOR with sensor manager. It works fine until the vehicle accelerates or decelerates suddenly, moment in which it becomes a bit crazy and gives…
0
votes
0 answers

Calculation new velocities between objects (AABB)

lately I have been trying to create a 2D platformer engine in C++ with Direct2D. The problem I am currently having is getting objects that are resting against each other to interact correctly after accelerations like gravity have been applied to…
Tiedye
  • 544
  • 1
  • 4
  • 7
0
votes
0 answers

Performance of Euler - Van Wijngaarden and sumalt transformations in conjunction with binary splitting

Given an acceleration structure like binary splitting, how well do acceleration transformations like Euler-Wijngaarden or sumalt perform when used side-by-side with it? https://en.wikipedia.org/wiki/Van_Wijngaarden_transformation The sumalt…
user2464424
  • 1,536
  • 1
  • 14
  • 28
0
votes
1 answer

How to calculate acceleration needed based on existing acceleration/velocity rules

I have 3 values that determine an object's movement: velocity, acceleration, and maxVelocity. I also have a distance value that determines how close they are to their target (basically an X). This code runs each frame to determine actual movement…
Montblanka
  • 3
  • 1
  • 3
0
votes
1 answer

Catch acceleration event on screen

I have a menu that like a roulette, it's spinning like a whell. To catch the events i'm using touch began/move. How can i add it an acceleration ? I want to register to an acceleration event, when user touch an item and slide??
vadim
  • 119
  • 3
  • 14
0
votes
2 answers

increase speed/velocity, cocos2D

I'm following this tutorial: http://www.raywenderlich.com/475/how-to-create-a-simple-breakout-game-with-box2d-and-cocos2d-tutorial-part-12 but at the last part, it shows how we can reduce speed by applying damping on a body if (speed >…
The Windwaker
  • 1,054
  • 12
  • 24
0
votes
3 answers

Javafx 2d text rendering speed up

I am a little surprised that JavaFX do consume my CPU by showing simple floating text on a screen. My question is there any option tweaks to turn on hardware acceleration for nodes like Text? To Use GPU and not CPU when rendering 2D…
Mykola Golubyev
  • 57,943
  • 15
  • 89
  • 102
0
votes
1 answer

How to calculate average velocity for different acceleration?

I want to calculate average speed of the distance traveled using gps signals. Is this formula calculates correct avg speed? avgspeed = totalspeed/count where count is the no.of gps signals. If it is wrong,please any one tell me the correct formula.
Aswin
  • 1,154
  • 1
  • 11
  • 29
0
votes
2 answers

Accelerometer under constant acceleration and at rest

I am doing a project where I am using accelerometer to perform location tracking task. How do I differentiate between a state if object is under constant acceleration or is at rest? In both cases it will return a g, and as I understand, I will have…
1 2 3
11
12