{"id":38,"date":"2025-09-25T17:26:49","date_gmt":"2025-09-25T17:26:49","guid":{"rendered":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/?page_id=38"},"modified":"2026-04-09T23:18:51","modified_gmt":"2026-04-09T23:18:51","slug":"design-choices","status":"publish","type":"page","link":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/design-choices\/","title":{"rendered":"Design Choices"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Hardware:<\/h2>\n\n\n\n<p><strong>RPLIDAR A1<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"http:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/rplidar-a1-1-1024x768.jpg\" alt=\"\" class=\"wp-image-39\" style=\"width:313px;height:auto\" srcset=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/rplidar-a1-1-1024x768.jpg 1024w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/rplidar-a1-1-300x225.jpg 300w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/rplidar-a1-1-768x576.jpg 768w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/rplidar-a1-1-1536x1152.jpg 1536w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/rplidar-a1-1.jpg 1600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The RPLIDAR A1 is a 360\u00b0 2D laser scanner capable of mapping the surroundings in real time. It provides distance measurements up to 12 meters, which makes it well-suited for obstacle detection and environment awareness in small-scale robotics.<\/p>\n\n\n\n<p><br><em>Why we chose it:<\/em> It offers a balance of affordability, accuracy, and ease of integration with ROS, making it a practical option for our racecar\u2019s perception system.<\/p>\n\n\n\n<p><strong>Inertial Measurement Unit (IMU)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/components-of-inertial-measurement-unit.jpg\" alt=\"\" class=\"wp-image-40\" style=\"width:301px;height:auto\" srcset=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/components-of-inertial-measurement-unit.jpg 600w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/components-of-inertial-measurement-unit-300x300.jpg 300w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/components-of-inertial-measurement-unit-150x150.jpg 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>The IMU combines accelerometers, gyroscopes, and magnetometers to track motion, orientation, and angular velocity. This data is essential for localization and stability when the car is moving or turning.<\/p>\n\n\n\n<p><br><em>Why we chose it:<\/em> The IMU improves navigation by filling in gaps when LiDAR data alone is insufficient (such as quick turns or uneven surfaces). Similar to the LIDAR, the IMU also integrates smoothly with ROS.<\/p>\n\n\n\n<p><strong>Raspberry Pi 4 Model B<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"611\" src=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/screenshot-31-1024x611.jpg\" alt=\"\" class=\"wp-image-41\" style=\"width:419px;height:auto\" srcset=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/screenshot-31-1024x611.jpg 1024w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/screenshot-31-300x179.jpg 300w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/screenshot-31-768x458.jpg 768w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/screenshot-31.jpg 1173w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The Raspberry Pi is a compact single-board computer that provides enough processing power to run Linux, ROS, and real-time sensor communication. It also supports peripheral connections like USB and GPIO for controlling motors and reading sensor data.<\/p>\n\n\n\n<p><br><em>Why we chose it:<\/em> The Raspberry Pi is a very flexible microcontroller with strong community support. It allows us to run our software stack directly on the car without needing bulky external computing hardware.<\/p>\n\n\n\n<p><strong>Arduino Uno R3<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"600\" src=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/11\/Arduino_Uno_-_R3.jpg\" alt=\"\" class=\"wp-image-83\" style=\"width:346px;height:auto\" srcset=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/11\/Arduino_Uno_-_R3.jpg 600w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/11\/Arduino_Uno_-_R3-300x300.jpg 300w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/11\/Arduino_Uno_-_R3-150x150.jpg 150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>The Arduino Uno R3 is an 8-bit microcontroller board based on the ATmega328P. It offers digital and analog I\/O, a 16 MHz clock, and simple USB-to-serial communication, making it ideal for reading sensors and generating control signals.<\/p>\n\n\n\n<p><em>Why we chose it:<\/em> The Uno handles time-critical tasks like encoder reading and motor PWM, reducing load on the Raspberry Pi and improving responsiveness. Its reliability, ease of use, and strong community support make integration straightforward.<\/p>\n\n\n\n<p><strong>HC-SR04 Ultrasonic Sensor<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"550\" src=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2026\/04\/image-8.png\" alt=\"\" class=\"wp-image-115\" style=\"width:240px;height:auto\" srcset=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2026\/04\/image-8.png 600w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2026\/04\/image-8-300x275.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/figure>\n\n\n\n<p>The HC-SR04 is an ultrasonic distance sensor that measures the distance to nearby objects using high-frequency sound waves. It works by sending out a pulse and timing how long it takes for the echo to return, allowing the system to calculate distance.<\/p>\n\n\n\n<p><em>Why we chose it:  <\/em>The HC-SR04 is low cost and provides reliable short-range detection. It is used to detect obstacles at lower elevations than the LiDAR and to allow for the detection of transparent objects. Its ease of integration with the Arduino and minimal processing requirements make it well-suited for real-time embedded applications.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Software:<\/h2>\n\n\n\n<p><strong>Ubuntu with ROS<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"642\" src=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/26497450-hero-1024x642.jpg\" alt=\"\" class=\"wp-image-42\" style=\"width:467px;height:auto\" srcset=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/26497450-hero-1024x642.jpg 1024w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/26497450-hero-300x188.jpg 300w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/26497450-hero-768x481.jpg 768w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/26497450-hero-1536x963.jpg 1536w, https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-content\/uploads\/sites\/307\/2025\/09\/26497450-hero.jpg 1800w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Ubuntu is a lightweight Linux operating system widely used in robotics. ROS (Robot Operating System) is a middleware framework that manages communication between sensors, algorithms, and actuators. Together, they provide a flexible platform for developing robotic systems.<\/p>\n\n\n\n<p><br><em>Why we chose it:<\/em> ROS comes with drivers and libraries for both the RPLIDAR and IMU, making the integration relatively straightforward. It also makes it easier to modify, expand, or debug our setup as the project develops, giving us both reliability and long-term flexibility.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hardware: RPLIDAR A1 The RPLIDAR A1 is a 360\u00b0 2D laser scanner capable of mapping the surroundings in real time. It provides distance measurements up to 12 meters, which makes it well-suited for obstacle detection and environment awareness in small-scale robotics. Why we chose it: It offers a balance of affordability, accuracy, and ease of &hellip; <a href=\"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/design-choices\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Design Choices<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":713,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-38","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-json\/wp\/v2\/pages\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-json\/wp\/v2\/users\/713"}],"replies":[{"embeddable":true,"href":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":0,"href":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-json\/wp\/v2\/pages\/38\/revisions"}],"wp:attachment":[{"href":"https:\/\/engprojects.tcnj.edu\/autonomous-racecar-2026\/wp-json\/wp\/v2\/media?parent=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}