Memory Management in ROS 2
1.Examine the documents and source code of ROS 2 re
Memory Management in ROS 2
1.Examine the documents and source code of ROS 2 related to memory management. Describe the types of memory used by the ROS library, and elaborate on the methods employed to manage them, including memory allocation strategies.
2.Develop programs to assess and profile memory allocation in ROS 2 and analyze the performance.
3.We introduced the concept of the Allocation Array in class. The Allocation Array is an array of integers used to implement the allocation map. A positive number represents the number of free blocks, while a negative number indicates a range of allocated blocks.
Implement the Allocation Array in ROS. (Here is a tutorial on implementing a custom memory allocator. https://docs.ros.org/en/crystal/Tutorials/Allocato…)
