Use this tag for physically moving systems. For example robots, or electronic or pneumatic actuators.
Questions tagged [motion]
584 questions
-1
votes
1 answer
Motion correction step for kalman filter
One way to predict the next state and covariance of a series of measurements is by using the Kalman filter. In the context of tracking the position( the x and y coordinates) of a car in time, there is an issue which I did not find discussed…

Mircea Paul Muresan
- 628
- 1
- 9
- 23
-1
votes
1 answer
Trying to set an Listener which is abstracted
I'm working right now on an little app to test arround with motion and touch events. I am facing the problem that my Listener class has to be abstracted but I cannot create an object from that listener which I would need to put it on the…

Schmidi
- 3
- 5
-1
votes
1 answer
Get motion sensor data while using camera in iOS
I want to be able to record the data from the accelerometer and GPS while also using the camera in my app. The goal is to obtain the accelerometer and GPS data at the exact instant when the photo was taken. I am able to access the sensors and have…

K Pexman
- 1
- 1
-1
votes
1 answer
what is a motion controller card (ni motion controllers ) and its difference to motor driver?
I have a 400 watt servo motor with a driver which needs some pulses to move the motor and control its speed , it can count the encoder pulses, includes electronic gears and many thing else .
is the motion controller card a replacement for the…

Hesi
- 113
- 2
- 10
-1
votes
1 answer
If i have two PIR Sensors then how to registred the GPIOvaluecChangedEvents?
I am developing IoT based applications using Raspberry PI 3. I have few doubts while developing simple IoT based prototype application:
I used single PIR sensor for detecting the motion of the object, for that I wrote the GPIOValueChagendEvent, but…

Pradeep
- 5,101
- 14
- 68
- 140
-1
votes
1 answer
Moving along a path of straight line segments at constant speed
I have a list of vector points, which define a path of straight line segments to be followed by an object. Currently, I do linear interpolation to animate motion along the path like this:
public class Demo
{
public float speed = 1;
private…

Xarbrough
- 1,393
- 13
- 23
-1
votes
2 answers
How use accelerometer in swift 3
I need help to use accelerometer with swift 3.
This is my code:
var motion = CMMotionManager()
@IBOutlet weak var statusAccel: UILabel!
override func viewDidAppear(_ animated: Bool) {
motion.startAccelerometerUpdates(to:…

MayBeMe
- 7
- 8
-1
votes
2 answers
How to control the speed of bullets?
I have made a simple 2D game, but when the hero shoots, some of the bullets move faster then others, especially the bullets that come out from the hero's corners (the shape of hero is simple box).
Here is how I wrote the shooting code (I wrote that…

مهند عبد الجليل
- 659
- 1
- 8
- 15
-1
votes
2 answers
I have a video of a man walking.I need to bring this man in middle keeping his motion intact. i.e. appears to be walking but stays at same place
Here is one frame:
It's in black and white silhouette form. (Man-White, Rest-Black). This man is walking from first frame to last frame, from right to left. I want him to always be in center, but he should appear to be moving. Such that it looks…

Anuragkush
- 25
- 6
-1
votes
2 answers
How to calculate force of air resistance in 2D projectile motion - Computational Science in C#
I am writing a program that will output a table of various stats on a 100th of a second interval of throwing a ball at a specific angle with a specific initial speed. I am having trouble calculating the air resistance. I have my Code below. Level 1…

D3sast3r
- 1
- 3
-1
votes
1 answer
Left right IR motion sensor on Arduino
I'm making this project that includes sensors. I have two sensors, one at left and right. I have succeeded detecting left and right motions, but when I just spam "sense" a sensor, let's say left sensor, it reads as i have swiped left. Can you tell…

Nico Dioso
- 195
- 2
- 15
-1
votes
1 answer
Calculate time to reach top of the trajectory of a projectile
I have below information like gravity, thrust, my initial x, y and initial velocities. How do I calculate
1. Time to reach the top of the projectile 2. Horizontal displacement during that time
"grav": 0.7,
"thrust": 10.5,
"me": {
"x": 0,
…

Manali
- 128
- 14
-1
votes
1 answer
Is it possible to have a command last only while the object is moving?
I want an object to preform a task only while it is in motion, how do I do this.

Jeff Morse
- 69
- 3
-1
votes
2 answers
Domoticz lua motion sensor
--this script will turn of the light at the second living room when there is x min no movement detected on the Motion Sensor.
--The script does run and it sometime works, like once or twice a day. but it has to work always, I can't figure out why it…

Nick de Kale
- 1
- 2
-1
votes
1 answer
Check if still android device is in acceleration in a moving car using accelerometer
I have a scenario,
I have kept my android device in the car. Can i check if the car is moving using accelerometer.

Sagar Patil
- 19
- 1