Welcome to the Community!
Please check for the following:
- Did you create a publisher for the
cmd_vel
topic? - Also, did you take off the drone before trying to move it? You need to create a separate publisher for this as well.
- Please also take note that publishing to a topic once might not work. See this post on how to publish once and get it to work.