将我的drake更新到最新版本后,由于API更改,我以前的模拟代码无法工作。我想知道这个新的可视化API是否有现有的教程或示例。我在网上找到了一个类似的示例(https://github.com/RobotLocomotion/drake/issues/8576),但其中一些头文件也找不到。我之前的实现是为了可视化分段多项式轨迹的模拟,如下所示: // Make a trajectory from these waypoints (first-order hold)
d
class Controller : public drake::systems::VectorSystem<double> {
Controller(): drake::systems::VectorSystem<double>(4,2){ const drake::systems::Context<doublescene_graph.set_name("scene_graph");
c