Questions tagged [motion]

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

584 questions
1
vote
1 answer

Trying to communicate with DMC20xx through USB interface NET2888

I am trying to communicate with a galil motion controler DMC2070 through its USB interface. The USB interface of the DMC2070 is made with a NET2888 chip but it is not supported by windows 7 or 10. I currently load the winusb driver and try to…
user2019716
  • 587
  • 4
  • 13
1
vote
1 answer

Unity 2D move and rotate issue

I am working on adding a helicopter to my 2d game and I need it to move in circular motion whilst moving on the x axis as well. Below you can find the code that I am using which uses the mathematical circle equation. angle += speed * Time.deltaTime;…
1
vote
0 answers

how can I extract JPEG from MJPEG over HTTP? C#

I have a IP CAMERA which it is a Raspberry PI with Motion installed. I want to get one frame when an event is triggered using C#. The programming code in C# is as follows: string sourceURL = "http://192.168.1.12:8081"; HttpWebRequest req =…
1
vote
1 answer

Creating curvature animation in python

I am facing one problem for 2 weeks now and I still cannot figure it out even from where to start. The problem is about creating a curvature animation which is about two points chasing each other. one of them moves on a straight line on the x-axis…
1
vote
0 answers

Motion blur shader - GLSL

I'm currently trying to create some motion blur effects in glsl for a game I'm working on. To do so, I've found a very interesting article explaining a screen space technique here =>…
user10085369
1
vote
0 answers

How to improve precision of object pose estimation solvePnP with two cameras?

Currently, I am using two cameras to estimate the pose of an object (CharucoBoard). I have tried solvePnP to get the pose of the CharucoBoard using one camera. However, there is still a linear trend of the back-front translation axis. Therefore, I…
1
vote
1 answer

Adding Motion Banner into a Website using HTML, CSS and JavaScript

I'm currently working on a full-stack website, and I'm designing the front-end part using HTML, CSS, and JavaScript. I want to add a motion banner on the main page of my website (The motion banner will present the most read articles), as shown in…
1
vote
1 answer

Physics in 3D world in OPENGL with C language only

I've been trying to code a 3D game where the player shoots an arrow and I wanted to do the equations for the 3D. I know the equations for the 2D world where: x = v0 * cosθ * t y = v0 * sinθ * t - 0.5 * g * t^2 But how do I use these equations in my…
Haytham95
  • 11
  • 1
1
vote
1 answer

MPU6050 Quaternion math

Does anyone know how the MPU6050 internally calculates the quaternion values? I followed all of the steps to attempt and replicate this math by integrating the gyro degrees per second readings over time to get Euler angles and then converting those…
GNG
  • 1,341
  • 2
  • 23
  • 50
1
vote
1 answer

Pygame- Odd trail occurring even though I am updating my image. Whats going on?

Image of what is occurring Hi guys, so i'm new to pygame and I'm trying to do something fairly simple. Just move an image across the screen. I've done it before and haven't had this issue. The only change I've made is that I am now blitting 1 image…
user2852630
  • 39
  • 1
  • 8
1
vote
1 answer

Button motion animation in tkinter

I want to move a button animated. For example it starts from x=0 and y=0, after 0.1 second x=1 and y=1 ... x=50 and y=50. I tried this: import tkinter import time b=tkinter.Button(text="Example") for i in range(50): i+=1 b.place(x=i, y=i) …
Tomdzsó
  • 25
  • 3
  • 5
1
vote
0 answers

Motion Tracker is detecting entirety of screen

I'm trying to get basic motion tracking working to be later used in an raspberrypi/arduino project. I don't know very much python yet but I can wrap my head around the logic of whats going on pretty well. I've been using some examples to try and get…
Aspen
  • 143
  • 10
1
vote
1 answer

Why would onTouch() generate FATAL EXCEPTION when returning false?

I wrote a simple MotionEvent exercise in which all I do is log the parameters of the event. I do that by implementing OnTouchListener and overriding onTouch() in the main activity. For one button, I return true at the end of onTouch(). No problems…
Regex Rookie
  • 10,432
  • 15
  • 54
  • 88
1
vote
1 answer

How can I detect the movement of an rectangle in an image-stream efficiently?

I'd like to find an algorithm that can detect the movement (and movement-vector) of a rectangular area -- like scrolling a window would produce -- in an image-stream. Any ideas? :)
Richard Durr
  • 3,081
  • 3
  • 20
  • 26
1
vote
1 answer

Moving in an Arc with Webkit Transitions

Right now I'm trying to put together something really simple, learn from it, and incorporate it in a bigger project. I have a simple box I'm trying to move from one position to another using css webkit animations and the translate function (for iOS…
TJ Kirchner
  • 4,321
  • 6
  • 24
  • 26