Safety and resiliency are essential components of autonomous vehicles. In this research, we introduce ROSFI, the first robot operating system (ROS) resilience analysis methodology, to assess the ...effect of silent data corruption (SDC) on mission metrics. We use unmanned aerial vehicles (UAVs) as a case study to demonstrate that system-level parameters, such as flight time and success rate, are necessary for accurately measuring system resilience. We demonstrate that downstream ROS tasks such as planning and control are more susceptible to SDCs than the visual perception stage in the perception-planning-control (PPC) compute pipeline. This observation only becomes apparent when we consider the complete end-to-end system-level pipeline, as opposed to isolated compute kernels, as previous work does. To enhance the safety and robustness of robot systems bound by size, weight, and power (SWaP), we offer two low-overhead anomaly-based SDC detection and recovery algorithms based on Gaussian statistical models and autoencoder neural networks. Our anomaly error protection techniques are validated in numerous simulated environments. We demonstrate that the autoencoder-based technique can recover up to all failure cases in our studied scenarios with a computational overhead of no more than 0.0062%. Finally, our open-source methodology can be utilized to comprehensively test the robustness of other ROS-based applications. It is available for public download at https://github.com/harvard-edge/MAVBench/tree/mavfi .
This research delves into advancing an ultra-wideband (UWB) localization system through the integration of filtering technologies (moving average (MVG), Kalman filter (KF), extended Kalman filter ...(EKF)) with a low-pass filter (LPF). We investigated new approaches to enhance the precision and reduce noise of the current filtering methods-MVG, KF, and EKF. Using a TurtleBot robotic platform with a camera, our research thoroughly examines the UWB system in various trajectory situations (square, circular, and free paths with 2 m, 2.2 m, and 5 m distances). Particularly in the square path trajectory with the lowest root mean square error (RMSE) values (40.22 mm on the
axis, and 78.71 mm on the
axis), the extended Kalman filter with low-pass filter (EKF + LPF) shows notable accuracy. This filter stands out among the others. Furthermore, we find that integrated method using LPF outperforms MVG, KF, and EKF consistently, reducing the mean absolute error (MAE) to 3.39% for square paths, 4.21% for circular paths, and 6.16% for free paths. This study highlights the effectiveness of EKF + LPF for accurate indoor localization for UWB systems.
In this article, a self-driving vehicle controller that optimizes the path a vehicle follows from its initial position to its destination is presented. The methods include clustering-based k-means, ...hierarchical, Gaussian matrix model, and self-organizing mapping. The real-time parallel implementation of the unsupervised machine learning algorithms could provide fast response times of under one microsecond during the lateral, longitudinal, and angular motion control of the autonomous vehicle. It was observed that a random selection of one of the machine learning methods may not always guarantee the optimality of the position and velocity variables as compared to the desired values. The proposed parallel implementation and optimization of the algorithms could have a significant contribution towards making transportation mobility more reliable and sustainable for future vehicular systems.
Automated Driving Systems (ADSs) require robust and scalable control systems in order to achieve a safe, efficient and comfortable driving experience. Most global planners for autonomous vehicles ...provide as output a sequence of waypoints to be followed. This paper proposes a modular and scalable waypoint tracking controller for Robot Operating System (ROS)-based autonomous guided vehicles. The proposed controller performs a smooth interpolation of the waypoints and uses optimal control techniques to ensure robust trajectory tracking even at high speeds in urban environments (up to 50 km/h). The delays in the localization system and actuators are compensated in the control loop to stabilize the system. Forward velocity is adapted to path characteristics using a velocity profiler. The controller has been implemented as an ROS package providing scalability and exportability to the system in order to be used with a wide variety of simulators and real vehicles. We show the results of this controller using the novel and hyper realistic CARLA Simulator and carrying out a comparison with other standard and state-of-art trajectory tracking controllers.
One of the major challenges in designing an autonomous agent system is to achieve the objective of recreating human-like cognition by exploiting the growing pragmatic architectures that act ...intelligently and intuitively in vital fields. Consequently, this research addresses the general problem of designing an agent-based autonomous flight control (AFC) architecture of a UAV to facilitate autonomous routing/navigation in uncharted and unascertained environments of organized foyer surroundings. The specific problem of this research is the indoor environment because of the perplexing characteristics of the required flight mechanics. We design the AFC agent architecture to consist of data acquisition, perception, localization, mapping, control, and planning modules. The AFC agent performs search and survey missions that entail commanding the UAV while performing object classifications and recognition tasks. The agent implements several image handling algorithms to detect and identify objects from their colors and shapes. It captures the video images acquired from a solitary onboard, front-facing camera which are handled off-board on a computer. We conduct tests on the AFC agent, and the results show that the agent successfully controls the UAV in three performed test cases and a total of nine implemented missions. The AFC agent detects and identifies all the assigned objects with a recall score of 1.00, a precision score of 0.9563, an accuracy score of 0.9573, an F1 score of 0.9776, an efficiency score of 0.5239, a detection total time score of 225.5 s, and an identification total time of 275 s and outperforms a human operator.
Real-time flight controllers are becoming dependent on general-purpose operating systems, as the modularity and complexity of guidance, navigation, and control systems and algorithms increases. The ...non-deterministic nature of operating systems creates a critical weakness in the development of motion control systems for robotic platforms due to the random delays introduced by operating systems and communication networks. The high-speed operation and sensitive dynamics of UAVs demand fast and near-deterministic communication between the sensors, companion computer, and flight control unit (FCU) in order to achieve the required performance. In this paper, we present a method to assess communications latency between a companion computer and an RTOS open-source flight controller, which is based on an XRCE-DDS bridge between clients hosted in the low-resource environment and the DDS network used by ROS2. A comparison based on the measured statistics of latency illustrates the advantages of XRCE-DDS compared to the standard communication method based on MAVROS-MAVLink. More importantly, an algorithm to estimate latency offset and clock skew based on an exponential moving average filter is presented, providing a tool for latency estimation and correction that can be used by developers to improve synchronization of processes that rely on timely communication between the FCU and companion computer, such as synchronization of lower-level sensor data at the higher-level layer. This addresses the challenges introduced in GNC applications by the non-deterministic nature of general-purpose operating systems and the inherent limitations of standard flight controller hardware.
The communication system is a critical part of the system design for the autonomous Unmanned Aerial Vehicle (UAV). It has to address different considerations, including efficiency, reliability and ...mobility of the UAV. In addition, a multi-UAV system requires a communication system to assist information sharing, task allocation and collaboration in a team of UAVs. In this paper, we review communication solutions for supporting a team of UAVs while considering an application in the power line inspection industry. We provide a review of candidate wireless communication technologies for supporting communication in UAV applications. Performance measurements and UAV-related channel modeling of those candidate technologies are reviewed. A discussion of current technologies for building UAV mesh networks is presented. We then analyze the structure, interface and performance of robotic communication middleware, ROS and ROS2. Based on our review, the features and dependencies of candidate solutions in each layer of the communication system are presented.
Predictive maintenance is a proactive approach to maintenance in which equipment and machinery are monitored and analyzed to predict when maintenance is needed. Instead of relying on fixed schedules ...or reacting to breakdowns, predictive maintenance uses data and analytics to determine the appropriate time to perform maintenance activities. In industrial applications, machine boxes can be used to collect and transmit the feature information of manufacturing machines. The collected data are essential to identify the status of working machines. This paper investigates the design and implementation of a machine box based on the ROS framework. Several types of communication interfaces are included that can be adopted to different sensor modules for data sensing. The collected data are used for the application on predictive maintenance. The key concepts of predictive maintenance include data collection, a feature analysis, and predictive models. A correlation analysis is crucial in a feature analysis, where the dominant features can be determined. In this work, linear regression, a neural network, and a decision tree are adopted for model learning. Experimental results illustrate the feasibility of the proposed smart machine box. Also, the remaining useful life can be effectively predicted according to the trained models.
An object pick-and-place system with a camera, a six-degree-of-freedom (DOF) robot manipulator, and a two-finger gripper is implemented based on the robot operating system (ROS) in this paper. A ...collision-free path planning method is one of the most fundamental problems that has to be solved before the robot manipulator can autonomously pick-and-place objects in complex environments. In the implementation of the real-time pick-and-place system, the success rate and computing time of path planning by a six-DOF robot manipulator are two essential key factors. Therefore, an improved rapidly-exploring random tree (RRT) algorithm, named changing strategy RRT (CS-RRT), is proposed. Based on the method of gradually changing the sampling area based on RRT (CSA-RRT), two mechanisms are used in the proposed CS-RRT to improve the success rate and computing time. The proposed CS-RRT algorithm adopts a sampling-radius limitation mechanism, which enables the random tree to approach the goal area more efficiently each time the environment is explored. It can avoid spending a lot of time looking for valid points when it is close to the goal point, thus reducing the computing time of the improved RRT algorithm. In addition, the CS-RRT algorithm adopts a node counting mechanism, which enables the algorithm to switch to an appropriate sampling method in complex environments. It can avoid the search path being trapped in some constrained areas due to excessive exploration in the direction of the goal point, thus improving the adaptability of the proposed algorithm to various environments and increasing the success rate. Finally, an environment with four object pick-and-place tasks is established, and four simulation results are given to illustrate that the proposed CS-RRT-based collision-free path planning method has the best performance compared with the other two RRT algorithms. A practical experiment is also provided to verify that the robot manipulator can indeed complete the specified four object pick-and-place tasks successfully and effectively.