• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Monday, June 2, 2025
Techcratic
  • TC
  • AI
    Artificial Intelligence

    World-Consistent Video Diffusion With Explicit 3D Modeling

    Artificial Intelligence

    Deploy Amazon SageMaker Projects with Terraform Cloud

    Artificial Intelligence

    Data Science ETL Pipelines with DuckDB

    Artificial Intelligence

    New Amazon Bedrock Data Automation capabilities streamline video and audio analysis

    Artificial Intelligence

    Surprising Things You Can Do with Python’s csv Module

    Artificial Intelligence

    Set up a custom plugin on Amazon Q Business and authenticate with Amazon Cognito to interact with backend systems

    Artificial Intelligence

    StreamBridge: Turning Your Offline Video Large Language Model into a Proactive Streaming Assistant

    Artificial Intelligence

    3 Excellent Practical Generative AI Courses

    Artificial Intelligence

    Building End-to-End Data Pipelines with Dask

  • Crypto
    Russia Considers Crypto for Settling Grain Exports

    Russia Considers Crypto for Settling Grain Exports

    Crypto to “Become Part of All Sectors” Under Trump: Kevin O’Leary

    XChat Feature Comes With ‘Bitcoin Style’ Encryption: Elon Musk

    Bitcoin Reserve Chaos: Pakistan’s Big Reveal Crushed by Own Government

    Bitcoin Reserve Chaos: Pakistan’s Big Reveal Crushed by Own Government

    Bitcoin Donation Scandal Rocks Czech Republic: Did the State Unknowingly Launder Millions?

    Bitcoin Donation Scandal Rocks Czech Republic: Did the State Unknowingly Launder Millions?

    Did You Order Price Discovery?

    Did You Order Price Discovery?

    JPMorgan CEO: US Shouldn’t Stockpile Bitcoin—We Need Bullets and Guns, Not Crypto

    JPMorgan CEO: US Shouldn’t Stockpile Bitcoin—We Need Bullets and Guns, Not Crypto

    Libra Case Update: $57 Million Frozen, Investigations Progress

    Libra Case Update: $57 Million Frozen, Investigations Progress

    Latam Insights: Bolivia Bans Crypto Energy Transactions, Panama Accelerates Bitcoin Adoption

    Latam Insights: Bolivia Bans Crypto Energy Transactions, Panama Accelerates Bitcoin Adoption

    Best Presales to Buy Today – Which Coins Are Poised for a Breakout?

    HABE Launches Ethereum-Based Platform for Creative Project Funding

  • Cybersecurity
    Cybersecurity

    New Linux Flaws Allow Password Hash Theft via Core Dumps in Ubuntu, RHEL, Fedora

    Cybersecurity

    Czech Republic Blames China-Linked APT31 Hackers for 2022 Cyberattack

    Cybersecurity

    Microsoft OneDrive File Picker Flaw Grants Apps Full Cloud Access — Even When Uploading Just One File

    Cybersecurity

    251 Amazon-Hosted IPs Used in Exploit Scan Targeting ColdFusion, Struts, and Elasticsearch

    Cybersecurity

    Apple Blocks $9 Billion in Fraud Over 5 Years Amid Rising App Store Threats

    Cybersecurity

    New Self-Spreading Malware Infects Docker Containers to Mine Dero Cryptocurrency

    Cybersecurity

    How to Deploy AI More Securely at Scale

    Cybersecurity

    FBI Alerts Law Firms to Luna Moth’s Stealth Phishing Campaign

    Cybersecurity

    Russia-Linked Hackers Target Tajikistan Government with Weaponized Word Documents

  • Deals
    VIVO Quick Attach VESA Adapter Plate Mounting Bracket Designed for Compatible Acer and…

    VIVO Quick Attach VESA Adapter Plate Mounting Bracket Designed for Compatible Acer and…

    Sceptre IPS 27 Inch 2K 2560 x 1440p QHD 75Hz DisplayPort HDMI 99% sRGB Build-in Speakers…

    Sceptre IPS 27 Inch 2K 2560 x 1440p QHD 75Hz DisplayPort HDMI 99% sRGB Build-in Speakers…

    Athena Collection Ergonomic Gaming Chair, Gaming Computer Chair with Footrest & Lumbar…

    Athena Collection Ergonomic Gaming Chair, Gaming Computer Chair with Footrest & Lumbar…

    Nintendo Selects: New Super Mario Bros. Wii (Nintendo Wii) (Renewed)

    Nintendo Selects: New Super Mario Bros. Wii (Nintendo Wii) (Renewed)

    The Crew Motorfest for Xbox One

    The Crew Motorfest for Xbox One

    Western Digital WD5000AAKX 500GB SATA Hard Drives (Renewed)

    Western Digital WD5000AAKX 500GB SATA Hard Drives (Renewed)

    TOSHIBA 65-inch Class C350 Series LED 4K UHD Smart Fire TV with Alexa Voice Remote…

    TOSHIBA 65-inch Class C350 Series LED 4K UHD Smart Fire TV with Alexa Voice Remote…

    Samsung Electronics Galaxy Note 20 Ultra 5G N986U Android Cell Phone, US Version, 128GB…

    Samsung Electronics Galaxy Note 20 Ultra 5G N986U Android Cell Phone, US Version, 128GB…

    AOHI Magcube 140W USB C Charger PD3.1 3-Port GaN+ Laptop Wall Charger 100W Fast Charging…

    AOHI Magcube 140W USB C Charger PD3.1 3-Port GaN+ Laptop Wall Charger 100W Fast Charging…

  • Gaming
    11 Tips EVERY Diablo 4 Player Should Know For Vessel Of Hatred

    11 Tips EVERY Diablo 4 Player Should Know For Vessel Of Hatred

    Hellia Speaks: Sonic frontiers review

    Hellia Speaks: Sonic frontiers review

    Gotham Knights PS5 GAMEPLAY AND REVIEW | BATMAN | RED HOOD | BATGIRL | ROBIN | NIGHTWING

    Gotham Knights PS5 GAMEPLAY AND REVIEW | BATMAN | RED HOOD | BATGIRL | ROBIN | NIGHTWING

    GUNGRAVE G.O.R.E. | 2022 | SHOOT 'EM ACTION ADVENTURE | PC | Introduction

    GUNGRAVE G.O.R.E. | 2022 | SHOOT 'EM ACTION ADVENTURE | PC | Introduction

    D&D podcasters 3D printed a giant model of Castle Ravenloft, from Curse of Strahd, and it’s truly beautiful

    D&D podcasters 3D printed a giant model of Castle Ravenloft, from Curse of Strahd, and it’s truly beautiful

    Assassin's Creed 3: La Historia en 1 Video

    REACTING to THE SUPER MARIO BROS. MOVIE (SECOND TRAILER)

    REACTING to THE SUPER MARIO BROS. MOVIE (SECOND TRAILER)

    Hogwarts Legacy (Switch) Review

    Hogwarts Legacy (Switch) Review

    Fortnite CAPITULO 6 TEMPORADA 2: PASE de BATALLA *REVELADO*!

    Fortnite CAPITULO 6 TEMPORADA 2: PASE de BATALLA *REVELADO*!

  • Tesla

    Tesla (TSLA) sales crash in France even with new Model Y

    Tesla’s Full Self-Driving computer failure is leaving customers in bad situations

    Tesla has no plan for HW3 owners 4 months after admitting it won’t support self-driving

    Bed Rail Hooks Compatible with 2024+ Tesla Cybertruck L Track Accessories Cybertruck…

    Bed Rail Hooks Compatible with 2024+ Tesla Cybertruck L Track Accessories Cybertruck…

    2 in 1 J1772 and CCS Adapter for Tesla Cybertruck and 2020+ Models 3/Y/S/X – CCS1 &…

    2 in 1 J1772 and CCS Adapter for Tesla Cybertruck and 2020+ Models 3/Y/S/X – CCS1 &…

    G-PLUS Trunk Mat Cargo Liner Compatible with Tesla Cybertruck 2023 2024 2025 TPE Trunk…

    G-PLUS Trunk Mat Cargo Liner Compatible with Tesla Cybertruck 2023 2024 2025 TPE Trunk…

    Waterproof 420D Oxford Fabric Car Cover fit Tesla Cybertruck – Reinforced PU Coating,…

    Waterproof 420D Oxford Fabric Car Cover fit Tesla Cybertruck – Reinforced PU Coating,…

    2025 Upgraded Cybertruck Roof Sunshade Heat-Insulating, UV-Protective, Nano-Reflective…

    2025 Upgraded Cybertruck Roof Sunshade Heat-Insulating, UV-Protective, Nano-Reflective…

    Spigen Side Camera Protection Cover Designed for New Tesla Model Y 2025 Refresh…

    Spigen Side Camera Protection Cover Designed for New Tesla Model Y 2025 Refresh…

    Lectron Tesla NACS Electric Vehicle Charger Nozzle Holster Dock & J-Hook for Cable…

    Lectron Tesla NACS Electric Vehicle Charger Nozzle Holster Dock & J-Hook for Cable…

  • UFO
    ENORMOUS UFO Descends with Humanoid Figure | Ancient Aliens | #Shorts

    ENORMOUS UFO Descends with Humanoid Figure | Ancient Aliens | #Shorts

    The Archaic Revival: Speculations on Psychedelic Mushrooms, the Amazon, Virtual Reality, UFOs, Evolution, Shamanism, the Rebirth of the Goddess, and the End of History

    The Archaic Revival: Speculations on Psychedelic Mushrooms, the Amazon, Virtual Reality, UFOs, Evolution, Shamanism, the Rebirth of the Goddess, and the End of History

    Experiences Of A Sasquatch Contactee –  Part 5    [ EP-227]

    Experiences Of A Sasquatch Contactee – Part 5 [ EP-227]

    RUMOR: The Plot of Intergalactic Heretic Prophet Was LEAKED!

    RUMOR: The Plot of Intergalactic Heretic Prophet Was LEAKED!

    Batman: The Complete Television Series [DVD]

    Batman: The Complete Television Series [DVD]

    Space Exploration Experiment. #space #science

    Space Exploration Experiment. #space #science

    Ghost Hunting USA’s Most Evil Prison (w/ Sam & Colby)

    Ghost Hunting USA’s Most Evil Prison (w/ Sam & Colby)

    K600GPS Drone with Camera for Adults, 4.5 inch LCD RC Screen, 32G SD Card, GPS Drone Auto Return, Gesture Flight, Brushless Motor, Optical Flow,3 Speeds for Adults/Beginners, Under 249g

    K600GPS Drone with Camera for Adults, 4.5 inch LCD RC Screen, 32G SD Card, GPS Drone Auto Return, Gesture Flight, Brushless Motor, Optical Flow,3 Speeds for Adults/Beginners, Under 249g

    Belal Muhammad wants the answer to this conspiracy theory LOL #shorts #ufc

    Belal Muhammad wants the answer to this conspiracy theory LOL #shorts #ufc

