# Angular tilt from a x/y angles

1. Jul 14, 2011

### Siksissk

Hi,

I have to measure a object as it goes up a incline.

I have both X and Y angles, which is fine if the object travells perfectly up or down a incline.

What I cannot figure out, is if the object travells (for lack of a better term) diagonally up a incline, how to figure out its total angle.
Also the incline angle is unknown.

Unsure how best to describe the issue.

Any help would be great.

Regards

2. Jul 14, 2011

### RK1992

im not really clear on what you mean?

[PLAIN]http://img193.imageshack.us/img193/8507/wedgef.jpg [Broken]

you mean moving from one red point to another? could you tell us all the information you know? i expect you can do this question either with geometry or energy

Last edited by a moderator: May 5, 2017
3. Jul 15, 2011

### Siksissk

Yes, moving from one red point to the other.

All the info I have, is a x & y angle, what I need to know is how to combine them properly to achieve a total angle. Or rather the formula, so I can hard code this into some code to work for all inclines.

4. Jul 15, 2011

### rcgldr

The wording of this problem is a bit akward.

angle from x axis implies a cone with it's point at the origin and centered about the x axis, and angle from y axis implies a cone with it's point at the origin and centered about the y axis. However, I doubt this is the situation you're trying to describe.

It's more likely that angle from x axis means a plane perpendicular to the x-y plane, and that angle from y axis means a plane perpendicular to the y-z plane. In this case the intersection of the two planes is a line. I assume the goal is to determine the angle between the x-y plane and the line and/or to determine the equation for the line in x-y-z space. Since this is probably a homework problem, you'll need to show some work on this.

Last edited: Jul 15, 2011
5. Jul 15, 2011

### Siksissk

I wish it were a homework problem!

I will try and explain as best I can.

Unfortuantly for this bit of physics, I am a Electronics Engineer, and thus maths involving angles ect has me confused, as I have never needed to look into it.

I have a object, that will be travelling up and down slopes, but more than often it will be following a route in the picture posted above.
I am measuring the x/y angles using a accelormeter and converting the G reading into a tilt angle. (x/y, pitch and roll, cant and grad ect)

I have my current calculations accurate to +/- .5 degrees.

Now, I understand that the math falls into four quadrants. But thats about as far as I am currently.

What I am now stuck on, is how to find the refrence (the angle of the object with respect to the peak, or lowest point of the incline) and how to work out the angle of the object using the pitch and roll angles.

Apoligies for the bad explination above, it made sence to me, but thats because im sat next to the hardware! :)

Regards.

6. Jul 15, 2011

### RK1992

would you care to mark on the angles/lengths you know on a diagram? im really not able to follow a description that well.