Week 4
Connecting the exercise
RQT Widget
The bug mentioned last week hasn’t been fixed yet, and it’s nearly put the project on hold. To avoid this, I chose to focus on other projects so that the project could continue to progress. I chose to concentrate on the widget because working with Rviz required first connecting the exercise. The final widget looked like this:
Connection with the server
The issue we were facing was “Address already in use,” which means the server was either configured twice or there was a conflict while connecting the ws client and server because they both utilise the same port. I made some changes to exercise.py (removing the unnecessary routines related to GUI.py) and wolllaahh!!, the exercise was connected.
Minutes of the meet
- Start working on getting the Rviz in our exercise.
- Debug the simulation of pick and place exercise
- Create the rest of HAL APIs
- Finalize the exercise and push the changes to the master branch before first evaluation
Rviz
We decided to utilise Rviz instead of a widget after connecting the exercise to the server. Thanks to Siddharth, who had previously integrated Rviz into his project, working on Rviz was a lot easier for me. Not to mention, the diffs were created systematically to emphasise the essential adjustments, ensuring that the task went off without a hitch. The only thing I needed to do was resize the Rviz display to fit in the VNC window. This was readily accomplished by altering the rviz configuration files. One of the other minor errors I encountered was that the objects in the rviz weren’t spawning properly. After some investigation, I discovered that the time between the two threads was insufficient, which explains the issue with spawning the objects. A different thread with a longer elapsed period did an excellent job of spawning.
HAL APIs
Initially, some of the HAL APIs weren’t working properly. After some debugging, the APIs were found to be fully functional.
Gazebo Simulation
The next step was to get the simulation up and running. This should not have taken long, however due to bugs, we have yet to get the simulation to operate. The bug is most likely caused by a missing gazebo plugin(libroboticsgroup_gazebo_mimic_joint_plugin
). I’m hoping we’ll be able to fix this bug as well and finish our exercise by the end of the week.