No Result
View All Result
  • TC
  • AI
    Artificial Intelligence

    World-Consistent Video Diffusion With Explicit 3D Modeling

    Artificial Intelligence

    Deploy Amazon SageMaker Projects with Terraform Cloud

    Artificial Intelligence

    Data Science ETL Pipelines with DuckDB

    Artificial Intelligence

    New Amazon Bedrock Data Automation capabilities streamline video and audio analysis

    Artificial Intelligence

    Surprising Things You Can Do with Python’s csv Module

    Artificial Intelligence

    Set up a custom plugin on Amazon Q Business and authenticate with Amazon Cognito to interact with backend systems

    Artificial Intelligence

    StreamBridge: Turning Your Offline Video Large Language Model into a Proactive Streaming Assistant

    Artificial Intelligence

    3 Excellent Practical Generative AI Courses

    Artificial Intelligence

    Building End-to-End Data Pipelines with Dask

  • Crypto
    Russia Considers Crypto for Settling Grain Exports

    Russia Considers Crypto for Settling Grain Exports

    Crypto to “Become Part of All Sectors” Under Trump: Kevin O’Leary

    XChat Feature Comes With ‘Bitcoin Style’ Encryption: Elon Musk

    Bitcoin Reserve Chaos: Pakistan’s Big Reveal Crushed by Own Government

    Bitcoin Reserve Chaos: Pakistan’s Big Reveal Crushed by Own Government

    Bitcoin Donation Scandal Rocks Czech Republic: Did the State Unknowingly Launder Millions?

    Bitcoin Donation Scandal Rocks Czech Republic: Did the State Unknowingly Launder Millions?

    Did You Order Price Discovery?

    Did You Order Price Discovery?

    JPMorgan CEO: US Shouldn’t Stockpile Bitcoin—We Need Bullets and Guns, Not Crypto

    JPMorgan CEO: US Shouldn’t Stockpile Bitcoin—We Need Bullets and Guns, Not Crypto

    Libra Case Update: $57 Million Frozen, Investigations Progress

    Libra Case Update: $57 Million Frozen, Investigations Progress

    Latam Insights: Bolivia Bans Crypto Energy Transactions, Panama Accelerates Bitcoin Adoption

    Latam Insights: Bolivia Bans Crypto Energy Transactions, Panama Accelerates Bitcoin Adoption

    Best Presales to Buy Today – Which Coins Are Poised for a Breakout?

    HABE Launches Ethereum-Based Platform for Creative Project Funding

  • Cybersecurity
    Cybersecurity

    New Linux Flaws Allow Password Hash Theft via Core Dumps in Ubuntu, RHEL, Fedora

    Cybersecurity

    Czech Republic Blames China-Linked APT31 Hackers for 2022 Cyberattack

    Cybersecurity

    Microsoft OneDrive File Picker Flaw Grants Apps Full Cloud Access — Even When Uploading Just One File

    Cybersecurity

    251 Amazon-Hosted IPs Used in Exploit Scan Targeting ColdFusion, Struts, and Elasticsearch

    Cybersecurity

    Apple Blocks $9 Billion in Fraud Over 5 Years Amid Rising App Store Threats

    Cybersecurity

    New Self-Spreading Malware Infects Docker Containers to Mine Dero Cryptocurrency

    Cybersecurity

    How to Deploy AI More Securely at Scale

    Cybersecurity

    FBI Alerts Law Firms to Luna Moth’s Stealth Phishing Campaign

    Cybersecurity

    Russia-Linked Hackers Target Tajikistan Government with Weaponized Word Documents

  • Deals
    VIVO Quick Attach VESA Adapter Plate Mounting Bracket Designed for Compatible Acer and…

    VIVO Quick Attach VESA Adapter Plate Mounting Bracket Designed for Compatible Acer and…

    Sceptre IPS 27 Inch 2K 2560 x 1440p QHD 75Hz DisplayPort HDMI 99% sRGB Build-in Speakers…

    Sceptre IPS 27 Inch 2K 2560 x 1440p QHD 75Hz DisplayPort HDMI 99% sRGB Build-in Speakers…

    Athena Collection Ergonomic Gaming Chair, Gaming Computer Chair with Footrest & Lumbar…

    Athena Collection Ergonomic Gaming Chair, Gaming Computer Chair with Footrest & Lumbar…

    Nintendo Selects: New Super Mario Bros. Wii (Nintendo Wii) (Renewed)

    Nintendo Selects: New Super Mario Bros. Wii (Nintendo Wii) (Renewed)

    The Crew Motorfest for Xbox One

    The Crew Motorfest for Xbox One

    Western Digital WD5000AAKX 500GB SATA Hard Drives (Renewed)

    Western Digital WD5000AAKX 500GB SATA Hard Drives (Renewed)

    TOSHIBA 65-inch Class C350 Series LED 4K UHD Smart Fire TV with Alexa Voice Remote…

    TOSHIBA 65-inch Class C350 Series LED 4K UHD Smart Fire TV with Alexa Voice Remote…

    Samsung Electronics Galaxy Note 20 Ultra 5G N986U Android Cell Phone, US Version, 128GB…

    Samsung Electronics Galaxy Note 20 Ultra 5G N986U Android Cell Phone, US Version, 128GB…

    AOHI Magcube 140W USB C Charger PD3.1 3-Port GaN+ Laptop Wall Charger 100W Fast Charging…

    AOHI Magcube 140W USB C Charger PD3.1 3-Port GaN+ Laptop Wall Charger 100W Fast Charging…

  • Gaming
    11 Tips EVERY Diablo 4 Player Should Know For Vessel Of Hatred

    11 Tips EVERY Diablo 4 Player Should Know For Vessel Of Hatred

    Hellia Speaks: Sonic frontiers review

    Hellia Speaks: Sonic frontiers review

    Gotham Knights PS5 GAMEPLAY AND REVIEW | BATMAN | RED HOOD | BATGIRL | ROBIN | NIGHTWING

    Gotham Knights PS5 GAMEPLAY AND REVIEW | BATMAN | RED HOOD | BATGIRL | ROBIN | NIGHTWING

    GUNGRAVE G.O.R.E. | 2022 | SHOOT 'EM ACTION ADVENTURE | PC | Introduction

    GUNGRAVE G.O.R.E. | 2022 | SHOOT 'EM ACTION ADVENTURE | PC | Introduction

    D&D podcasters 3D printed a giant model of Castle Ravenloft, from Curse of Strahd, and it’s truly beautiful

    D&D podcasters 3D printed a giant model of Castle Ravenloft, from Curse of Strahd, and it’s truly beautiful

    Assassin's Creed 3: La Historia en 1 Video

    REACTING to THE SUPER MARIO BROS. MOVIE (SECOND TRAILER)

    REACTING to THE SUPER MARIO BROS. MOVIE (SECOND TRAILER)

    Hogwarts Legacy (Switch) Review

    Hogwarts Legacy (Switch) Review

    Fortnite CAPITULO 6 TEMPORADA 2: PASE de BATALLA *REVELADO*!

    Fortnite CAPITULO 6 TEMPORADA 2: PASE de BATALLA *REVELADO*!

  • Tesla

    Tesla (TSLA) sales crash in France even with new Model Y

    Tesla’s Full Self-Driving computer failure is leaving customers in bad situations

    Tesla has no plan for HW3 owners 4 months after admitting it won’t support self-driving

    Bed Rail Hooks Compatible with 2024+ Tesla Cybertruck L Track Accessories Cybertruck…

    Bed Rail Hooks Compatible with 2024+ Tesla Cybertruck L Track Accessories Cybertruck…

    2 in 1 J1772 and CCS Adapter for Tesla Cybertruck and 2020+ Models 3/Y/S/X – CCS1 &…

    2 in 1 J1772 and CCS Adapter for Tesla Cybertruck and 2020+ Models 3/Y/S/X – CCS1 &…

    G-PLUS Trunk Mat Cargo Liner Compatible with Tesla Cybertruck 2023 2024 2025 TPE Trunk…

    G-PLUS Trunk Mat Cargo Liner Compatible with Tesla Cybertruck 2023 2024 2025 TPE Trunk…

    Waterproof 420D Oxford Fabric Car Cover fit Tesla Cybertruck – Reinforced PU Coating,…

    Waterproof 420D Oxford Fabric Car Cover fit Tesla Cybertruck – Reinforced PU Coating,…

    2025 Upgraded Cybertruck Roof Sunshade Heat-Insulating, UV-Protective, Nano-Reflective…

    2025 Upgraded Cybertruck Roof Sunshade Heat-Insulating, UV-Protective, Nano-Reflective…

    Spigen Side Camera Protection Cover Designed for New Tesla Model Y 2025 Refresh…

    Spigen Side Camera Protection Cover Designed for New Tesla Model Y 2025 Refresh…

    Lectron Tesla NACS Electric Vehicle Charger Nozzle Holster Dock & J-Hook for Cable…

    Lectron Tesla NACS Electric Vehicle Charger Nozzle Holster Dock & J-Hook for Cable…

  • UFO
    ENORMOUS UFO Descends with Humanoid Figure | Ancient Aliens | #Shorts

    ENORMOUS UFO Descends with Humanoid Figure | Ancient Aliens | #Shorts

    The Archaic Revival: Speculations on Psychedelic Mushrooms, the Amazon, Virtual Reality, UFOs, Evolution, Shamanism, the Rebirth of the Goddess, and the End of History

    The Archaic Revival: Speculations on Psychedelic Mushrooms, the Amazon, Virtual Reality, UFOs, Evolution, Shamanism, the Rebirth of the Goddess, and the End of History

    Experiences Of A Sasquatch Contactee –  Part 5    [ EP-227]

    Experiences Of A Sasquatch Contactee – Part 5 [ EP-227]

    RUMOR: The Plot of Intergalactic Heretic Prophet Was LEAKED!

    RUMOR: The Plot of Intergalactic Heretic Prophet Was LEAKED!

    Batman: The Complete Television Series [DVD]

    Batman: The Complete Television Series [DVD]

    Space Exploration Experiment. #space #science

    Space Exploration Experiment. #space #science

    Ghost Hunting USA’s Most Evil Prison (w/ Sam & Colby)

    Ghost Hunting USA’s Most Evil Prison (w/ Sam & Colby)

    K600GPS Drone with Camera for Adults, 4.5 inch LCD RC Screen, 32G SD Card, GPS Drone Auto Return, Gesture Flight, Brushless Motor, Optical Flow,3 Speeds for Adults/Beginners, Under 249g

    K600GPS Drone with Camera for Adults, 4.5 inch LCD RC Screen, 32G SD Card, GPS Drone Auto Return, Gesture Flight, Brushless Motor, Optical Flow,3 Speeds for Adults/Beginners, Under 249g

    Belal Muhammad wants the answer to this conspiracy theory LOL #shorts #ufc

    Belal Muhammad wants the answer to this conspiracy theory LOL #shorts #ufc

No Result
View All Result
Techcratic
No Result
View All Result
Home Hacker News

Yutarop/turtlesim_agent: Draw with AI in ROS2 TurtleSim

Hacker News by Hacker News
May 31, 2025
in Hacker News
Reading Time: 14 mins read
129 1
A A
0
Share on FacebookShare on XShare on LinkedIn

2025-05-31 06:17:00
github.com

turtlesim_agent_logo
ROS2-humble Industrial CI

turtlesim_agent is an AI agent that transforms the classic ROS turtlesim simulator into a creative canvas driven by natural language. Powered by LangChain, this AI agent interprets text-based instructions and translates them into visual drawings, turning the simulated turtle into a digital artist. This project explores how large language models can interact with external environments to exhibit creative behavior. Users can describe shapes or drawing intentions in plain English, and the AI agent reasons through the instructions to execute them using turtlesim’s motion commands.

📐 Drawing Basic Shapes


tsim_example_basic.mp4


I want you to draw a rainbow composed of 7 semi-circular arcs, each with a different color and a radius ranging from 2.0 cm to 2.7 cm. The colors should follow the traditional rainbow order: violet, indigo, blue, green, yellow, orange, red with the pen’s width of 5. Please offset the starting position of each semi-circle by 0.1 cm to avoid overlap.


tsim_eample.mp4


Note: This demo was generated using the gemini-2.0-flash model.
Please note that results may vary even when using the same model, due to the non-deterministic nature of language models. Outputs may differ depending on factors like prompt phrasing, timing, or model updates.

  • ROS 2 Humble Hawksbill (This project has only been tested with ROS 2 Humble. Compatibility with other ROS 2 distributions is not guaranteed.)
  • Python 3.10+
  • Other dependencies as listed in requirements.txt

1. Clone and build in a ROS2 workspace

$ cd ~/{ROS_WORKSPACE}/src
$ git clone -b humble-devel https://github.com/Yutarop/turtlesim_agent.git
$ python3 -m pip install -r turtlesim_agent/requirements.txt
$ cd ~/{ROS_WORKSPACE} && colcon build

turtlesim_agent supports multiple language model providers via LangChain. You need to set API keys for the providers you intend to use.

🔐 Add API Keys to Your Shell Configuration

To make your API keys available in your development environment, add them to your shell configuration file (e.g., ~/.bashrc, ~/.zshrc), then reload the file using source.

export OPENAI_API_KEY=your_openai_api_key
export ANTHROPIC_API_KEY=your_anthropic_api_key
export GOOGLE_API_KEY=your_google_api_key
export COHERE_API_KEY=your_cohere_api_key
export MISTRAL_API_KEY=your_mistral_api_key

