If _name_ = “_main_”:# Burada bir robot nesnesi oluşturuyor onu baslat için döndürüyoruzrobot = Robot()baslat(robot) Robot: library to define external devices such as sensorsĬameraRecognitionObject: Library that will enable us to define on the camera I’m going to code our code with Python language, I start by including the libraries first.įrom controller import Robot,CameraRecognitionObject This means that it will only recognize objects in Red color. And under Recognition we set the FrameColor values to 1,0,0. Right click on our camera again and say add new. Here we add a camera to our e-puc robot via turretslot and change its name from the standard ‘camera’ like ‘camera1’. This controller will manage our sensors, devices and determine the working logic. It is easy to use with it comes with many sample projects.Īfter creating our project, we add a controller to our e-puc robot from the Wizards tab → New Robot Controller → A Programming Language You Want → Controller Name.Īnd we add this from our e-puc robot area on the right. ![]() Being able to use many different programming languages in controller designs of robots. There are many aspects of Webots being famous: ![]() Webots can be summarized as an open source software used to simulate mobile robots that are common to many operating systems. It is a mini robot with many features such as battery and bluetooh. In this article, we will use the e-puc traning robot via Webots.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |