Questions tagged [motion]

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

584 questions
0
votes
0 answers

v4l2 -> QByteArray(?) -> QWebsocket -> internet -> {PC, Android, web}

as you can assume from the tile, I would like to broadcast a webcam stream to different clients. I know that there are many solutions (as motion), but I have already a working infrastructure based on a Qt server software and a websocket as…
0
votes
0 answers

Creating a motion map in R

I'd like to know if it's possible to make a motion map in R. I've done some research on the internet but couldn't find an example where this has already been done. My ultimate goal is to have something with a play button, like this: motion bubble…
wbaeckelmans
  • 347
  • 3
  • 12
0
votes
3 answers

How to get really smooth moving objects using openGL

I'm working on an application where I draw a circular progress indicator which slowly gets "filled", here you can see a couple of images. I'm using intermediate mode and I'm only drawing this circular shape by drawing the vertices at each frame…
pollux
  • 779
  • 2
  • 14
  • 30
0
votes
0 answers

how to improve OpenCL kernel reading __global char* data efficiently?

motion compensation between two images(3840*2160), block size 16 kernel divide 3840 * 135(135=2160/16), group size 64*1 or 128*1 (basically no difference) Now my kernel do access global char data, but imagepos = src + mv.xy is not aligned, so must…
XinLiang
  • 1
  • 2
0
votes
0 answers

how to do something when the double touch on screen in android?

how to do something when the double touch on screen in android? i have Use SensorEventListener , SensorManager.SENSOR_STATUS_* or use MostionEvent?
0
votes
1 answer

How do I stop a Flash CS4 Motion Tween?

I've started using Motion Tweening in CS4 and I am puzzled by something with how the durations are set. The best way I can describe this is by comparing it to what are now called Classic Tweens… In a Classic Tween, I set the beginning and end…
Eric
  • 2,061
  • 8
  • 28
  • 37
0
votes
1 answer

Slowing the Move of an Object in a For Loop Java

I am currently working on a project that moves a circle from a space to space when button is pressed. I designed as following: When the button is pressed, it increments the coordinates of circle, in a for loop from 0 to 10. The problem is, the…
Kutay Demireren
  • 640
  • 1
  • 10
  • 25
0
votes
2 answers

2D projectile movement from coordinate pair

So I am trying to move a projectile in the direction that is indicated by the mouse position on the screen. I already have converted the mouse coordinates into in-game coordinates however I can't figure out how to correctly move the projectile into…
Cyphereion
  • 71
  • 11
0
votes
1 answer

OpenGL/Glut: glutTimerFunc seems not to start

I would like to use glutTimerFunc to move the camera around the scene which is composed of some mesh models. The camera path is build with a Bezier curve like the following: if(sel == MODE_CAMERA_MOTION) { mode = MODE_CAMERA_MOTION; …
SagittariusA
  • 5,289
  • 15
  • 73
  • 127
0
votes
2 answers

Does Motion 3.2.12 support RTSP MJPEG

I hav a Zavio P6210 IP camera (http://www.zavio.com/product.php?id=85) which supports RTSP. My settings on the camera are : (profile1) encoding : MJPEG resolution : 640 x 1180 Maximum fps : 30 quality : standard Authentication is disabled on my…
kvthie0
  • 1
  • 1
  • 4
0
votes
1 answer

Java/Slick2D Movement woes (Adding motion instead of setting it?)

I recently moved from Gamemaker: Studio to Java and Slick2D. I'm not sure how to describe my problem, but I'll do my best. In Gamemaker, there was a feature called motion_add which would add motion to an object with the given parameters (speed and…
Nisse
  • 47
  • 1
  • 7
0
votes
1 answer

Opencv Optical flow tracking: stop condition

I'm currently trying to implement a face tracking by using optical flow with opencv. To achieve this, I detect faces with the openCV face detector, I determine features to track on the detected areas by calling goodFeaturesToTrack and I operate…
Simon Ninon
  • 2,371
  • 26
  • 43
0
votes
0 answers

Javascript/jQuery: detect motion and direction

I want to do some tricky thing for a project: I have a Website which should react on how the smartphone is moved. When the Smartphone is dragged forward and backword it should scroll up and down - same with left/right (the smartphone is on a flat…
0
votes
0 answers

android detect drag only inside image

A finger drag in a vertical motion (up/down) should only be detected inside the image of the imageview, not outside. However, in the area above the image it detects the drag. No where else is a drag detected, nor on the left, right or the bottom but…
Kaal
  • 111
  • 1
  • 10
0
votes
0 answers

how to get rect bounds of imageview

I have scaled the image to fit the imageview, so now I want to get the rect of imageview so that I can make 1 count for every finger drag made only inside the imageview and not outside. What I have done can be seen below but it is not working…
Kaal
  • 111
  • 1
  • 10