{"id":332,"date":"2020-04-02T21:45:51","date_gmt":"2020-04-02T21:45:51","guid":{"rendered":"http:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/?p=332"},"modified":"2020-11-13T22:16:14","modified_gmt":"2020-11-13T22:16:14","slug":"risk-management","status":"publish","type":"post","link":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/2020\/04\/02\/risk-management\/","title":{"rendered":"Risk Management"},"content":{"rendered":"<div class=\"ritz grid-container\" dir=\"ltr\">\n<table class=\"waffle\" cellspacing=\"0\" cellpadding=\"0\">\n<thead>\n<tr>\n<th class=\"row-header freezebar-origin-ltr\">\u00a0<\/th>\n<th id=\"1827259627C0\" class=\"column-headers-background\" style=\"width: 40px\">\u00a0<\/th>\n<th id=\"1827259627C1\" class=\"column-headers-background\" style=\"width: 122px\">\u00a0<\/th>\n<th id=\"1827259627C2\" class=\"column-headers-background\" style=\"width: 218px\">\u00a0<\/th>\n<th id=\"1827259627C3\" class=\"column-headers-background\" style=\"width: 337px\">\u00a0<\/th>\n<th id=\"1827259627C4\" class=\"column-headers-background\" style=\"width: 100px\">\u00a0<\/th>\n<th id=\"1827259627C5\" class=\"column-headers-background\" style=\"width: 92px\">\u00a0<\/th>\n<th id=\"1827259627C6\" class=\"column-headers-background\" style=\"width: 100px\">\u00a0<\/th>\n<th id=\"1827259627C7\" class=\"column-headers-background\" style=\"width: 300px\">\u00a0<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R0\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">1<\/span><\/div>\n<\/th>\n<td class=\"s0\" dir=\"ltr\"><span style=\"color: #000000\"><strong>Sl No<\/strong><\/span><\/td>\n<td class=\"s1\" dir=\"ltr\"><span style=\"color: #000000\"><strong>Risk Name<\/strong><\/span><\/td>\n<td class=\"s0\" dir=\"ltr\"><span style=\"color: #000000\"><strong>Risk Description<\/strong><\/span><\/td>\n<td class=\"s0\" dir=\"ltr\"><span style=\"color: #000000\"><strong>Risk Consequences<\/strong><\/span><\/td>\n<td class=\"s1\" dir=\"ltr\"><span style=\"color: #000000\"><strong>Risk Type<\/strong><\/span><\/td>\n<td class=\"s1\" dir=\"ltr\"><span style=\"color: #000000\"><strong>Likelihood<\/strong><\/span><\/td>\n<td class=\"s1\" dir=\"ltr\"><span style=\"color: #000000\"><strong>Consequence<\/strong><\/span><\/td>\n<td class=\"s1\" dir=\"ltr\"><span style=\"color: #000000\"><strong>Reduction Plan<\/strong><\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R1\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">2<\/span><\/div>\n<\/th>\n<td class=\"s2\" dir=\"ltr\"><span style=\"color: #000000\">R1<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">RL Agent does not converge for mandatory scenarios<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">The RL agent does not converge to show reasonable performance<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Failure to achieve mandatory project functional requirements<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s4\" dir=\"ltr\"><span style=\"color: #000000\">4<\/span><\/td>\n<td class=\"s4\" dir=\"ltr\"><span style=\"color: #000000\">5<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">1) Build the first RL agent as soon as possible and finish every other task as soon as possible, so we have time and man-power to prototype different algorithms.<\/span><br \/><span style=\"color: #000000\">2) Try out imitation learning.<\/span><br \/><span style=\"color: #000000\">3) Seek out assistance from colleagues who have previously worked in this domain.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R2\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">3<\/span><\/div>\n<\/th>\n<td class=\"s5\" dir=\"ltr\"><span style=\"color: #000000\">R2<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Can&#8217;t build hardware due to College Shutdown (<span style=\"color: #ff0000\">No more a risk<span style=\"color: #000000\">)<\/span><\/span><\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Loss of access to the lab due to a shutdown can lead to delays and suspension of hardware related tasks.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Hardware POC delivarable needs to be pushed to next semester<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Schedule<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">5<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">5<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Finish most of the software work this semester, so we can focus on Hardware POC next semester.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R3\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">4<\/span><\/div>\n<\/th>\n<td class=\"s2\" dir=\"ltr\"><span style=\"color: #000000\">R3<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\">\n<p><span style=\"color: #000000\">Difficulty to integrate <\/span><span style=\"color: #000000\">(<span style=\"color: #ff0000\">No more a risk<\/span>)<\/span><\/p>\n<\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Since all teammates are working remotely, there is communication feedback loop is slower and might lead to difficulty in integration of work packages.<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">1) Large delays in delivarables<\/span><br \/><span style=\"color: #000000\">2) Major redesign of the system<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s4\" dir=\"ltr\"><span style=\"color: #000000\">3<\/span><\/td>\n<td class=\"s4\" dir=\"ltr\"><span style=\"color: #000000\">4<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">1)Manadatory meetings atleast twice a week.<\/span><br \/><span style=\"color: #000000\">2)Daily standups with teammates.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R4\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">5<\/span><\/div>\n<\/th>\n<td class=\"s5\" dir=\"ltr\"><span style=\"color: #000000\">R4<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Lack of Variation in Simulted Scenarios<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">The ability of the simulator to generate different scenarios might be limited<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Can lead to overfitting in the RL Algorithm, which can lead to system wide delays.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">2<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">4<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">1) Look at alternate simulators<\/span><br \/><span style=\"color: #000000\">2) Create custom scripts to increase scenario variability<\/span><br \/><span style=\"color: #000000\">3) Create custom scenarios<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R5\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">6<\/span><\/div>\n<\/th>\n<td class=\"s2\" dir=\"ltr\"><span style=\"color: #000000\">R5<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Lack of Computation Power (<span style=\"color: #ff0000\">No more a risk<\/span>)<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">During subsystem integration, having all the involved subsystems running simutaneously may need more computation power than a single computer<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">1) Lower Frequency Interface Frequency than expected<\/span><br \/><span style=\"color: #000000\">2) Lower Trajectory Frequency than expected<\/span><br \/><span style=\"color: #000000\">3) Vehicle Failing to Respond in Real Time<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s4\" dir=\"ltr\"><span style=\"color: #000000\">2<\/span><\/td>\n<td class=\"s4\" dir=\"ltr\"><span style=\"color: #000000\">5<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">1) Design thread and core allocation in advance<\/span><br \/><span style=\"color: #000000\">2) Keep computationally intensive subsystems modular to be able to run in different computers<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R6\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">7<\/span><\/div>\n<\/th>\n<td class=\"s5\" dir=\"ltr\"><span style=\"color: #000000\">R6<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Fixed trajectories made by rule based path planner does not produce effective results<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">There is a chance that fixed trajectories might not work best for dynamic scenarios.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Built system might not be the most robust one.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">2<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">2<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">1) Design a path planner which is atleast robust to some parameters like speed limits, obstacles in path, etc.<\/span><br \/><span style=\"color: #000000\">2) Customising the trajectories based on scnearios and not using the same one.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R7\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">8<\/span><\/div>\n<\/th>\n<td class=\"s2\" dir=\"ltr\"><span style=\"color: #000000\">R7<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Hardware\/Simulation data distribution mismatch (<span style=\"color: #ff0000\">No more a risk<span style=\"color: #000000\">)<\/span><\/span><\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">The RL agent trained on simulation might not work on the sensor rig directly, because the data does not come from the same distribution.<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Failure of hardware demo<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s4\" dir=\"ltr\"><span style=\"color: #000000\">4<\/span><\/td>\n<td class=\"s4\" dir=\"ltr\"><span style=\"color: #000000\">4<\/span><\/td>\n<td class=\"s3\" dir=\"ltr\"><span style=\"color: #000000\">1) Assign time to testing<\/span><br \/><span style=\"color: #000000\">2) Assign time to convert sensor data into similar representations as in simulation.<\/span><br \/><span style=\"color: #000000\">2) Collect real world data and retrain RL agent.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R8\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">9<\/span><\/div>\n<\/th>\n<td class=\"s5\" dir=\"ltr\"><span style=\"color: #000000\">R9<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Lack of results on CARLA<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">The dynamics of vehicle motion in CARLA might be too complex for our decision making algorithm to process.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Failure to achieve mandatory project functional requirements<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">3<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">4<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">1) Simpify vehicle dynamics by modifying CARLA souce code.<\/span><br \/><span style=\"color: #000000\">2) Add vehicle dynamics like bicycle model to the simple simulator.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R8\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">10<\/span><\/div>\n<\/th>\n<td class=\"s5\" dir=\"ltr\"><span style=\"color: #000000\">R10<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Frenet Coordinate System is ineffective<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">A major amount of development time will be spent on setting up a system which can work on curved roads. There is a chance that it might not be more effective than euclidean system.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Failure to complete building a full system as a lot of components are going to be modified to accommodate Frenet coordinate system.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">3<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">4<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">1) In case frenet is ineffective, just feed in euclidean coordinates in the respective fields of the ROS message to ensure other systems which depend on these interfaces do not get affected.<\/span><\/td>\n<\/tr>\n<tr style=\"height: 20px\">\n<th id=\"1827259627R8\" class=\"row-headers-background\" style=\"height: 20px\">\n<div class=\"row-header-wrapper\" style=\"line-height: 20px\"><span style=\"color: #000000\">11<\/span><\/div>\n<\/th>\n<td class=\"s5\" dir=\"ltr\"><span style=\"color: #000000\">R11<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">State extraction in CARLA is too complex<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">CARLA&#8217;s APIs may not be directly amenable to extract the details we want in a easy manner. Especially in intersection scenarios.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Will be major blocker for getting intersection negotiation working.<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\"><span style=\"color: #000000\">Technical<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">3<\/span><\/td>\n<td class=\"s7\" dir=\"ltr\"><span style=\"color: #000000\">2<\/span><\/td>\n<td class=\"s6\" dir=\"ltr\">\n<p><span style=\"color: #000000\">1) Get the help of sponsors who are experienced with using CARLA.<\/span><\/p>\n<p>2) Try simulating intersection scenarios in the simpler simulator we had developed using rviz in the last semester.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p><span style=\"color: #000000\"><script type=\"text\/javascript\"><br \/>\nfunction posObj(sheet, id, row, col, x, y) {<br \/>\n  var rtl = false;<br \/>\n  var sheetElement = document.getElementById(sheet);<br \/>\n  if (!sheetElement) {<br \/>\n    sheetElement = document.getElementById(sheet + '-grid-container');<br \/>\n  }<br \/>\n  if (sheetElement) {<br \/>\n    rtl = sheetElement.getAttribute('dir') == 'rtl';<br \/>\n  }<br \/>\n  var r = document.getElementById(sheet+'R'+row);<br \/>\n  var c = document.getElementById(sheet+'C'+col);<br \/>\n  if (r &amp;&amp; c) {<br \/>\n    var objElement = document.getElementById(id);<br \/>\n    var s = objElement.style;<br \/>\n    var t = y;<br \/>\n    while (r &amp;&amp; r != sheetElement) {<br \/>\n      t += r.offsetTop;<br \/>\n      r = r.offsetParent;<br \/>\n    }<br \/>\n    var offsetX = x;<br \/>\n    while (c &amp;&amp; c != sheetElement) {<br \/>\n      offsetX += c.offsetLeft;<br \/>\n      c = c.offsetParent;<br \/>\n    }<br \/>\n    if (rtl) {<br \/>\n      offsetX -= objElement.offsetWidth;<br \/>\n    }<br \/>\n    s.left = offsetX + 'px';<br \/>\n    s.top = t + 'px';<br \/>\n    s.display = 'block';<br \/>\n    s.border = '1px solid #000000';<br \/>\n  }<br \/>\n};<br \/>\nfunction posObjs() {<br \/>\n};<br \/>\nposObjs();<\/script><\/span><\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 1 Sl No Risk Name Risk Description Risk Consequences Risk Type Likelihood Consequence Reduction Plan 2 R1 RL Agent does not converge for mandatory scenarios The RL agent does not converge to show reasonable performance Failure to achieve mandatory project functional requirements Technical 4 5 1)<br \/><a class=\"moretag\" href=\"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/2020\/04\/02\/risk-management\/\">+ Read More<\/a><\/p>\n","protected":false},"author":196,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-332","post","type-post","status-publish","format-standard","hentry","category-project-management"],"_links":{"self":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/posts\/332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/users\/196"}],"replies":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/comments?post=332"}],"version-history":[{"count":6,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/posts\/332\/revisions"}],"predecessor-version":[{"id":611,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/posts\/332\/revisions\/611"}],"wp:attachment":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/media?parent=332"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/categories?post=332"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2020teamd\/wp-json\/wp\/v2\/tags?post=332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}