# New Scripts for Pidog

**URL:** <https://forum.sunfounder.com/t/new-scripts-for-pidog/3011>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [April 7, 2025, 12:55am UTC](https://forum.sunfounder.com/t/new-scripts-for-pidog/3011 "2025-04-07T00:55:09Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Spf650](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Spf650](https://forum.sunfounder.com/u/Spf650)\
**Post date:** [April 7, 2025, 5:39am UTC](https://forum.sunfounder.com/t/new-scripts-for-pidog/3011/3 "2025-04-07T05:39:53Z")

</div>

Brilliant, thanks for sharing.  
I shared a few of my own code and scripts on this forum, for voice control etc

Demonstrated here..

> **[SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community | Hi,...](https://www.facebook.com/share/p/18aqg8Q2de/)**
>
> Hi, I'm not sure if this is of general interest?
> 
> I've spent a few days integrating some of Sunfounder's software into a ROS2 environment on my pidog. This allows me to make use of some of ROS's...

As per your own software, the joystick control demo uses the IMU for gait adjustment for stability.

And autonomous behaviour using orbslam3 + AI object/hazard recognition, These data are fused with the camera extrinsic matrix to create a real world (scaled) occupancy map. E.g green safe floor, red = hazard

 ![1000011239](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/3/39136fb989cd0c252d693c6a8af3b8a6bc1b0688.jpeg)

Which pidog then uses for autonomous safe route planning.  
Partially shared on github and full integration demonstrated on FB.

> **[SunFounder Raspberry Pi & Arduino & ESP32 Enthusiasts Community | Hi,...](https://www.facebook.com/share/v/19Ui4hW2q3/)**
>
> Hi, I've now completed my ros2 pidog project as posted in various segments previously. The final part for me was to get my voice commands, joystick control, autonomous-walkabout, hazard avoidance,...

I’ll download yours and have a play around to compare notes and read through your methodologies! Again many thanks.

---

_[View the full topic](https://forum.sunfounder.com/t/new-scripts-for-pidog/3011)._
