Location-based lighting for an electric bicycle
Various systems and methods associated with protecting a rider of an electric bicycle from hazards while riding their bicycle are described. In some embodiments, the systems and methods enhance the safety of the rider in response current detected conditions surrounding the rider, such as conditions associated with the route or path traveled by the rider, other vehicles within the route or path traveled by the rider, potential hazards within the route or path traveled by the rider, environmental conditions through which the rider is traveling, and so on.
1. An electric bicycle, comprising:
a frame having a head tube, down tube, top tube, and seat tube;
a front wheel attached to the frame via a fork connected to the head tube;
a rear wheel attached to the frame via a dropout assembly of the frame;
an electric motor mounted to the rear wheel that propels the electric bicycle;
a battery pack mounted to the frame of the electric bicycle that provides power to the electric motor;
a controller that controls operations of the battery pack of the electric bicycle and the electric motor of the electric bicycle;
one or more sensors attached to the frame of the electric bicycle;
multiple lighting devices mounted to the frame of the electric bicycle; and
a location-based lighting system stored in memory of the controller and including:
a bicycle location module that identifies a location associated with an environment through which the electric bicycle is predicted to travel based on a determined path of travel for the electric bicycle traveling; and
a lighting module that:
determines a safety metric for the identified location; and
causes the electric bicycle to perform a lighting action for the electric bicycle before the electric bicycle enters the location using the multiple lighting devices that is based on the safety metric determined for the location.
2. The electric bicycle of claim 1 , wherein the lighting module determines a safety metric for the location by:
transmitting location information identified by the bicycle location module for the location through which the electric bicycle is traveling predicted to travel to a fleet management server that manages a fleet of electric bicycles that includes the electric bicycle;
receiving, from the fleet management server, information captured by other electric bicycles of the fleet of electric bicycles that have previously traveled through the location; and
generating the safety metric based on the information captured by the other electric bicycles.
3. The electric bicycle of claim 1 , wherein the lighting module determines a safety metric for the location by:
transmitting location information identified by the bicycle location module for the location through which the electric bicycle is predicted to travel to a fleet management server that manages a fleet of electric bicycles that includes the electric bicycle;
receiving, from the fleet management server, information captured by other electric bicycles of the fleet of electric bicycles that have previously traveled through the location within a certain time period before a current time period within which the electric bicycle travels through the location; and
generating the safety metric based on the information captured by the other electric bicycles.
4. The electric bicycle of claim 1 , wherein the lighting module determines a safety metric for the location by:
transmitting location information identified by the bicycle location module for the location through which the electric bicycle is predicted to travel to a public database server that tracks historical information associated with dangerous events at the location;
receiving, from the public database, information associated with the dangerous events at the location; and
generating the safety metric based on the information received from the public database.
5. The electric bicycle of claim 1 , wherein the bicycle location module identifies a geographical location associated with the environment through which the electric bicycle is predicted to travel.
6. The electric bicycle of claim 1 , wherein the bicycle location module identifies a type of travel surface associated with the environment through which the electric bicycle is predicted to travel.
7. The electric bicycle of claim 1 , wherein the bicycle location module identifies a specific intersection on a city grid within the environment through which the electric bicycle is predicted to travel.
8. The electric bicycle of claim 1 , wherein the bicycle location module identifies the location associated with an environment through which the electric bicycle is predicted to travel using global positioning system (GPS) data captured by the one or more sensors attached to the frame of the electric bicycle.
9. The electric bicycle of claim 1 , wherein the bicycle location module identifies the location associated with an environment through which the electric bicycle is predicted to travel using motion detection data captured by the one or more sensors attached to the frame of the electric bicycle.
10. The electric bicycle of claim 1 , wherein the bicycle location module identifies the location associated with an environment through which the electric bicycle is predicted to travel using image data captured by the one or more sensors attached to the frame of the electric bicycle.
11. The electric bicycle of claim 1 , wherein the lighting module causes the electric bicycle to perform a lighting action to enhance a visibility of the electric bicycle within the environment.
12. The electric bicycle of claim 1 , wherein the lighting module causes the electric bicycle to perform a lighting action to increase a visibility of objects within the environment.
13. The electric bicycle of claim 1 , wherein the safety metric indicates a type of dangerous condition at the location associated with the environment through which the electric bicycle is predicted to travel.
14. A method performed by a lighting system stored in memory of a controller of an electric bicycle, the method comprising:
identifying a location associated with an environment through which the electric bicycle is predicted to travel;
determining a safety metric for the identified location; and
causing the electric bicycle to perform a lighting action for the electric bicycle before the electric bicycle enters the location and that is based on the safety metric determined for the location.
15. The method of claim 14 , wherein the safety metric indicates a type of dangerous condition at the location associated with the environment through which the electric bicycle is predicted to travel.
16. The method of claim 14 , wherein the lighting action enhances a visibility of the electric bicycle within the environment.
17. The method of claim 14 , wherein the lighting action increases a visibility of objects within the environment.
18. The method of claim 14 , wherein identifying a location associated with an environment through which the electric bicycle is predicted to travel includes identifying a location through which the electric bicycle is predicted to travel based on a determined path of travel for the electric bicycle.
19. A non-transitory computer-readable medium whose contents, when executed by a lighting system stored in memory of a controller of an electric bicycle, causes the lighting system to perform a method, the method comprising:
identifying a location through which the electric bicycle is predicted to enter along a current path of travel;
determining a safety metric for the identified location; and
causing the electric bicycle to perform a lighting action for the electric bicycle that is based on the safety metric determined for the location,
wherein the lighting action is performed in advance of the electric bicycle entering the identified location.