Google has released an outstanding tool that could remarkably reduce the time and effort required to program or train robots. It is called as ‘Code as Policies’, the new tool is now available on GitHub under an open-source license.
Code as Policies or CaP understands natural languages and could help even begginers in developing programming and coding skills. The CaP tool can generate code that allows a robot to perform tasks.
Google claims its CaP tool can save time by helping programmers quickly generate robot configuration code. CaP depends on Artificial Intelligence (AI) to understand what a programmer is typing, and offers blocks of code to speed up the programming task.
If this sounds familiar to you, it is because of Microsoft’s GitHub Copilot, which was launched earlier this year. The tool has been rapidly gaining popularity. It offers suggestions to build blocks of code.
Programmers working on software can accept the ‘autocomplete’ suggestions from GitHub Copilot to quickly write large blocks of code. Microsoft’s GitHub Copilot and Google’s CaP have a lot in common. Google’s CaP writes code in the Python programming language, while Microsoft’s tool understands Python and Javascript.