Questions tagged [motion]

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

584 questions
-1
votes
1 answer

Variables required for a Two Body Motion

I'm trying to program a Two Body Problem in SDL 1.2 So in that program I would have two bodies right, my question is what data would I need for each Body? The program is just the two bodies rotating around in a certain orbit. I would create a class…
-1
votes
1 answer

Android : Which sensor is perfect for sensing motion in a device?

I have an App which senses motion of a Device and raise alarm if device is moved. Currently i'm using Accelerometer. But i couldn't fine tune it. Even a small movement causes the alarm to raise. So my question is which Sensor will suit most for the…
Dreamer
  • 481
  • 1
  • 5
  • 16
-1
votes
2 answers

Continuous plot of ODE function

I have a ODE solver works nice and smooth, but I need to plot all in one figure. Connect figure (1)+(3) and Figure (2)+(4), I have to set start and stop conditions, but it not work for me, I´m at a dead end. I´m trying set the end conditions by x_m…
user2401142
  • 9
  • 1
  • 4
-1
votes
1 answer

*Ignore* How to perform a operation when the device is held verticaly?

I'd like to ask how do you check if the device is held verticaly, when the app is running in the background? I want to make a little tool, but i'm new to android, i've got all the programms needed to programm in Java (Android) but i'd like to learn…
tim687
  • 2,256
  • 2
  • 17
  • 28
-2
votes
1 answer

how do i convert 2D image to 3D image like PopPic 3d app in swift 5

I want this kind of functionality in my app. this app converts captured image to. 3d image. and also have functionality to convert. 3d to video. please let me know how do i achieve this in my swift app.
-2
votes
1 answer

I am unable to download cv2, for whatever reason it does not work

from collections import deque from imutils.video import VideoStream import numpy as np import argparse import cv2 import imutils import time ap = argparse.ArgumentParser() ap.add_argument("-v", "--video", …
krivinus
  • 17
  • 1
-2
votes
1 answer

Effective motion detection with OpenCV with stream received from IP Camera

I have two questions which I was struggling finding answers on the net for more than a week. I'm writing a Windows service on Visual C++ 2017 which connects to Axis IP Cameras on our network and queries MJPEG streams using regular sockets. It…
-2
votes
1 answer

Solving a SHM (Simple Harmonic Motion) with given velocities at specific time

SHM - Simple Harmonic Motion A simple harmonic oscillator has a frequency of 6.2 Hz. It is oscillating along x, where x(t) = Acos(wt + d). You are given the velocity at two moments: v(t=0) = 1.9 cm/s and v(t=.1) = -19.4 cm/s. Calculate A and d.…
-2
votes
1 answer

iOS make object come back up after moving down

I have an object that falls from the top of the screen however i want it to come back up after the bottom of the object reaches the bottom of the screen. This is my code at the moment. I tried adding another image view to trigger the up motion by…
-2
votes
1 answer

slowMotion in iphone game based in opengl es

I want to implement slow motion in a game, based on opengl. What I mean is when ball is about to touch the cylinder then it should be displayed in slow motion. I am using opengl es first time. So please help me. Thank You in advance.
iPhoneBuddy
  • 49
  • 10
-3
votes
1 answer

Motion detection in iphone/android without using GPS or internet

I am trying to detect motion of iphone/android without using internet or without using gps. Firstly i am not sure as to whether this is possible and if yes how to go about it. Thanks.
user445461
  • 11
  • 2
-3
votes
1 answer

sdl motion in 45 degrees

i'm trying to cause my object to move diagonally in 45deg. When it hits SCREEN WIDTH it should bounce up, im making somewhere a big mistake but can't figure it out. distance = 0; etiSpeed = 1; t2 = SDL_GetTicks(); delta = (t2 - t1) * 0.001; t1 =…
pkk
  • 1
  • 5
-4
votes
1 answer

Android motion sensor

I want to capture the event when user put device in the ear(Ex. To hear phone call) and also when user remove device from the ear. Basically i want to capture start time in ear. end time in ear. Please help.
Ashish
  • 255
  • 1
  • 3
  • 8
-4
votes
2 answers

Unity 3D leap motion

I am currently working on a project and trying to get swipe gesture working. Current output is several instances of swipe gestures from just a swipe. How can i get one instance? Thanks
Elololex
  • 41
  • 5
1 2 3
38
39