[ROS] Simple Python Node
rospy λ Έλλ₯Ό λ§λ€μ΄λ³΄μ
import rospy
from sensor_msgs.msg import Imu
rospy.init_node('python_node')
sub = rospy.Subscribe('Topic name', Msg, callbackName)
rospy.spin()
rospy λ Έλλ₯Ό λ§λ€μ΄λ³΄μ
import rospy
from sensor_msgs.msg import Imu
rospy.init_node('python_node')
sub = rospy.Subscribe('Topic name', Msg, callbackName)
rospy.spin()
Leave a comment