ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

No ROS topic between nodes in rqt_graph

asked 2021-08-13 23:42:13 -0500

MonojitSarkar gravatar image

I am a beginner in ROS, and I am working on a quadcopter project using ROS and Gazebo. To give you a bit of the background, here is what I did:

  1. I created a quadcopter CAD model in solidworks.
  2. Then I exported it as an urdf file to ROS and Gazebo.

Now my next task to move the quadcopter using python code. But when I type commands like rostopic, I don't see any valuable topic to control my quadcopter. I want the propellers to rotate so that the quadcopter can move.

In the rqt_graph, I don't see any topic between nodes.

How do I tackle it?.

edit retag flag offensive close merge delete

Comments

1

By default melodic uses gazebo9. Unless you are really using gazebo7, please fix your tag.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-08-15 08:34:04 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-08-15 08:43:52 -0500

Mike Scheutzow gravatar image

You would be better off finding someone else's working drone simulation in melodic, then modify it in small steps to use your custom model.

There are several ros modules that must all work together to fully simulate getting status and sending commands to a drone. As a beginner, you will have a steep learning curve to get this working if you start from nothing. For a first robot, my advice is to study and learn from someone else's working code.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2021-08-13 23:42:13 -0500

Seen: 78 times

Last updated: Aug 15 '21