Closed dbaldwin closed 10 months ago
Hi
Thank you there are what comes to my mind:
MAVSDK Server Version: Firstly, can you check which mavsdk_server version you're currently using? It's crucial to ensure its compatibility with the other components.
Building MAVSDK Server: Did you build mavsdk_server yourself? It's possible that the version of mavsdk_server you're using might not be in sync with the new commands added to mavsdk_python.
Position & Velocity Setpoint: You mentioned trying the position and velocity setpoint in isolation. If you encountered the same error in this scenario, it would be helpful to know if you made any changes to the inputs. For troubleshooting, I recommend modifying all offboard setpoint commands to only position and velocity. Do remember to adjust the input parameters accordingly, specifically to exclude acceleration values.
Check for Old Versions: It's also possible that the versions of mavsdk_python and mavsdk_server installed via pip might still be the older ones. These versions might not have integrated the new functions yet.
@alireza787b thanks for the assistance. Your feedback helped point me in the right direction. It turns out that my server version doesn't support acceleration setpoints, but I can work around it for now. I've modified the api calls to use only position and velocity for now. Everything works very well. You've done a great job with this repo and I'll share a video of some testing that I've done soon.
Hi, first off great job with this project. We have been doing a lot with PX4 over the years and more recently with Crazyflie swarming. I'm interested in learning more about PX4 swarming and stumbled across this repo. Unfortunately I'm running into a problem with some of the examples and errors with set_position_velocity_acceleration_ned:
I'm also seeing the same when running the offboard_position_velocity_ned.py script. My MAVSDK version is 1.4.8. Any guidance would be appreciated. Thank you.