{"id":160,"date":"2024-05-03T20:30:19","date_gmt":"2024-05-03T20:30:19","guid":{"rendered":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/?page_id=160"},"modified":"2024-12-13T05:16:15","modified_gmt":"2024-12-13T05:16:15","slug":"system-performance","status":"publish","type":"page","link":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/system-performance\/","title":{"rendered":"SVD System Performance"},"content":{"rendered":"\n<p>This semester, our team aimed to achieve all system-level requirements, allowing for some flexibility. Our goal was to achieve all of the desired requirements with a lenient view on some of the parameters. For example our desired FPS was 30hz but we were able to achieve around 20-22 FPS. A detailed list of our targeted requirements is given in table 5.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td colspan=\"4\"><strong>Targeted Performance Requirements<\/strong><\/td><\/tr><tr><td>PR ID<\/td><td>Requirement<\/td><td>Subsystem<\/td><td>Status<\/td><\/tr><tr><td>PR1<\/td><td>Update Frequency of 10 hz<\/td><td>Perception<\/td><td>Passed&nbsp;<\/td><\/tr><tr><td>PR2<\/td><td>Successful parking is detected: 80%&nbsp;<\/td><td>Perception<\/td><td>Passed<\/td><\/tr><tr><td>PR3<\/td><td>Stationary tolerance: Y: \u58eb5 cm; X: \u58eb10 cm; Rotational \u58eb20; Degrees<\/td><td>Controls<\/td><td>Passed<\/td><\/tr><tr><td>PR4<\/td><td>Vehicle speed should be around 10 cm\/s<\/td><td>Controls<\/td><td>Passed<\/td><\/tr><tr><td>PR5<\/td><td>Safety Tolerance: 10 cm<\/td><td>Controls<\/td><td>Passed<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Overall System Description<\/h3>\n\n\n\n<p>The comprehensive system encompasses our sensor suite, consisting of off-board infrastructure cameras and on-board proximity sensors, alongside the G29 controller. Our software stack comprises several subsystems operating collaboratively. The data processing and Bird&#8217;s Eye View (BEV) generation pipeline is tasked with delivering a precise and responsive BEV. Simultaneously, the controls pipeline captures user inputs and channels them through a safety mechanism before implementation. The UI\/UX module serves as the integration hub, providing users with an accurate visualization enriched with advanced visual overlays for teleoperation. Figure 1 depicts the overall flow of the system.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"310\" src=\"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image.png\" alt=\"\" class=\"wp-image-162\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image.png 1600w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-300x58.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-1024x198.png 1024w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-768x149.png 768w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-1536x298.png 1536w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-700x136.png 700w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-520x101.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-360x70.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-250x48.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-content\/uploads\/sites\/76\/2024\/05\/image-100x19.png 100w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure>\n\n\n\n<p><strong>Figure 1: System Overview<\/strong><strong>SVD<\/strong><\/p>\n\n\n\n<h1 class=\"wp-block-heading\">FVD System Performance<\/h1>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\" colspan=\"3\"><strong>Mechanical\/Environmental Subsystem Testing<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Test&nbsp;<\/td><td>Success Criteria&nbsp;<\/td><td>Outcome\/Adjustment&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Track Assembly Dimensional Check<\/td><td>Lane widths, parking spots within \u00b15% of design specs to ensure scaled realism.<\/td><td>Achieved \u00b13% accuracy. Sufficient for both teleop and autonomous runs.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Camera Coverage Verification<\/td><td>All cameras cover the entire track with overlapping fields of view, no blind spots.<\/td><td>Full coverage confirmed. Key areas (lanes, parking spots) always visible.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Marker Visibility Test<\/td><td>ArUco markers visible in all camera feeds for consistent calibration in both semesters.<\/td><td>All markers clearly detectable. Calibration routine succeeded as planned.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Ensuring flatness with bubble level &amp; shims<\/td><td>Measured height variance &amp; added shims to reduce unevenness<\/td><td>Reduced vertical variance to &lt;2 mm, aiding stable motion<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\" colspan=\"3\"><strong>RC Car Platform Testing<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Test&nbsp;<\/td><td>Success Criteria&nbsp;<\/td><td>Outcome\/Adjustment&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Servo Steering Response<\/td><td>Smooth proportional steering response to teleop inputs in Spring and planner commands in Fall.<\/td><td>Servo angles matched commanded inputs precisely in both modes. Stable control.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">ESC Speed Control<\/td><td>ESC modulates motor speed linearly, maintaining ~10 cm\/s average speed if requested.<\/td><td>Achieved stable speed control. Operator and planner targets met consistently.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Wireless Link Stability Check<\/td><td>Round-trip latency &lt;200 ms for quick operator feedback (Spring) and stable autonomous updates (Fall).<\/td><td>Latency ~100\u2013150 ms. Sufficient for real-time teleop and responsive autonomous corrections.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Proximity Sensor Trigger Test<\/td><td>Detect obstacles at ~15 cm and halt motions in both teleop and autonomous modes.<\/td><td>Car halted as soon as the obstacle detected. Overrides worked identically in both modes.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\" colspan=\"3\"><strong> <\/strong><strong>Sensing and Communication Testing<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Test&nbsp;<\/td><td>Success Criteria&nbsp;<\/td><td>Outcome\/Adjustment&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">BEV Generation Using Classical Perspective<\/td><td>BEV should accurately depict track from top-down with minimal distortion and correct alignment of \u226590% features.<\/td><td>BEV captured environment details within camera FOV. Alignment achieved; key lane features visible and consistent.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">BEV Stitching Using Feature Matching<\/td><td>Stitched BEV from multiple cameras must present a seamless panorama without visible stitching artifacts.<\/td><td>Stitched BEV showed smooth transitions between camera frames. No major artifacts or misalignments observed.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Predict Trajectories from Odometry Data<\/td><td>Depth information should enhance obstacle shape perception, improving recognition of obstacles.<\/td><td>When depth sensor was tested, point cloud matched expected object shapes, improving obstacle cues.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Adding Depth Data<\/td><td>Measured height variance &amp; added shims to reduce unevenness<\/td><td>Reduced vertical variance to &lt;2 mm, aiding stable motion<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Safety Checking with Visual Overlays<\/td><td>Visual warnings and overlays must appear when obstacles or lane departures threaten the car\u2019s planned path.<\/td><td>Warnings appeared at ~15 cm proximity. Operator reported improved situational awareness.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\" colspan=\"3\"><strong>Mechanical\/Environmental Subsystem Testing<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Test&nbsp;<\/td><td>Success Criteria&nbsp;<\/td><td>Outcome\/Adjustment&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Teleoperation Input Response Test<\/td><td>Car responds smoothly to operator\u2019s steering\/throttle (Spring scenario).<\/td><td>Operators noted prompt and stable response, no jerky motions.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Autonomous Waypoint Following<\/td><td>Car follows planner-generated waypoints within \u00b110 cm final position error (Fall scenario).<\/td><td>Achieved ~7 cm final position error. Planner corrections applied smoothly.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Safety Override on Obstacle<\/td><td>Car halts if object &lt;15 cm away in both modes.<\/td><td>Immediate halt observed. Safety overrides worked seamlessly in teleop and autonomous runs.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\" colspan=\"3\"><strong>Demonstrated Performance Requirements for Spring Semester<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Procedure&nbsp;<\/td><td>Success Criteria&nbsp;<\/td><td>Requirements Satisfied&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Demo 0: Operator selects one car in autonomous mode and issues a desired waypoint.<\/td><td>The car moves towards the selected waypoint in&nbsp; accordance with the generated path within the preset tolerance.&nbsp;<\/td><td>PR4, PR5<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Demo 1: Operator selects the other&nbsp; car in autonomous mode and issues a desired waypoint. The second car is then teleoperated to a different parking lot.<\/td><td>The first car moves towards the selected waypoint in&nbsp; accordance with the generated path within the preset tolerance. The second car responds to teleoperation commands and moves towards its goal as per operator&#8217;s discretion in a smooth manner.<\/td><td>PR1, PR2, PR3, PR4, PR5<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Demo 2:Operator selects both cars in autonomous mode and issues desired waypoints for both cars.<\/td><td>Both cars move towards the selected waypoint in&nbsp; accordance with the generated path within the preset tolerance.&nbsp;<\/td><td>PR2, PR3, PR4, PR5<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Demo 3: Operator selects desired waypoints for cars when such that there are static obstacles present in its path.<\/td><td>Both cars move towards the selected waypoint in&nbsp; accordance with the generated path within the preset tolerance while avoiding obstacles.<\/td><td>PR2, PR3, PR5,&nbsp;<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">Demo 4:Operator selects desired waypoint for one car in autonomous mode and teleoperates the other car as a dynamic obstacle in the environment.<\/td><td>The first car moves towards the selected waypoint in&nbsp; accordance with the generated path within the preset tolerance while avoiding the dynamic obstacle behavior.<\/td><td>PR5, PR6<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Strengths and Weaknesses:<\/h2>\n\n\n\n<p><strong>Strengths:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Precise Teleoperation: The system excels in providing precise control over vehicles, enabling accurate navigation and parking maneuvers. This precision ensures reliability and operator confidence during teleoperation.<\/li>\n\n\n\n<li>Consistent Car Detection and Tracking: The system reliably detects and tracks vehicles in real-time, which is critical for ensuring smooth teleoperation and autonomous navigation. The accuracy of the tracking has significantly contributed to overall system performance.<\/li>\n\n\n\n<li>Minimal Latency in Teleoperation: Operators experience minimal delay between input commands and vehicle responses, enhancing real-time control and maneuverability. This low latency ensures that the teleoperation system performs efficiently, even in demanding scenarios.<\/li>\n\n\n\n<li>Informative Visualizations for Operators: The system provides clear and meaningful visualizations to operators, aiding in decision-making and situational awareness. These visualizations ensure that operators can monitor vehicle performance and surroundings effectively.<\/li>\n\n\n\n<li>Time-Synchronized Systems: All system components are time-synchronized, enabling seamless coordination across different subsystems. This synchronization minimizes discrepancies and ensures smooth overall operation, particularly when transitioning between different modes of control.<\/li>\n<\/ul>\n\n\n\n<p><strong>Weaknesses:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Noticeable Latency in Autonomous Control: During autonomous control, the system experiences latency ranging between 400 to 600 milliseconds, which impacts localization accuracy. This delay can lead to errors in vehicle positioning, ultimately affecting performance during autonomous navigation.<\/li>\n\n\n\n<li>Swerving Motion: The localization system has a lag in updates and is affected by noise, which results in a swerving motion during vehicle control. This issue can compromise the stability and accuracy of vehicle movement, especially during high-speed maneuvers.<\/li>\n\n\n\n<li>Unreliable Collision Avoidance: The current approach to collision avoidance is not fully integrated across teleoperation and autonomous control modes. In autonomous mode, obstacles are added to the costmap for avoidance, but this method allows the car to move very close to obstacles (\u201cbrushing motion\u201d). In teleoperation mode, collision avoidance relies solely on ultrasonic sensors, which are prone to noise and may fail to detect obstacles with irregular or non-flat surfaces. This issue can be mitigated by using higher-quality proximity sensors and integrating collision avoidance strategies across both control modes.<\/li>\n\n\n\n<li>User Experience: While the system is functionally robust, there is room for improvement in the user interface and overall user experience. Enhancements could include a more intuitive interface design, better visualization for multiple vehicles, and improved ease of use to optimize operator satisfaction. Additionally, the interface requires updates to support operations involving more than two vehicles, ensuring scalability and ease of management in future implementations.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This semester, our team aimed to achieve all system-level requirements, allowing for some flexibility. Our goal was to achieve all of the desired requirements with a lenient view on some of the parameters. For example our desired FPS was 30hz but we were able to achieve around 20-22 FPS. A detailed list of our targeted requirements is given in table [&hellip;]<\/p>\n","protected":false},"author":352,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-160","page","type-page","status-publish","hentry","clearfix"],"_links":{"self":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-json\/wp\/v2\/pages\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-json\/wp\/v2\/users\/352"}],"replies":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-json\/wp\/v2\/comments?post=160"}],"version-history":[{"count":4,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-json\/wp\/v2\/pages\/160\/revisions"}],"predecessor-version":[{"id":203,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-json\/wp\/v2\/pages\/160\/revisions\/203"}],"wp:attachment":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2024teamc\/wp-json\/wp\/v2\/media?parent=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}