Journalism of Courage
Advertisement
Premium

Microsoft uses ChatGPT’s programming skills to fly drone in new experiment

The Redmond-based company experimented with using OpenAI’s ChatGPT as an intermediary between humans and assistive robots.

3 min read
microsoft chatgpt robot programmingMicrosoft researchers program a robot to build the company logo using ChatGPT (Image: Microsoft)
Listen to this article Your browser does not support the audio element.

OpenAI’s ChatGPT has already proved its mettle by generating essays that look like they were written by humans, and basic programming. But Microsoft has figured out that the AI chatbot can also play a role in human-to-robot interactions. Most of the code written to control robots today is hand-written and Microsoft wants to change that. The company is experimenting with using ChatGPT as an intermediary between humans and assistive robots.

In a blog post, Microsoft notes the difficulties associated with programming robots the traditional way. Current robotics pipelines begin with an engineer translating a task’s requirements into code for the system. The engineer writes code and then re-writes it to correct a bot’s behaviour until it’s perfected. The process is tedious, expensive, and inefficient.

ChatGPT can be used to simplify this process significantly, allowing even non-technical users to program robots. High-level feedback (commands in plain English) can be provided to ChatGPT, which will then generate code, mostly in Python, for controlling the robot accordingly. “Without any fine-tuning we leverage the LLM’s knowledge to control different robots form factors for a variety of tasks,” adds the blog post.

As a demo for this technique, Microsoft has shared a video where ChatGPT wrote code to control a real drone from simple prompts inputted by the user. While the objects that the robot interacted with were pre-defined to ChatGPT along with their positional data, the results were remarkable.

For example, the prompt “I am still thirsty. Can you find something with sugar and a red logo?” got ChatGPT to understand that the user is referring to the can of coke in the room. The AI chatbot then programmed the bot to navigate the room toward the can.

The researchers also noted in their blog post that “ChatGPT asked clarification questions when the user’s instructions were ambiguous, and wrote complex code structures for the drone such as a zig-zag pattern to visually inspect shelves.”

ChatGPT can write code because it was trained on vast amounts of data, which also included code. The chatbot has already proven its ability to solve coding problems while also giving out detailed explanations for them — and also seeking clarifications wherever necessary.

Story continues below this ad

Aside from the drone experiment, Microsoft researchers also tested ChatGPT to use a robotic arm to move around blocks to create the Microsoft logo. They also tested if ChatGPT is able to decide where the robot should go based on sensor feedback in real-time.

Technology on smartphone reviews, in-depth reports on privacy and security, AI, and more. We aim to simplify the most complex developments and make them succinct and accessible for tech enthusiasts and all readers. Stay updated with our daily news stories, monthly gadget roundups, and special reports and features that explore the vast possibilities of AI, consumer tech, quantum computing, etc.on smartphone reviews, in-depth reports on privacy and security, AI, and more. We aim to simplify the most complex developments and make them succinct and accessible for tech enthusiasts and all readers. Stay updated with our daily news stories, monthly gadget roundups, and special reports and features that explore the vast possibilities of AI, consumer tech, quantum computing, etc.

Tags:
  • artificial intelligence microsoft
Edition
Install the Express App for
a better experience
Featured
Trending Topics
News
Multimedia
Follow Us
Trump’s gamble in IranImplications for the US, its allies, and a weakened Tehran
X