Questions tagged [motion]

Use this tag for physically moving systems. For example robots, or electronic or pneumatic actuators.

584 questions
2
votes
0 answers

iOS7 Keyboard and Pop-ups flying in bug

The keyboard and pop-ups on my iPad app fly-in oddly, however if I 'reduce motion' in the accessibility settings it stops. I've recorded the issue here: http://www.youtube.com/watch?v=1gWrQiDySZw You're help would be invaluable as it's currently…
2
votes
1 answer

Bash script to email all JPG files within a specific folder

I am using the software Motion on my Raspberry Pi (Ubuntu) to connect to my network security camera. When this camera detects movement, it dumps JPGs every second into a /tmp/camera folder on this Ubuntu machine. Motion allows you to run a custom…
Jay
  • 443
  • 8
  • 23
2
votes
2 answers

Eclipse and Android SDK stopped working

I have been programming using eclipse and the Android SDK for a while now, and they stopped working suddenly today. What happens is whenever I try to open them, either from the start menu or folder, the splash/loading screen comes onto the screen…
2
votes
1 answer

2D motion estimation using Python, OpenCV & Kalman filtering

I have a set of images, and would like to recursively predict where a bunch of pixels will be in the next image. I am using Python, OpenCV, and believe Kalman filtering may be the way forward, but am struggling on the implementation. For simplicity,…
user1282437
  • 39
  • 1
  • 3
2
votes
1 answer

getting wrong values for time and height for projectile motion

I'm writing a program in C that finds the time of flight and height at impact of a projectile and my program is compiling, but it's coming out with the wrong values for the solutions. Any idea what I might be doing wrong? /* *Finds final time and…
2
votes
3 answers

Projectile Motion of an Object

My object is currently only going in a straight line at the set angle using the following code: this.time = this.time + deltaTime; // Vertical : Speed * Sine * Angle double vy = (this.speed * Math.sin(this.angle)) + this.ax*this.time ; …
ComputerLocus
  • 3,448
  • 10
  • 47
  • 96
2
votes
2 answers

motionEnded getting called multiple times

I have a UIViewController subclass that I am trying to have handle the shake event when its view is up. Here are the relevant methods I've implemented: - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; [self…
Matt Baker
  • 3,394
  • 3
  • 25
  • 35
2
votes
0 answers

How to create a class to apply motion-related effect to a view?

Relative newcomer here, sorry for sort of newbie question. I've tried searching for the answers. I've coded up a way to apply a visual animation effect to a UIImageView on a view controller, based on the angle at which the user is holding the…
andrewmobile
  • 188
  • 1
  • 8
2
votes
2 answers

MotionEvent.Action_up called to early

I am having an issue with MotionEvent.ACTION_UP The event is called before I lift my finger. Here is the code I am using. What should I change? Thanks for any help! public boolean onTouchEvent(MotionEvent e) { switch(e.getAction()) { case…
linuxer
  • 523
  • 2
  • 4
  • 22
2
votes
2 answers

Comparing two images for motion detecting purposes

I've started differentiating two images by counting the number of different pixels using a simple algorithm: private int returnCountOfDifferentPixels(String pic1, String pic2) { Bitmap i1 = loadBitmap(pic1); Bitmap i2 =…
Emil Anca
  • 153
  • 1
  • 10
1
vote
1 answer

Motion Capture with OpenGL on Atom Board

I am looking to make an arm where each joint can be controlled given an input. For example, I would receive a location each millisecond and I would need each joint to move to that new location. This is going to be used to simulate motion capture.…
slimbo
  • 2,699
  • 4
  • 25
  • 36
1
vote
3 answers

Block based Motion Estimation in Video Compression

As we know almosty all video encoders use some temporal coding. It uses block (Rectangular area) based motion estimation to find best macth of a block of pixels for a current frame in reference / previous frames. This gives the motion vector. This…
goldenmean
  • 18,376
  • 54
  • 154
  • 211
1
vote
0 answers

Should two separate COM devices be placed into the same thread?

I'm looking to control a motion controller with a joystick. Should I place the Joystick in the same thread as the motion controller or place it in its own thread? Currently I have a UI that send requests to a thread containing the motion…
1
vote
0 answers

Where can I get instructions on creating this impression of motion on the web?

IMO It has the appearance of a Hover effect. I'm sorry I haven't figured it out; could you assist me in finding the answer using this gif?
Bijutoha
  • 111
  • 4
1
vote
1 answer

Motion animation which is scalable?

is it true: a motion animation always based on a Canvas element – the Element which move is addressed via attached Property? Unfortunately it’s not possible to resize a Canvas-Element at Runtime!? So the Motion gets wrong when the user maximize the…
frank_funk
  • 183
  • 2
  • 3
  • 11