Jaeyoung-Lim / mavros_controllers

Aggressive trajectory tracking using mavros for PX4 enabled vehicles
BSD 3-Clause "New" or "Revised" License
400 stars 164 forks source link

I don't know where the drone's trajectory is decided. #214

Closed romaster93 closed 2 years ago

romaster93 commented 2 years ago

hi

I am studying this package. I'm looking at the example and studying the code, but I don't know what message to send the target point to the drone.

I think that in mavros_controllers/geometric_controller/src/geometric_controller.cpp, the drone with px4 can change the mode, arminig, and set the target point.

But I don't know where the command to get the drone to the target is coming from. May I ask for some advice?

Jaeyoung-Lim commented 2 years ago

@romaster93 The reference is published from the trajectory_publisher