💡 You only need to set the keys for the providers you plan to use.

🖥️ Using Self-Hosted LLMs (e.g., Ollama)

If you’re running a local or remote LLM server (e.g., via Ollama), specify the server URL as follows:

export URL="https:your_ollama_server_ip:11434"

3. (Optional) Enable Tracing with LangSmith

To trace and debug agent behavior using LangSmith, set the following environment variables:

Basic Tracing Configuration:

export LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
export LANGSMITH_TRACING=false

Full Configuration with API Key and Project Name:

export LANGSMITH_ENDPOINT="https://api.smith.langchain.com"
export LANGSMITH_TRACING=true
export LANGSMITH_API_KEY=your_api_key_here
export LANGSMITH_PROJECT=your_project_name_here

To specify which Large Language Model (LLM) your agent should use, you need to configure the model name in two places:

  • turtlesim_node.py
  • turtlesim_agent.launch.xml (only if you use ROS 2 launch files)

Edit the default model name

In both turtlesim_node.py and turtlesim_agent.launch.xml, update the agent_model parameter to match the model you want to use.

💡 The default model is "gemini-2.0-flash". Replace it with your preferred model name (e.g., "gpt-4", "claude-3-opus", etc.).

Ensure LangChain supports your model

If you specify a custom model name, make sure it is supported by LangChain. You can verify this by checking or updating the logic inside llm.py.

  • If the model is not yet handled, add a corresponding case in llm.py to load the model correctly.
  • Refer to LangChain documentation for the latest supported models and providers.

Once you have configured the variables, proceed to build and apply the changes to finalize the setup:

$ cd ~/{ROS_WORKSPACE} && colcon build
$ source ~/.bashrc  # or source ~/.zshrc

turtlesim_agent offers two modes of interaction:

  • A CLI-based interface, recommended for debugging and understanding the agent’s internal reasoning.
  • A GUI-based chat interface, ideal for intuitive and user-friendly interaction.

⌨️ Run with CLI (Recommended for Development)

$ ros2 run turtlesim turtlesim_node
$ ros2 run turtlesim_agent turtlesim_agent_node

🖼️ Run with GUI (Chat Interface)

$ ros2 launch turtlesim_agent turtlesim_agent.launch.xml

🧰 Provided Tools for the AI Agent

turtlesim_agent utilizes the tools implemented in the tools/ directory as callable functions that it can invoke during the reasoning process to accomplish user-defined drawing tasks.

tools/
├── all_tools.py # Imports and exports all available tools for the agent
├── math_tools.py # Basic arithmetic and geometric calculations
├── status_tools.py # Queries the current status of the turtle (e.g., position, orientation)
├── motion_tools.py # Controls the movement of the turtle (e.g., forward, rotate)
├── pen_tools.py # Manages pen states (e.g., color, on/off, width)
└── simulation_tools.py # Resets simulation or spawns new turtles

