Commit be90810b authored by CactusSoyeux's avatar CactusSoyeux
Browse files

Ajout du noeud change_node et ajout du mode ralenti

parent ed7380d9
#ROS imports
import rospy
from cv_bridge import CvBridge
#Pub types
from std_msgs.msg import String
class Change:
def __init__(self):
#ROS Node init
rospy.init_node('anafi_change_control', anonymous=True) = CvBridge()
self.loop_rate = rospy.Rate(10)
#ROS Publishers init
self.vel_pub = rospy.Publisher('ctrl_mode', String, queue_size=2)
def start(self):
rospy.loginfo("ROS Change control: Start")
while not rospy.is_shutdown():
def stop(self):
rospy.loginfo("ROS Change control: End")
if __name__ == "__main__":
change_ctrl = Change()
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment