{"id":345,"date":"2017-12-15T01:05:09","date_gmt":"2017-12-15T01:05:09","guid":{"rendered":"http:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/?page_id=345"},"modified":"2017-12-15T20:33:58","modified_gmt":"2017-12-15T20:33:58","slug":"trajectory-prediction","status":"publish","type":"page","link":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/trajectory-prediction\/","title":{"rendered":"Trajectory Prediction"},"content":{"rendered":"<h2><span style=\"font-weight: 400\">Trajectory Prediction<\/span><\/h2>\n<p><span style=\"font-weight: 400\">The problem of trajectory prediction is essentially one of sequence prediction where given a sequence of input coordinates of a pedestrian, we must identify a pattern and use that to predict the future sequence of coordinates of the same pedestrian. This subsystem forms the crux of our entire system since the output of this subsystem is published to the vehicle. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">We have made some good progress on this subsystem although we had to settle for a different approach than the one we had initially decided. The Social LSTM algorithm is the state-of-the-art in pedestrian trajectory prediction however it suffers from difficulties such as difficulty in debugging and dataset biases. Moreover the algorithm was unsuitable for our requirements in this semester since the we are focusing on a single pedestrian use case whereas the true value of the Social LSTM algorithm is found in cases with multiple pedestrians. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">We hence shifted to a more deterministic approach of using polynomial regression. Based on an observation window of 12 frames (at a frame rate of 10 frames per second), we fit a polynomial curve to input values. Using this curve, we extrapolated for the desired 12 frames (at the same frame rate) and published this as our predicted trajectory. <\/span><span style=\"font-weight: 400\">We analyzed this for various degrees of polynomials and observation lengths. Fig. x shows a comparison of some basic testing. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">For the fall semester, we proceeded with a second degree polynomial fit. We tested this algorithm on live pedestrian data and were satisfied with the results that we were getting. The graphs below show the performance for some specific pedestrian trajectories. <\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-346\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-content\/uploads\/sites\/26\/2017\/12\/PredictionPlots2.png\" alt=\"\" width=\"637\" height=\"393\" \/><\/p>\n<p><span style=\"font-weight: 400\">Fig. x. Graphs of trajectory prediction for trajectories of different radii of curvature (r).<\/span><span style=\"font-weight: 400\"><br \/>\n<\/span><span style=\"font-weight: 400\">(a) r = \u221e, (b) r = 3m, (c) r = 2m, (d) r = 1m, (e) r = 0m (right angle), <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trajectory Prediction The problem of trajectory prediction is essentially one of sequence prediction where given a sequence of input coordinates of a pedestrian, we must identify a pattern and use that to predict the future sequence of coordinates of the same pedestrian. This subsystem forms the crux of our entire system since the output of<br \/><a class=\"moretag\" href=\"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/trajectory-prediction\/\">+ Read More<\/a><\/p>\n","protected":false},"author":115,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-345","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-json\/wp\/v2\/pages\/345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-json\/wp\/v2\/comments?post=345"}],"version-history":[{"count":2,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-json\/wp\/v2\/pages\/345\/revisions"}],"predecessor-version":[{"id":379,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-json\/wp\/v2\/pages\/345\/revisions\/379"}],"wp:attachment":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2017teame\/wp-json\/wp\/v2\/media?parent=345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}