🚀 Extending the Agent’s Creativity

One of the core ideas behind this project is enabling creative expression through tool augmentation. If you’d like to enhance the agent’s capabilities further, feel free to add your own tools to the tools/ directory.

To make new tools available:

  1. Create a new *_tools.py file in the tools/ directory.
  2. Define your custom functions using LangChain-compatible signatures.
  3. Import them in all_tools.py so that the agent can access them.

We welcome any ideas that make TurtleSim Agent more creative and expressive.

Whether it’s new tools, smarter models, better prompts, experimental results, or entirely new use cases — feel free to open an issue or pull request. The results of the experiment will be posted and updated on the wiki. If you manage to draw a shape successfully, please update the wiki!

Source Link


Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.

Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!


Start your free Amazon Prime trial
today and unlock unlimited streaming and more!

Help Power Techcratic’s Future – Scan To Support

If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.

As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!

BITCOIN

Bitcoin Logo

Bitcoin QR Code

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Scan the QR code with your crypto wallet app

DOGECOIN

Dogecoin Logo

Dogecoin QR Code

D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA

Scan the QR code with your crypto wallet app

ETHEREUM

Ethereum Logo

Ethereum QR Code

0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a

Scan the QR code with your crypto wallet app

Please read the Privacy and Security Disclaimer on how Techcratic handles your support.

Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.

