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

How to simulate Mouse Acceleration?

I've written iPhone - Mac, Client - Server app that allows to use mouse via touchpad. Now on every packet sent I move cursor by pecific amount of pixels (now 10px). It isn't accurate. When i change sensitivity to 1px it's to slow. I am wondering how…
yershuachu
  • 778
  • 8
  • 19
2
votes
1 answer

Calculate orientation by acceleration

Currently, I am trying to combine accelerometer and gyroscope on android phone to calculate the orientation (how much angle each axis rotates) of the phone. I know that acceleration cannot simply calculate the exact orientation of the phone but it…
LuciferTian2010
  • 403
  • 1
  • 7
  • 17
2
votes
1 answer

How do I build an accelerating scroll affect using javascript?

I am new to javascript, which so many of you know, and I am finding that the actual application of all the things I learned evades me. If you just give me the code, that probably won't help me; I need a break down of how and why things work as far…
Marlon
  • 597
  • 2
  • 8
  • 17
2
votes
1 answer

Device Motion in accelerated environment

I wrote an app which displays pitch and roll attitude (a glass cockpit app). When I rotate or tilt the iPhone/iPad the attitude is displayed accurately. When I'm flying in an airplane and rotate or tilt the device it also displays accurately. …
codiac
  • 71
  • 8
2
votes
1 answer

Force zero normal acceleration at start/end of Bezier curve

Below I have attached a Python script that calculates a 5-point Bezier curve and calculates the normal acceleration of that curve. The result looks as follows: We see on the right-hand side that the normal acceleration at the start and end of curve…
Thomas Wagenaar
  • 6,489
  • 5
  • 30
  • 73
2
votes
0 answers

strange behavior of tensorflow decorator @tf.function

Can somebody explain the behavior of this code: class Count: def __init__(self): self.count=0 def increment(self): self.count+=1 tf.print(self.count) class SurCount: def __init__(self,count): …
2
votes
1 answer

how can i get velocity with UIAcceleration?

Do you know the app "motion ruler"? It can be used to get the length of an object by moving an iPhone. How can I get the velocity from UIAcceleration when moving an iPhone?
justin
  • 175
  • 2
  • 14
2
votes
2 answers

A function to calculate velocity in pandas dataframe

I was wondering if there was some function/library that can calculate velocity in a pandas dataframe. I have the following dataframe: Time bar_head_x bar_head_y bar_head_z 0.00 -203.3502 1554.3486 1102.8210 0.01 -203.4280 1554.3492 …
Oam
  • 305
  • 5
  • 13
2
votes
2 answers

Character Movement, Acceleration C# Unity

Hi everyone Newbie here. Top-down Zelda style game. I'm trying to figure out how to make my player build speed to max speed then reduce speed to stoping. I already have movement with GetRawAxis but my char moves at max speed the moment I press move…
Tas7e
  • 25
  • 1
  • 1
  • 4
2
votes
2 answers

canvas context property to PREVENT hardware accelerated rendering?

Is there a setting for the canvas context that will prevent its renderer from using hardware acceleration? I want to render without it, but don't want to ask the user to disable it from their chrome browser since that is counter-intuitive and…
user3591153
  • 409
  • 4
  • 14
2
votes
2 answers

Apply function to each element in 3 lists of tuples to get 1 resultant list python3

I am trying to calculate a resultant acceleration from x, y, z accelerations. I have written a function that does this when manually inputting the x,y,z coordinates. def Euclidean_norm(x,y,z): total = (x ** 2) + (y ** 2) + (z ** 2) resultant…
2
votes
3 answers

How do you gradually accelerate an object based on button press (Ogre3D)?

I currently have an object that I want to gradually accelerate. The longer you hold down on a certain key, the faster it goes. I managed to get it to work fine for one key (when it moves right) however, it does not seem to work for the other…
Stuart Den
  • 51
  • 7
2
votes
0 answers

Stabilization - Reducing position error with maximum acceleration, maximum deceleration, and maximum velocity

There is a problem I am struggling with, and I need some help. I will try to explain it thoroughly. I am working on a simulation of a tank. The tank is composed this way: I have the chassis. On the chassis is the turret, which can rotate only in…
2
votes
1 answer

Add optional hardware acceleration to RenderTargetBitmap

Is there an alternative to RenderTargetBitmap that can produce an image to be used with Image.Source & is hardware accelerated in .NET 3.5 sp1? Answers for .NET 4.0 are fine but I may not be able to use them. People should vote for this if they find…
zezba9000
  • 3,247
  • 1
  • 29
  • 51
2
votes
1 answer

Retrieve k-nearest spheres within a limited range

I would like to know if I am missing any acceleration structure that is designed for retrieving k-nearest spheres within a range. The context of my question is molecular visualization, specifically, I need to retrieve k-nearest spheres to a point to…
1 2
3
11 12