The invention provides an education and entertainment robot based on an ROS framework. A speech recognition module, a power management module, a sensor module, a function module and a motion control module are connected with a decision making module provided with an ROS. A human-computer interaction platform provided with an ROS is connected with the decision making module through a communication module. Meanwhile, identical ROS masters are arranged on a Raspberry Pi 3 of the human-computer interaction platform and a Raspberry Pi 3 of the decision making module, and mutual communication of nodes on the human-computer interaction platform and nodes on the robot is achieved. The communication module comprises a USB communication terminal and a data transmission communication terminal. Based on the ROS framework, a command is sent to the robot through the human-computer interaction platform, then bottom-driven control, remote control, autonomous obstacle avoidance, autonomous line patrol, automatic following, various LED lamp control, multipath signal collecting, ultrasonic distance measurement and other functions are achieved, in addition, open source codes are adopted, secondary development is facilitated, the development difficulty is lowered, and the development process is accelerated.