Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以添加 GPS 节点?这似乎是最简单的答案。
我在创建主管方面也取得了一些进展,但是我怎样才能让主管控制器和差速轮控制器同时运行呢?
为了追踪它的路径,我需要每隔几秒钟获得一次真实的位置。
在场景树中,单击 children,然后添加新的,选择 GPS 节点。保存并刷新 webbots。
要激活和访问 gps 值:
gps = wb_robot_get_device('gps') wb_gps_enable(gps, 10) % read every 10 milliseconds. wb_gps_get_values(gps)