blocks: fix set_yaw block implementation (#487)

This commit is contained in:
Oleg Kalachev
2023-03-27 19:18:21 +03:00
parent 4c576ba5d4
commit ae05710a37

View File

@@ -83,6 +83,9 @@ function generateROSDefinitions() {
if (rosDefinitions.navigateGlobal) {
code += `navigate_global = rospy.ServiceProxy('navigate_global', srv.NavigateGlobal)\n`;
}
if (rosDefinitions.setYaw) {
code += `set_yaw = rospy.ServiceProxy('set_yaw', srv.SetYaw)\n`;
}
if (rosDefinitions.setVelocity) {
code += `set_velocity = rospy.ServiceProxy('set_velocity', srv.SetVelocity)\n`;
}