Name

anim_turn — make animation table for vehicle with front-wheel steering.

OPTIONS

-a#

Track assumes that the truck should initially be oriented along the line defined by the first two positions in the input table. Otherwise, the desired initial yaw of the truck can be specified with the -a# option.

-r#

Specify the radii of the front wheels. If this option is selected, track will create an animation script to animate the front wheels. The output table would contain four columns: time, swivel-angle, roll, and a zero channel. These represent the orientation of the front wheels, in terms of yaw, pitch, and roll, and the table can be piped directly to anim_script.

-f#

Specify a factor to be used to animate a steering wheel. If this option is selected, the output table will contain four columns: time, swivel, and two zero columns. This table can be used directly by anim_script to make an animation script for a steering wheel. The argument to the option should be the factor by which to exaggerate the swiveling of the wheels. For example, on a typical truck, you may need to turn the steering wheel 360 degrees in order for the wheels to swivel 20 degrees. To model this effect, a factor of 18 would be used.

-p#

Specify the ratio of input rows to output rows, which must be an integer. The default, of course, is one. The accuracy of the output depends on having a large number of input lines, which is not usually a problem in animations, which require a large number of frames per second. However, if a test animation with a small number of frames per second is being created, the user should give an input table with a high number of input rows and reduce the output with the -p# option. For example, if in.table contains 30 rows for each second of the animation, then the command

anim_turn -l 3000 -p10 < in.table > out.table

would produce an animation table containing 3 rows for each second of the animation.