code-iai / ROSIntegration

Unreal Engine Plugin to enable ROS Support
MIT License
411 stars 133 forks source link

How to confirm the connection to ROS works? #121

Open zhangzhaoweii opened 4 years ago

zhangzhaoweii commented 4 years ago

When I copy the code of C++ Topic Publish Example to BeginPlay() method,The project was successfully compiled in vs2019.But how can I know the connection to ROS works? Add any components of Actor in Editor or what? Thanks in advance!

mjforan commented 4 years ago

Use the ROS command line tools (rostopic sub) or RQT to subscribe to the topic you are trying to publish to. If the connection is successful you will see the message come through. In the terminal where you ran rosbridge you should also see messages about the client connecting.