Bus Tracking System Project

BTS is a grad student project developed by i-NRG and other students to provide real-time tracking of the campus shuttles.

UCSC’s Bus Tracking System (BTS) is a set of hardware and software that lets riders of UCSC’s transit shuttles see the locations of the campus shuttles in real time. This successful endeavor was a collaborative effort among many individuals of various campus departments, resulting in a production system that functions today. Several students and student teams have created iOS and Android apps that display the system’s real-time bus-position data.

History

bus
A campus shuttle using the new LED signs.

James Koshimoto and Matt Bromage created UCSC’s original Bus Tracking System (BTS). During the summer of 2009, the system was successfully deployed to about 20 campus transit shuttles. Over the 2009/2010 school year the system was evaluated, and several improvements were identified. The following summer, when most of the campus transit shuttles were retired and replaced with larger, more fuel-efficient vehicles, the BTS hardware was removed from the retiring vehicles and stored.

Based on the BTS evaluation, and using feedback from that system’s users (TAPS employees, wireless-networking researchers, and shuttle riders), Kerry Veenstra designed an improved BTS 2. Every part of the original BTS system was upgraded or redesigned: only the communication radios that link buses to the BTS base stations were reused unchanged. A prototype was installed in campus transit shuttle 55 and evaluated for over a year while a number of UCSC undergraduates soldered and assembled production nodes for the rest of the shuttles.

Current Hardware

Sed ut purus at massa scelerisque venenatis ut et ex. Pellentesque tincidunt luctus tortor. Proin volutpat mauris convallis dui rhoncus, vel interdum ex auctor. Phasellus ut dictum lorem. Mauris posuere sollicitudin libero. Cras eu enim vehicula, tempus turpis eu, dictum nisl. Pellentesque accumsan lacinia libero, sed placerat augue posuere ac. Maecenas eget libero tincidunt elit tristique ullamcorper. Nullam dictum mi odio, ac volutpat diam cursus at.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc mattis, nisi non tincidunt mattis, lorem purus imperdiet massa, a posuere massa tortor nec tortor. Suspendisse potenti. Aenean libero dolor, tincidunt sed pellentesque eu, pellentesque vitae lorem. Integer pretium sollicitudin sem, ac tempus lorem. Etiam bibendum odio sed nisl sodales, sit amet hendrerit ex pulvinar. Vivamus elit nisi, malesuada id pulvinar eget, ullamcorper eu velit. Nulla diam lorem, scelerisque quis nisi sed, aliquam tempor sem. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cras laoreet vestibulum tellus a faucibus.

Sed ut purus at massa scelerisque venenatis ut et ex. Pellentesque tincidunt luctus tortor. Proin volutpat mauris convallis dui rhoncus, vel interdum ex auctor. Phasellus ut dictum lorem. Mauris posuere sollicitudin libero. Cras eu enim vehicula, tempus turpis eu, dictum nisl. Pellentesque accumsan lacinia libero, sed placerat augue posuere ac. Maecenas eget libero tincidunt elit tristique ullamcorper. Nullam dictum mi odio, ac volutpat diam cursus at.

Donec cursus, justo ut ornare convallis, diam augue facilisis mi, sed vulputate libero tellus eu nisi. Interdum et malesuada fames ac ante ipsum primis in faucibus. Donec convallis mauris ut eleifend tempor. Duis posuere ipsum et tempus tempus. Duis placerat augue in egestas blandit. Nullam aliquet sed ipsum id laoreet. Fusce posuere ipsum elit, a sodales eros pellentesque in. Maecenas fringilla varius purus quis ornare. Etiam metus ex, suscipit in fringilla eu, interdum vitae ipsum. Donec ut dapibus lorem. Etiam ac mi mattis, sagittis justo a, pharetra neque.

Aenean vitae interdum metus, in sagittis diam. Vestibulum posuere magna et justo venenatis, ac mollis lectus maximus. Donec lectus purus, rhoncus ac dui vehicula, tristique commodo nunc. Phasellus gravida ligula in augue rutrum rhoncus. Maecenas iaculis dolor at nisi vehicula faucibus. Suspendisse sem risus, elementum at lectus nec, tincidunt fringilla sem. Donec luctus urna nibh, at lobortis lorem iaculis at. Aenean faucibus dignissim ante, quis tristique odio scelerisque a. Mauris faucibus iaculis libero, sit amet imperdiet dui tristique ut.

Nunc a risus lorem. Sed imperdiet dapibus eros, vitae eleifend enim venenatis at. Sed mollis suscipit lacinia. Nam facilisis vehicula consequat. Mauris eleifend nisl sed velit ultrices, nec fermentum eros porttitor. Nam rutrum turpis a vulputate semper. Phasellus egestas ligula nec mauris vestibulum tristique. Sed cursus venenatis dui sit amet sodales. Donec ullamcorper, leo ac viverra semper, erat dolor tempor tortor, sit amet rutrum velit enim et purus. In malesuada dapibus ipsum imperdiet vestibulum. Mauris massa risus, feugiat ac justo id, commodo egestas purus.

Web Application

slugroute_screen
Web Application found at: www.slugroute.com

The web application allows students to inspect bus stops and plan trips to parts of the campus by clicking on stop icons. The app also shows all of the different routes the shuttles are following. Receiving updates every few seconds the bus icons are animated in real time, allowing students to know whether taking a bus or walking will get them to their class on time. A future feature will allow students to set desktop alerts while studying so that they can can be alerted when the route they wish to take is coming near them at the time they specified. Other informational features will be added that will distinguish it from the mobile applications that will be more focused to be used “on the move”, and are described below.

The app is developed using the very popular google maps javascript library, and custom icons and windows are overlayed. The core framework used is AngularJS which is a very easy to use Single Page Application framework which allows it to load and perform quickly. Just like the mobile applications, the web app makes requests from the bts web server and expects a JSON datafile in return. Bus GPS coordinates and arrival predictions are calculated on the server from data taken from a mySQL database and then added to the JSON file.

 

Mobile Application

Nunc a risus lorem. Sed imperdiet dapibus eros, vitae eleifend enim venenatis at. Sed mollis suscipit lacinia. Nam facilisis vehicula consequat. Mauris eleifend nisl sed velit ultrices, nec fermentum eros porttitor. Nam rutrum turpis a vulputate semper. Phasellus egestas ligula nec mauris vestibulum tristique. Sed cursus venenatis dui sit amet sodales. Donec ullamcorper, leo ac viverra semper, erat dolor tempor tortor, sit amet rutrum velit enim et purus. In malesuada dapibus ipsum imperdiet vestibulum. Mauris massa risus, feugiat ac justo id, commodo egestas purus.