Created
January 30, 2021 08:49
-
-
Save syanyong/947f106969798341e9539ed6d609a05b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import rospy | |
def main (): | |
rospy.init_node('turtle_commander', anonymous=True) | |
rate = rospy.Rate(10) # 10 Hz | |
while not rospy.is_shutdown(): | |
# TODO | |
# END | |
rate.sleep() | |
if __name__ == '__main__': | |
try: | |
main() | |
except rospy.ROSInterruptException: | |
pass | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment