Hi, I have been using PyBullet in my engineering thesis and recently noticed that you have made the ROS-PyBullet Interface code available. I was very comfortable using Pybullet, but at the time I was surprised why it was not available as a ROS package. I see that the ROS 2 branch is in early development, so I decided to add something from myself.
Description
I took care of the GUI implementation in the form of the rqt plugin. The reference point for me was the rpbi_controls_node.py file from main branch of ros_pybullet_interface repository.
When the Start, Step, or Stop button is pressed, an attempt is made to connect to the corresponding service server. The GUI code using the tkinter library used the get_srv_handler() function from the custom_ros_tools package. I created an analogous function so as not to immediately rewrite the entire custom_ros_tools repository to ROS 2.
Pressing the Send button does nothing. This is because the value of the robot_name parameter is used when handling the press event of this button. In ROS 2 the concept of parameters has been completely changed. There is no global parameter anymore. Each parameter is specific to a node. This issue requires careful consideration.
Screenshot
How to run
In the root of your workspace build ros_pybullet_rqt_plugin package and source setup file.
Motivation
Hi, I have been using PyBullet in my engineering thesis and recently noticed that you have made the ROS-PyBullet Interface code available. I was very comfortable using Pybullet, but at the time I was surprised why it was not available as a ROS package. I see that the ROS 2 branch is in early development, so I decided to add something from myself.
Description
I took care of the GUI implementation in the form of the rqt plugin. The reference point for me was the rpbi_controls_node.py file from
main
branch of ros_pybullet_interface repository.robot_name
parameter is used when handling the press event of this button. In ROS 2 the concept of parameters has been completely changed. There is no global parameter anymore. Each parameter is specific to a node. This issue requires careful consideration.Screenshot
How to run
ros_pybullet_rqt_plugin
package and source setup file.rqt
command) and navigate to Plugins :arrow_right: Introspection :arrow_right: PyBullet Interface Controls-s
(standalone) flagMy setup
Tools used in the development
How to test
You can test whether the status information is displayed correctly by publishing a message on the
rpbi/status
topic.