Alexanderallenbrown / MotionBase

An open-source motion platform for driving simulation
16 stars 6 forks source link

Another Code Question #8

Closed megantuttle closed 8 years ago

megantuttle commented 8 years ago

@wangzeyi are you sure you should have converted ax, ay, and az in the traj.m function? Did you assume that those values were in degrees since there were a couple numbers greater than 1?

wangzeyi commented 8 years ago

@megantuttle I am not sure. Ask @Alexanderallenbrown

wangzeyi commented 8 years ago

I saw a few numbers greater than 3, so I assumed that they are in degrees. They are really small angles if they are in degrees though

Alexanderallenbrown commented 8 years ago

Guys,

I will have to look at the data after we get back into Easton, but "ax,ay,az" should be accelerations, so they are either in gs or in m/s^2.

If there are angles in the file that you are using, they could either be in degrees or radians. I imagine that the roll (x) tilt of the vehicle was always less than 5 degrees max-min. The z angle should tell you the most, since I went around an on ramp and had an angular change in z of about 270 degrees over the course of the file.

Sent from my iPhone

On Feb 17, 2016, at 6:49 PM, wangzeyi notifications@github.com wrote:

@megantuttle I am not sure. Ask @Alexanderallenbrown

— Reply to this email directly or view it on GitHub.

Alexanderallenbrown commented 8 years ago

I see now that traj.m takes angles and not accelerations called ax,ay,az.

Angles in the data file were probably in degrees. The checks I mentioned will help confirm.

Sent from my iPhone

On Feb 17, 2016, at 6:53 PM, wangzeyi notifications@github.com wrote:

I saw a few numbers greater than 3, so I assumed that they are in degrees. They are really small angles if they are in degrees though

— Reply to this email directly or view it on GitHub.