Questions tagged [motion]

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

584 questions
0
votes
1 answer

How to make a reaction when a user shake's the iPhone?

I'm creating an app where when the user shake's the iPhone an animation plays, I'm using this code: - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event { if (event.subtype == UIEventSubtypeMotionShake) { animation... } The…
user1483652
  • 799
  • 1
  • 9
  • 16
0
votes
1 answer

Cannot catch signal_motion_notify_event in gtkmm

I used following code to catch motion notify events on a Gtk::TreeView. // This is the Gtk::Builder from which i read my tree view. builder_ptr->get_widget("treeview", m_treeview_ptr); // Connecting that…
Philipp H.
  • 1,513
  • 3
  • 17
  • 31
0
votes
2 answers

how to activate motion shake after the user has pressed a button?

Possible Duplicate: How do i put a void(shake gesture) inside a IBAction(button)? Hello I am creating a app, and I need help. I have asked this question 2 times before but I am not getting the right answer, it either docent work or the person…
Stevenp
  • 3
  • 3
0
votes
3 answers

How to put a void code in a IBAction?

Possible Duplicate: How do i put a void(shake gesture) inside a IBAction(button)? I am a beginner at creating apps and I am currently working on a project with a animation. So far i have a button and when the user press's the button a animation…
Stevenp
  • 3
  • 3
0
votes
1 answer

How do i put a void(shake gesture) inside a IBAction(button)?

I am creating an app and I have bumped into a problem. My app has a play button, once the user presses it a animation plays and finishes. I have created the above in code which I will display below, but I need some help. When the player press's…
Stevenp
  • 3
  • 3
0
votes
1 answer

How to make a Menu that Starts static and then scrolls with you?

How would a create a menu that starts off static but then starts to scroll with you when you reach a certain point in a page? EXAMPLES: http://techcrunch.com/ http://www.beyonceonline.com
Razor
  • 73
  • 1
  • 7
0
votes
2 answers

unity3d model rises on play

(I know I have a bad choosing-answer record, but I will definitely select a good answer from now on.) Unity3d problem: My terrain and car both have rigid bodies that use gravity. When I push play it looks like the scenery/island falls away or…
user963070
  • 629
  • 2
  • 19
  • 24
0
votes
1 answer

Raphael.js -- the script seems light, but the execution is heavy -- why?

I am using Raphael 2.01, Firefox 12.0, on Windows XP. I've tried continuous object motion (not tween animation). I think the load by my script is light, but the sound of the PC's cooling fan will be loud! I want to know the reason and…
Crane
  • 39
  • 1
  • 6
0
votes
0 answers

Access output of motion sensors of connected iPhone from Mac OS

I am writing an iPhone app which uses motion sensors and for comfortable programming and testing I would like to access output of these sensors in connected iPhone from my MacBook on which I am programming. So that I can move my iPhone and visualize…
BartoNaz
  • 2,743
  • 2
  • 26
  • 42
0
votes
1 answer

Conflicting informations about Kinect

I wanted to start making an application using motion controls (using depth sensors) but I don't know where to start. I was looking for a current comparison of available hardware and software options. Such as Asus Xiton, the Kinect SDK, and…
user1317422
  • 257
  • 1
  • 4
  • 14
0
votes
1 answer

Script Zaber devices on multiple serial ports

Is it possible to connect Zaber devices to more than one serial port and control them all from a single script? The script is running in Zaber Console, and should be able to coordinate motion between devices on either port.
Don Kirkby
  • 53,582
  • 27
  • 205
  • 286
0
votes
1 answer

AS3 MotionTween Name

I'm trying to get the name of a motiontween in AS3. I have many tweens that call a generic function on MOTION_FINISH. mainContent3X = new Tween(MainContent3, "x", Strong.easeOut, MainContent3.x, 1750, 1, true); I need to get the number/name to know…
Nebula
  • 679
  • 2
  • 17
  • 37
-1
votes
1 answer

What does the else statement changing the counter do?

My instructions are to track a person's motion forward and backward (every step they take). Total steps are generated from 10-85, forward and backward steps max range is between 2-20. Forward steps must always be greater than backward. So I wrote…
kora
  • 19
  • 4
-1
votes
1 answer

How can I print the number of steps forward, backward, and total?

Here's my code: import math import random while True: fwd= random.randint(2,20) bkwd= random.randint(2,fwd) total=random.randint(10,85) f= 0 b = 0 t= 0 if bkwd > fwd: break while total > 0: f = 0 …
kora
  • 19
  • 4
-1
votes
1 answer

Motion (Apple FCP animation software) change project frame size resolution height and width?

My Final Cut Pro movie is 2048x1556, 60 fps. When I import it into Motion it's cropped. It looks like Motion is set for 1080 resolution. How do I change the resolution of Motion to fit the FCP movie? According to Apple's documentation, you use the…
Thomas David Kehoe
  • 10,040
  • 14
  • 61
  • 100