Cyclist Training on Top of Moving Car

Why use the cycling machine indoors when you can get the same effect on the roof of a car and take in all the scenery? Maybe because it's kinda dangerous?