ROS in 5 days: not publishing in /drone/takeoff

@p.thapa,
Things you can check:

  • You need to have the action server running (in a separate shell) as indicated.
  • Try creating a publisher to /drone/takeoff/ instead of drone/takeoff/. Same with the “land” topic.
  • Publishing once to a topic might not work, the way you have done it. This was mentioned in the Data for the exercise. See how to publish once to a topic and ensure it works: