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 Remmina, it keeps on freezing when I try to use rqt_graph while running the other nodes. Is there a way to combat this? Also, I created a script on one robot that would have it follow a zigzag path. I wanted to have the other robot follow the zigzag robot, but I realized that its movements were very violent and that I would have to retune the controller. However, when I make changes to the node and then run the colcon build function to get the launch files ready, many errors regarding the CMakeLists appear. I was unable to debug and fix these errors, so I was wondering how could I solve this issue.
I also have a question about where to go from here for the mapping. Initially, I thought that I could just first have a static frame that points towards magnetic north, and then use the IMU data to find the transform between the tag and the robot and the north frame, however the IMU updates its position very slowly, so I do not think that is possible. I can try to do something similar to Liam where I find the transforms between adjacent tags, but I was wondering whether there is any simpler method, especially because I have such little time left.
Comments
Post a Comment