How to correctly orient the vehicle ?
The global frame is as shown in the corner in the image below. My current orientation is attached with body. I want to change my current orientation as per the annotation. How can I achieve that ?
What does the DxDyDz represent ? Is it the direction cosines, or the difference between two coordinates (x1-x2) or anything else ? I'm thinking that orientating the vehicle using angle would be easy but there is no such option available.
What am I missing? Help !!
Best Answer
-
Hello Aditya,
The "Vehicle Orientation" on the AltairDriver panel is an input to the driver indicating the vehicle model orientation. This is like telling the driver: Where is Front and where is Left?
DxDyDz is similar to direction cosines.
If you specify: 1, 0, 0 -- it means that the vehicle Front is pointing along Global X.
If you specify: 0, 1, 0 -- it means that the vehicle Front is pointing along Global Y.
Based on the frame that you have constructed, X is pointing along global Z? If yes, then your DxDyDZ for "Front" should be: 0, 0, 1.
Assuming that the Y in your picture is vehicle's Left: use 1, 0, 0 for "Left".
Regards
Raghavendra.
1
Answers
-
Hello Aditya,
The "Vehicle Orientation" on the AltairDriver panel is an input to the driver indicating the vehicle model orientation. This is like telling the driver: Where is Front and where is Left?
DxDyDz is similar to direction cosines.
If you specify: 1, 0, 0 -- it means that the vehicle Front is pointing along Global X.
If you specify: 0, 1, 0 -- it means that the vehicle Front is pointing along Global Y.
Based on the frame that you have constructed, X is pointing along global Z? If yes, then your DxDyDZ for "Front" should be: 0, 0, 1.
Assuming that the Y in your picture is vehicle's Left: use 1, 0, 0 for "Left".
Regards
Raghavendra.
1