mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-01 03:00:35 +08:00
adabdf42d0
We now have setPlatformVelocity, which commands a velocity command to the platform. The platform handles it with the gz::sim::systems::VelocityControl plugin. We could also set the velocity once and forget about it (has no effect if doing it directly after creating it though, need to wait a bit, 2 seconds worked). But by setting it constantly we can easily change to more realistic boat-like movement.