Use this tag for physically moving systems. For example robots, or electronic or pneumatic actuators.
Questions tagged [motion]
584 questions
3
votes
1 answer
Motion disable AVI Videos
My motion (running on raspberry) is storing .avi files.
output_pictures off is set, so i don't know why motion does this.
Anyone a idea how I can disable this?

Max
- 33
- 3
3
votes
1 answer
Multiplayer browser game: linear interpolation causing jittering and jumping
I'm developing a browser multiplayer game, in which each client interpolates (linear) the frames of entities sent by the server. It doesn't look too bad at a high framerate (> 30fps), but starts to jitter at lower framerates (< 30fps) and freezes…

Luke
- 2,038
- 3
- 22
- 46
3
votes
2 answers
Different programming styles for motion PLC
For a motionPLC project written in ST, I use a lot of stepper structured functions like this:
stepNum := 1;
CASE stepNum OF
1: (* Move axis to upper positon *)
axis.in.position := 0;
axis.start := true;
IF(axis.out.position = 0) THEN
…

DrDonut
- 864
- 14
- 26
3
votes
0 answers
onTouchListener motion - action up and move
I have a button that types something in edit text and I am using on touch listener to do so when I press for audio to get played when left number gets typed.
zero.setOnTouchListener(new View.OnTouchListener() {
@Override
public…

pola alper
- 194
- 1
- 10
3
votes
0 answers
SWIFT: Compass-like animation
I have configured Core Motion manager in order to access the rotation coordinates and use them to animate deviation, like in native compass application. So here is what I want to achieve:
It is this green line showing the deviation. I've tried…

Adrian Krzyżowski
- 167
- 8
3
votes
4 answers
motionEnded not being called (no view controller)
I think I've done all I should to detect a shake, but motionEnded:withEvent: never gets called. (One wrinkle is that I don't have a UIViewController - my app is based on the "OpenGL ES App" template.)
I've added…

Grumdrig
- 16,588
- 14
- 58
- 69
3
votes
0 answers
Ball speed measuring with OpenCV in Python
I need to measure the ball speed of a ping pong ball when it is shot out of a ping pong ball shoot machine.
We decided to measure its speed with video motion tracking.
With Python and OpenCV we got to the point that we could track the ball.
The…

Oxcraft
- 51
- 1
- 2
3
votes
1 answer
move objects on screen in javafx
I'm new to Javafx and I'm trying to make a game with it.
For this I need a fluid motion of some objects on the screen.
I'm not sure, which is the best way.
I started a testfile with some rectangle. I wanted the rectangle to move along a path to…

Felix
- 41
- 1
- 2
- 6
3
votes
1 answer
android detecting a drag
I've been playing around with motion event and drags (so I'm not lifting my finger off the screen - it's not a fling). The problem is that it only detects the second, third, forth and so on, drags moving down or up when my finger moves past the…

Kaal
- 111
- 1
- 10
3
votes
2 answers
Calculating an object's position, velocity and other derivatives of motion efficiently
OK, here's a programming/physics puzzle in, let's say Java (although it doesn't really matter - but for consistency, we will use Java).
I have an array of doubles where each element represents the successive derivates of an object's position.…

rghome
- 8,529
- 8
- 43
- 62
3
votes
4 answers
Detect pattern of motion on an Android device
I want to detect a specific pattern of motion on an Android mobile phone, e.g. if I do five sit-stands.
[Note: I am currently detecting the motion but the motion in all direction is the same.]
What I need is:
I need to differentiate the motion…

Wasim Ahmed
- 358
- 3
- 19
3
votes
2 answers
Android: Gesture recognition from frontal camera
I'm wondering if anyone could direct me to any useful APIs they may know that will track movement from the front camera on an Android device. Preferably, it'll be able to detect a hand for example and then track the movement from there on.
I've…

user3722194
- 203
- 1
- 6
- 13
3
votes
1 answer
Why does ACTION_OUTSIDE return 0 everytime on KitKat 4.4.2?
I have implemented a window with size 1 and want to catch ACTION_OUTSIDE event.
mWindowManager = (WindowManager) getSystemService(WINDOW_SERVICE);
WindowManager.LayoutParams mParams = new…

tniederm
- 33
- 6
3
votes
1 answer
How can I replace the old image when using drawimage and repaint
import java.awt.*;
import javax.swing.*;
import java.util.concurrent.TimeUnit;
public class testing extends JPanel{
//this is the testing game board
public static void main(String[] args)throws Exception{
pussy p=new pussy();
JFrame f=new…

user3249877
- 33
- 2
3
votes
1 answer
Video Stabilization - using estimateGlobalMotionLeastSquares opencv 2.4.7
I am a newbie about Video Stabilization field. Now I am researching about it.
I'm coding a small video stabilization demo. But I am stuck in some problems
I use the function "estimateGlobalMotionLeastSquares" in OpenCV to estimate global motion
But…

user2745692
- 89
- 1
- 9