<p>What I am trying to figure out is how to get the camera pitch and roll, as described in this image <a href="https://i.sstatic.net/9ITqt.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/9ITqt.png" alt="enter image description here" /></a> (the green yaw line is where the camera sensor is pointing</p>
<p>if given a RA, DEC (of center of image,ie where camera is pointing) LAT, LONG, roll from north celestial pole, az, and TIME</p>
<p>For example:</p>
<pre><code>RA = 333.678881
DEC = 62.911565
ROLL_FROM_POLE = 92.904036
TIME = 10/26/22 16:51:05 UTC
LAT = -116.232476
LONG = 32.213847
AZ = 60
</code></pre>
<p>I feel like all the info is there to do this calculation but I'm having trouble fitting it together</p>
<p>for clarification: yaw would be directly related to azimuth and I already know azimuth so don't need that part., My intuition here says that says I know the location in the sky I'm looking (RA and DEC) as well as time/location/azimuth, I should be able to figure out what the camera/telescope orientation is.</p>

CC BY-SA 4.0
2022-11-16T16:46:47.320Z
"Roll from pole" is not a standard term, so it needs clarification.  Also need to know what you want the roll pitch and yaw relative to.  It partly seems like you just want Alt/Az coordinates and the camera rotation relative to the horizon.  Computing Alt/Az from RA/Dec is pretty standard and easy to find references for.
Greg Miller
CC BY-SA 4.0
2022-11-16T17:39:15.487Z
pitch and roll would be relative to gravity, ie if the camera was totally flat, looking straight up, pitch and roll would be 0,0. Yaw is similar to az here but, as you said that is pretty standard and I already know how to get that.
cheesemas46
CC BY-SA 4.0
2022-11-16T20:37:36.090Z
If you already know part of the solution, you should edit your question to specify, so other people don't spend their time trying to answer that part.  Alt/Az is relative to gravity, so that's the coordinate system you want for two of the variables.  Since you already know how to do that, you should probably focus your question on specifying what "roll from pole" is, and ask about converting that into Alt/Az coordinates.
Greg Miller
CC BY-SA 4.0
2022-11-16T21:10:33.593Z
my question sepcifically asked for pitch and roll not yaw, bnut I see ur point. Anyways, I'm not following what alt and az have to do what I'm asking I'm trying to find the pitch and roll of the camera given a RA and DEC (ie, I know where in the sky I'm looking since I also know the time and location). From that, I need to find the orientation of the camera ie, if I had it tilted "forward" 45 degrees relative to looking straight up, the pitch would be 45 degrees
cheesemas46
CC BY-SA 4.0
2022-11-17T14:57:08.347Z
As it stands, you're not going to get an answer.  Try exolaining what "roll from the pole" means.
stretch
CC BY-SA 4.0
2022-11-17T17:26:14.037Z
To be honest Im not suree what roll from pole means, I got that description from the python library Im using for this (https://tetra3.readthedocs.io/en/latest/api_docs.html) which returns all this information from a given image of the starts. It describes the "Roll" returned as "’Roll’: Rotation of image relative to north celestial pole."
cheesemas46
<coordinate><declination><right-ascension>
Figuring out camera pitch and roll given RA and DEC of center of image, as well as lat,long of camera and time taken
cheesemas46
# Figuring out camera pitch and roll given RA and DEC of center of image, as well as lat,long of camera and time taken

(Asked by: username_0 on 2022-11-15)

What I am trying to figure out is how to get the camera pitch and roll, as described in this image  (the green yaw line is where the camera sensor is pointing
if given a RA, DEC (of center of image,ie where camera is pointing) LAT, LONG, roll from north celestial pole, az, and TIME
For example:
RA = 333.678881
DEC = 62.911565
ROLL_FROM_POLE = 92.904036
TIME = 10/26/22 16:51:05 UTC
LAT = -116.232476
LONG = 32.213847
AZ = 60

I feel like all the info is there to do this calculation but I'm having trouble fitting it together
for clarification: yaw would be directly related to azimuth and I already know azimuth so don't need that part., My intuition here says that says I know the location in the sky I'm looking (RA and DEC) as well as time/location/azimuth, I should be able to figure out what the camera/telescope orientation is.

**Tags:** coordinate, declination, right-ascension
> **Comments:**
> **username_1**: "Roll from pole" is not a standard term, so it needs clarification.  Also need to know what you want the roll pitch and yaw relative to.  It partly seems like you just want Alt/Az coordinates and the camera rotation relative to the horizon.  Computing Alt/Az from RA/Dec is pretty standard and easy to find references for.  
> **username_0**: pitch and roll would be relative to gravity, ie if the camera was totally flat, looking straight up, pitch and roll would be 0,0. Yaw is similar to az here but, as you said that is pretty standard and I already know how to get that.  
> **username_1**: If you already know part of the solution, you should edit your question to specify, so other people don't spend their time trying to answer that part.  Alt/Az is relative to gravity, so that's the coordinate system you want for two of the variables.  Since you already know how to do that, you should probably focus your question on specifying what "roll from pole" is, and ask about converting that into Alt/Az coordinates.  
> **username_0**: my question sepcifically asked for pitch and roll not yaw, bnut I see ur point. Anyways, I'm not following what alt and az have to do what I'm asking I'm trying to find the pitch and roll of the camera given a RA and DEC (ie, I know where in the sky I'm looking since I also know the time and location). From that, I need to find the orientation of the camera ie, if I had it tilted "forward" 45 degrees relative to looking straight up, the pitch would be 45 degrees  
> **username_2**: As it stands, you're not going to get an answer.  Try exolaining what "roll from the pole" means.  
> **username_0**: To be honest Im not suree what roll from pole means, I got that description from the python library Im using for this (https://tetra3.readthedocs.io/en/latest/api_docs.html) which returns all this information from a given image of the starts. It describes the "Roll" returned as "’Roll’: Rotation of image relative to north celestial pole."  

---

## 0 answers

