💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
## 示教模式 ``` #!/usr/bin/env python import rospy from gauss_python_api.gauss_api import Gauss if __name__ == '__main__': rospy.init_node('activate_learning_mode') g = Gauss() g.activate_learning_mode(1) print "now in learning mode" rospy.spin() ``` ## 非示教模式 ``` #!/usr/bin/env python import rospy from gauss_python_api.gauss_api import Gauss if __name__ == '__main__': rospy.init_node('deactivate_learning_mode') g = Gauss() g.activate_learning_mode(0) print "now not in learning mode" rospy.spin() ```