MATLAB Examples

Configuring Dynamic Cameras - Vehicle Slalom

This example illustrates the use of dynamic cameras to view a vehicle traversing a slalom course. The vehicle accelerates from stationary to a fixed speed and then enters the slalom course. Upon exiting, the vehicle decelerates back to stationary before the end of the road. The model has four dynamic cameras: three with tracking parameterization and one with keyframes. The tracking cameras show the front and side views of the vehicle from a fixed offset relative to the vehicle, along with the view from the driver's perspective. The keyframed camera shows a sweeping view of the vehicle maneuver.