Set Trajectory setpoint using MAVSDK

Hey everyone,
I’m aware that this has been implemented in the ROS version. But we have our own trajectory planning algorithm. We have a set of waypoints in NED format. I need some info on how I can feed these setpoints to PX4 using MAVSDK in C++.
Any inputs will be valuable for the progress.

The trajectory message is not implemented yet. Pull requests are always welcome.
Make sure to read this first: Writing Plugins · MAVSDK Guide

And check this discussion as well: Add Avoidance Plugin to MAVSDK · Issue #967 · mavlink/MAVSDK · GitHub

@JulianOes
Any plans to include this in a future release?
Also, I have a kind request for a tip from you. How can we achieve obstacle avoidance using MAVSDK?
Is taking control off-board advisable?
Awaiting for your response

It’s somewhere on my todo list far down, so unfortunately, realistically not really something I’m likely to do soon. That’s why I’m suggesting to create a pull request if you need it.

Or just use MAVROS instead which should have it.

How can we achieve obstacle avoidance using MAVSDK?

I don’t know, I haven’t tried it.

Is taking control off-board advisable?

That should be fine, yes.