Tags: Hacker News
Share161Tweet101Share28
Previous Post

What Makes Nothing’s CMF Phone Pro 2 So Different From Its Phone 1 Version?

Next Post

How to Watch the Champions League Final on a Free Channel

Hacker News

Hacker News

Stay updated with Hacker News, where technology meets entrepreneurial spirit. Get the latest on tech trends, startup news, and discussions from the tech community. Read the latest updates here at Techcratic.

Related Posts

MubarakNative/MBCompass: A fully functional jetpack compose compass app that uses device magnetometer to find cardinal direction
Hacker News

MubarakNative/MBCompass: A fully functional jetpack compose compass app that uses device magnetometer to find cardinal direction

June 2, 2025
1.3k
Milo Land – I made a chair
Hacker News

Milo Land – I made a chair

June 1, 2025
1.3k
Atari Means Business with the Mega ST
Hacker News

Atari Means Business with the Mega ST

June 1, 2025
1.3k
Snake on a Globe – Engaging Data
Hacker News

Snake on a Globe – Engaging Data

June 1, 2025
1.3k
brandonyoungdev/tldx: Domain Availability Research Tool
Hacker News

brandonyoungdev/tldx: Domain Availability Research Tool

June 1, 2025
1.3k
CCD Co-Inventor George E. Smith Passes Away at 95
Hacker News

CCD Co-Inventor George E. Smith Passes Away at 95

May 31, 2025
1.3k
Load More
Next Post
How to Watch the Champions League Final on a Free Channel

How to Watch the Champions League Final on a Free Channel

Vintage Retro Valentine Tags Digital Collage sheet

Vintage Retro Valentine Tags Digital Collage sheet

Ranked: The World’s Biggest Shadow Economies

Ranked: The World’s Biggest Shadow Economies

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo
  • Google News
  • Hacker News
  • Harvard Tech
  • I Like Cats ™
  • I Like Dogs ™
  • LifeHacker
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • PC World
  • Photofocus
  • Physics
  • Random Tech
  • Retro Rewind ™
  • Robot Report
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Art
  • Tech Careers
  • Tech Deals
  • Techcratic ™
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Weird Stuff
  • Wired
  • ZDNet

Tech News

  • 30 Second Tech ™
  • AI
  • AnandTech
  • Apple Insider
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo

Tech News

  • Harvard Tech
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • Physics
  • PC World
  • Random Tech
  • Retro Rewind ™
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Careers

Tech News​

  • Tech Art
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Weird Stuff
  • Wired
  • ZDNet

Site Links

  • About Techcratic
  • Affiliate Disclaimer
  • Affiliate Link Policy
  • Contact Techcratic
  • Dealors Discount Store
  • Privacy and Security Disclaimer
  • Privacy Policy
  • RSS Feed
  • Site Map
  • Support Techcratic
  • Techcratic
  • Tech Deals
  • TOS
  • 𝕏
Click For A Secret Deal

Techcratic – Your All In One Tech Hub © 2020 – 2025
All Rights Reserved
∞

No Result
View All Result
  • Home
  • Apple
  • Gaming
  • Microsoft
  • AnandTech