Questions tagged [motion]

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

584 questions
0
votes
1 answer

How to animate specific frames of a motion sequence in Matlab?

I have a motion sequence of N frames and i have the code to animate it(not my code).I can animate all the frames or a range, or a range with K step from start to the end. the result is showing the movement without caching any frame and stopping at…
pap-00
  • 45
  • 3
  • 13
0
votes
0 answers

Testflight and RubyMotion

I'm working with RubyMotion and now integrated Testflight, but it seems the checkpoints doesn't work. I guess I did something wrong, but I'm not sure how to fix it. This is my Ruby code inside one of my files: TestFlight.passCheckpoint("Synced all…
Stefan
  • 434
  • 1
  • 5
  • 10
0
votes
1 answer

How to find the delta theta having two frames each having two points?

I'm working in c++, I'm using visual studio as the IDE, and I'm working with leap Leap Motion SDK So, I'm currently working on a program that rotates a circle. The method for manipulating the rotation is applied by using two fingers that display…
CodeDoctorJL
  • 1,216
  • 4
  • 16
  • 29
0
votes
2 answers

Projectile motion of a cannon ball with air drag and air density not correct plot?

I am trying to write a matlab code to model the projectile motion of a cannon shell including the effects of air drag and air density that changes with respect to temperature, however the code I have so far only computes a straight line for the…
Mel Carlin
  • 1
  • 1
  • 1
0
votes
0 answers

First person movement tracking using simple camera

The situation: I need to be able to track a hovering drone's translation (not height) and rotation over the ground using a downwards facing camera. I wouldn't know where to start looking. Can anyone with experience point me to some theory or…
Michiel Ariens
  • 288
  • 4
  • 12
0
votes
1 answer

DeviceMotion on Android Chrome

Is there some kind of prefix for the JavaScript DeviceMotionEvent in the Chrome browser for Android? Firefox Mobile supports it, but Chrome doesn't (tested on Xperia S and Nexus 4). Here's the code i use: if (window.DeviceMotionEvent) { …
0
votes
1 answer

Motion gives digital zoomed image on raspberry pi

I've installed program "motion" on Raspbian OS in my Raspberry Pi to work with camera The only thing that I couldn't understand is why it gives maximum zoomed image from my Creative PD1110 webcam. In motion.conf config file nothing about that…
57ar7up
  • 403
  • 8
  • 16
0
votes
1 answer

Making moving motion with labels using threads in java

I'm having a problem I'm making a pool game and I need the ballos to react when I simulate a hit, the program works like this, you click the direction and power to hit the ball and the click go, the go button is in the GUI class where my labels are…
Santiago VdeK
  • 72
  • 2
  • 13
0
votes
1 answer

Android Multitouch Strange Behavior

After a lot of tinkering, I think I've finally come up with a good multitouch handling system for my android game. It makes use of Robert Greene's Input Pipeline, modified for use with multitouch. Right now, the code has a simple system that records…
0
votes
1 answer

Android detect turn from phone

I want to detect, if my smartphone user turn left or right or doing a turn around. Here an example to explain "turn right": The User faces a crossroad. Now I want to detect if my user takes the right path or the left path or goes straight…
JavaNullPointer
  • 1,199
  • 5
  • 21
  • 43
0
votes
1 answer

Simple libs for trajectory motion in Flex Builder (mxml, actionscript)

I need a simple rainbow trajectory motion in Flex builder. We have 2 points [(x1, y1); (x2, y2)], we need to animate object from one to another over some simple rainbow trajectory like in this picture in 10 seconds (source: narod.ru) What libs…
Rella
  • 65,003
  • 109
  • 363
  • 636
0
votes
1 answer

How to use "Motion" in Flashpunk?

I know this is very outdated. But I want know how to use flashpunk Motion class (Motion, linearMotion, CircularMotion, etc.) and how apply it to entity. I have searched anywhere, but it seems noone write about it. Thank you.
hamdirizal
  • 221
  • 1
  • 8
0
votes
1 answer

Moving image with the cursor

So, I'm working on a processing project that lets me use an image as a cursor but I've been having problems with the cursor image because it has been constantly blinking. I read that if the cursor image is too big it has a tendency to constantly…
user2337815
  • 59
  • 3
  • 7
0
votes
1 answer

Continuous motion using fling with libgdx for Android

I am pretty new to libgdx, and I'm trying to use gestures to move a ball across the screen when a flinging motion is made on the screen. I've made this gesture listener: class MyGestureListener implements GestureListener { public boolean…
Ben
  • 17
  • 4
0
votes
1 answer

Touch Listeners for overlapping Views

I was wondering if it is possible to have Views sitting on top of each other and separate listeners for them. Specifically, I have two views that are exactly sitting on top of each other and are the exact same dimensions, and I'm trying to implement…
jdods
  • 323
  • 7
  • 18