# Calculate Roll Pitch Yaw from Modified Denavit Hartenberg

I'm using modified denavit hartenberg to represent my robot end-effector. But i couldnt find equation to calculate rpy if im using mdh. Below my MDH. I try use rpy equation for dh paramater(from Getting pitch, yaw and roll from Rotation Matrix in DH Parameter), but when i apply it doesnt seem correct. Does anyone know the correct equations? I'd be very thankful for any help.

However, if you did want to go this path, then just looking at the expression we see that the orientation is a rotation about the x-axis of $$\alpha$$ followed by a rotation about the z-axis of $$\theta$$. The XYZ RPY convention, often used for problems with robot manipulator arms, is defined as an SO(3) rotation $$R = R_x(y) R_y( p) R_z( r)$$ so it is clear that $$\alpha$$ is the yaw angle, $$\theta$$ is the roll angle, and pitch angle is always 0.
{"ft_lang_label":"__label__en","ft_lang_prob":0.9405255,"math_prob":0.9973445,"size":1025,"snap":"2023-40-2023-50","text_gpt3_token_len":223,"char_repetition_ratio":0.10675808,"word_repetition_ratio":0.0,"special_character_ratio":0.21756098,"punctuation_ratio":0.0867347,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9997472,"pos_list":[0,1,2],"im_url_duplicate_count":[null,3,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-11-30T21:32:37Z\",\"WARC-Record-ID\":\"<urn:uuid:dc1eba14-0b5f-4efc-9538-6b4ae161d56e>\",\"Content-Length\":\"168227\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:43808cce-36b6-4434-b90f-360c34ec9d07>\",\"WARC-Concurrent-To\":\"<urn:uuid:23a488bb-fcad-44cc-a407-b9b11c0fa48d>\",\"WARC-IP-Address\":\"104.18.43.226\",\"WARC-Target-URI\":\"https://robotics.stackexchange.com/questions/18719/calculate-roll-pitch-yaw-from-modified-denavit-hartenberg\",\"WARC-Payload-Digest\":\"sha1:ASQN54OMMHTRXD4SLOUOPIFVSR6EGUQD\",\"WARC-Block-Digest\":\"sha1:36PBSA2Y6ZQ5EKSAJVP2XVGTZG7YCCUA\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100232.63_warc_CC-MAIN-20231130193829-20231130223829-00796.warc.gz\"}"}