Use this tag for physically moving systems. For example robots, or electronic or pneumatic actuators.
Questions tagged [motion]
584 questions
1
vote
3 answers
Moving objects getting stuck in a corner
I am working on a program which simulates objects moving in a field. The field has a boundary of 1024x1024. The object cannot go below 0 in terms of x,y coordinate and it cannot go above 1024. I have a method for each object called "move()" which…

Seephor
- 1,692
- 3
- 28
- 50
1
vote
1 answer
Ease of Motion, Programming Tweening, c++
Tweening is a video editing term used to describe ease of motion. For example, with an elevator the lift does not go full speed and dead stop when it reaches it's desired floor. It knows what floor its on, what floor it is going to, and how long it…

CTOverton
- 616
- 2
- 9
- 20
1
vote
0 answers
swipe across button without finger leaving the screen
I am making this phone dialer app for blind people that say the number that gets pressed and I want them to be able to swipe across the all buttons without their finger leaving the screen. When they swipe the number it only get pronounced and when…

pola alper
- 194
- 1
- 10
1
vote
2 answers
Ease of Motion Function (Ease to number) C++
I want to make something move with smooth motion. Think about an elevator, it doesn't go full speed and dead stop when it reaches the desired floor. It goes as fast as it can and incrementally slows down until it reaches the desired floor.
I need a…

CTOverton
- 616
- 2
- 9
- 20
1
vote
0 answers
Configuring Motion to run as daemon in Raspberry and right (?) issues
I'm able to tun my motion detection in my Raspberry 2:
In /etc/default/motion
I changed start_motion_daemon=no to start_motion_daemon=yes
Next I enabled motion by entering the following at the command line:
sudo systemctl enable motion
Finally…

hannes ach
- 16,247
- 7
- 61
- 84
1
vote
1 answer
How to use motion and nginx together?
I have a motion server on one of my pis that I can connect to locally. On the same pi, I have an nginx server that I can connect to by going to my custom domain over wifi.
Is there any way to embed the webcam stream in the nginx server without…

user3308335
- 59
- 1
- 6
1
vote
2 answers
CMDeviceMotion data access
I have a problem with access to CMDeviceMotion data. I have everything what is needed included, but my startDeviceMotionUpdates function seems to be passed over (I think that something's wrong with handler). Here is my code:
let manager =…

Adrian Krzyżowski
- 167
- 8
1
vote
1 answer
More Efficient way to zoom background image
My current code for enlarging the background-image is as follows.
.portfolioItem {
width: 25vw;
height: 25vw;
background-size: 100% 100%;
background-position: center;
overflow: hidden;
position: relative;
transition:…

user3507817
- 29
- 1
1
vote
0 answers
How to bring alert message if iPod have not moved for 60min?
My task is to bring an alert message if the device has not been moved for 60 minutes.. Not even single tilt
Example:
i) To Bring Alert Message:
Let us consider iPod has been placed on table for 60 min.. it was not moved at all.. At end of…

Nithya
- 1,029
- 2
- 14
- 27
1
vote
1 answer
Storing motion vectors from calculated optical flow in a practical way which enables reconstruction of subsequent frames from initial keyframes
I am trying to store the motion detected from optical flow for frames in a video sequence and then use these stored motion vectors in order to predict the already known frames using just the first frame as a reference. I am currently using two…

mrrussel
- 21
- 4
1
vote
1 answer
motion-mmalcam blue and black pictures
I have followed this post on how to setup the motion-mmal for the raspberry pi 3. But when I tried to stream it what I only get are blue and black pixels. Blue when an object moves and black when stationary.
output

Vaughn Pajo Dalde
- 31
- 2
1
vote
1 answer
How to convert quaternion to angle?
Is there a formula to convert a quaternion to an angle?
Looking to do something on the iPhone using the Core Motion API and the gyro so that based on data I receive from it (in the form of quaternions) I can project a UIView on the screen.
Thanks

wgpubs
- 8,131
- 15
- 62
- 109
1
vote
2 answers
VIM: motion without jk and HardMode installed
I am enjoying hardmode and have definitely seen improvement. However the one item I am dealing with is selecting, moving, copying only two lines at the time. Current line +1 or -1.
Before hardmode the way I would select three lines of code in visual…

Helmut Granda
- 4,565
- 7
- 35
- 51
1
vote
1 answer
Pedometer is not working in iPhone 5
The step counting using pedometer is not working in iPhone 5.
It working well in iPhone 5S and higher devices. Does the iPhone 5 has M7 coprocessor?

Neenu
- 6,848
- 2
- 28
- 54
1
vote
1 answer
Arduino - detecting motion/movement?
I need to detect in which direction the item is moving. I want to know if the item is moving up or down.
Is this possible with this platform and by using a specific shield?
I had in my mind the ultrasonic sensor, with which I would measure how far…

Adrian
- 1,499
- 3
- 19
- 26