Jaeyoung-Lim / mavros_controllers

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

Compatibility with Ardupilot Copter Firmware #174

Closed Kavin-Kailash closed 3 years ago

Kavin-Kailash commented 3 years ago

Thanks for the great work.

From the files, it is apparent that this package is intended for use with PX4 mainly. I was wondering about the compatibility with the Ardupilot Flight Stack.

Jaeyoung-Lim commented 3 years ago

@Kavin-Kailash Since it is using mavlink it should be overall compatible. However, there might be some subtle differences on how offboard control works and this has never been tested.

Kavin-Kailash commented 3 years ago

@Jaeyoung-Lim Thanks for the quick reply. From the documentation I could infer that the final setpoints sent to PX4 are mavros_msgs/AttitudeTarget and Pose Stamped , is there any way to configure geometric_controller so that in only provides a specific setpoint?

Jaeyoung-Lim commented 3 years ago

@Kavin-Kailash Yes you can. Depending on the setpoint you want to use, you can use either the trajectory_publisher or the geometric_controller