July 30, 2024
Today, I began by figuring out how to fix the errors I receive when I run the lookup_transform() method. For the past few days, I kept on receiving errors that said that there was a discrepancy between the requested data time and the latest data time and that it would need to do an extrapolation into the future. To solve this, I created a list that would keep track of all of the timestamps when each list was published. Then, when I call the lookup_transform() method, I would pass the second to last timestamp into the method. This way, both of the frames that were published would have timestamps that were after the time in the method. Now, my node that subscribes to the published frames can properly publish the transforms between frames. Then, I went back to the initial part of my project about following one robot with another. I wanted to use the rqt_graph function to create a graph of the published error and then see how my controller would move it back to normal. However, when I use ...