Robot with GPT

reference wolframalpha-as-the-way-to-bring-computational-knowledge-superpowers-to-chatgpt chatgpt-gets-its-wolfram-superpowers what-is-chatgpt-doing-and-why-does-it-work Next-Generation Human-Robot Interaction with ChatGPT and ROS Dolly v2.0 Principle building The recent hot chatgpt, advancing generative AI to a new level, but currently see most people apply it to chat tools, and even some people use it as Wikipedia, but I think since it is generative, why not use it to do the interaction between human and robot, we use a specific defined natural language to describe the operation we need to let the robot do. chatgpt translates our natural language into a structured language similar to program source code by understanding it, and then inputs it into the robot’s system, and the robot operating system will follow the input structured language to complete the corresponding operation. So I was thinking how to combine RoboMaster EP with LLM language class model to accomplish human-robot interaction. API applications like chatgpt have a disadvantage because their models run in the cloud and are restricted to certain countries and regions, so commercial industrial LLM applications are basically ruled out and I wanted to be able to run the models locally and train and optimize them by myself. At this time Databricks released Dolly v2.0 model, the dataset and the training model are all open source and can be applied to the commercial domain, after reading the related introduction I decided to use dolly v2.0 as my first choice for the local LLM model. ...

May 6, 2023

Drive my personal robot

DJI RoboMaster EP At the beginning of the year I planned to spend six months researching autonomous driving, and computer graphics, so I started researching hardware for developing autonomous driving systems. The first thing I considered was the jetbot that was open when nvidia released the jetson nano platform in 2019, which is basically a toy car equipped with a 3D printed body, two small wheels, and a jetson nano developer kit, a camera, and official project address, considering the cost needed to build the entire car hardware platform and the playability, I decided not to consider a toy-like solution for the car robot, and finally I aimed at the DJI robomaster EP because It opened up the complete SDK, and the whole robot platform was designed for educational competitions, which is very rich in playability and does not require too much thinking about the underlying hardware assembly itself. This allowed me to take a page from jetbot’s autopilot design and port it to the robomaster EP to create the most original autopilot development platform. ...

March 30, 2023

About Value

Discovery the value of life I was introduced to a small foreign company by a friend in July last year, and I decided to leave my job after six months to start my freelance career. I hope to devote more time to the fields I am interested in, such as art, film, music, and computer, and to enrich my knowledge by exploring new fields. When I was in college, I liked to tinker with computers, and after I graduated, I worked in the IT company. When I first started to work, my knowledge was very narrow and I stayed in my area of expertise. Later on, I slowly came into contact with many colleagues and friends, and my thoughts also changed, so I started to contact with cross-field, play photography, learn painting, and I remember the most impressed by the fact that in the year of 2017, I took my half-year salary to buy DJI Inspire 2 professional kit, which is about 50k RMB. The motivation to learn all comes from interest, at first I didn’t think I needed to learn a lot of photography, but I found out that I was shooting without any rules and regulations, so I started to learn about photography knowledge, and then I came into contact with film. Looking back at what I did before, I realized that people really need to lose some sense to do what they want to do. The value of life is to do what you want to do, let go of it, even if you are alone, Even if you fail in the end, your life is complete, because you have come out of your own life, rather than living in the maze designed by others. I would like to use two things to describe the importance of exploring the value of life. ...

February 25, 2023

Google Coral Edge TPU Introduction

Coral ecology and technology References: Coral AI Introducing the entire ecosystem of google coral edge TPU computing. SoM for production environment and PCIe Accelerator. Four pocket-sized development boards for development and testing. Peripheral sensors including environmental detection module as well as camera, Wi-Fi/PoE expansion board. Cloud TPU / Edge TPU Introduction Technology Coral Edge TPU is a dedicated chip developed by Google to accelerate neural network inference in edge devices and run specially optimized neural network models while maintaining low power consumption. ...

February 3, 2023

AI Is Not AI

OpenAI ChatGPT Reference DeepMind Reference InstructGPT Reference The most talked about topic I’ve seen on Twitter lately is ChatGPT, and many people are raving about it. For a creator to use AI in their creative process to quickly prototype their work is certainly a great thing in the business world. chatGPT can add inspiration to screenwriters, give problem solvers ideas, and give translators help with more accurate language translations. So does ChatGPT count as AI in the true sense of the word, i.e. does it pass the Turing test. Although we don’t know the answer, we can be sure that ChatGPT must have collected huge amount of Internet data for model training, and the parameters of the final model are amazingly huge. ...

December 7, 2022

Moosefs Master High Availability

I designed a rudimentary k8s persistentvolumeclaims solution myself, using Moosefs on the backend as a distributed data store. The principle is based on the kubernetes events mechanism, when a create pvc message is received, the backend control application will create the corresponding pv on moosefs and bind the corresponding pvc, in order to facilitate the application to move between nodes, I mount the moosefs file system to each worker node, here a problem arises: how to keep the moosefs master high availability! ...

November 23, 2022

What Is More Important Than Life

In September I purchased a Lop rabbit that was only two months old 🐰 and by taking good care of it, it made me feel that nothing is more important than life, especially when the rabbit was sick, my wife and I went through various information channels to find out how to treat rabbit diseases. A small life may cost more than 200 RMB at the mall, but the joy it brings us should not be measured in money. Life in nature is as small as an insect ant 🐜 and as large as a predatory lion 🦁️, they are all made up of one of the most basic units, which is the cell. Why a bunch of cells come together to produce life, and a life with free consciousness, is perhaps the complexity of the entire universe plays a role, where the system evolves over time under the action of a simple set of rules, eventually presenting a highly complex structure of living organisms. For human beings, we have a brain that is incomparable to other beings, and it is the ability to learn and create that makes us stand on this blue planet, which is also a gift of life to us humans, and we need to be in awe of every little life that grows on Earth, because every cell that grows in these beings uses the same The laws of nature. Each living thing is a different branch of the same tree of life, yet they all have the same roots. The fear of life allows us to understand the true meaning of life. ...

October 4, 2022

Kubernetes Pod Security Admission

Today I upgraded my production kubernetes cluster from v1.24.4 to v1.25.0 and encountered a problem during the upgrade. Because the PodSecurityPolicy api was removed from kube apiserver, and by instead of Pod Security Admission (PSA), so I needed to merge PodSecurityPolicy into PSA. At this time I did some research on PSA. PSA has been defined as a stable interface in v1.25.0 and the PodSecurity controller is enabled by default. the PSA controller forces pods to run in an environment with specific permissions by creating permissions rules in namespace, and all pods under that namespace will have access to the host environment restricted to that permission. ...

September 5, 2022

ETH Mainnet Merge - PoW to PoS

Ethereum mainnet merge In August this year, the ETH goerli test network was merged 2.0, I also participated in the test network merge, the whole process was successful, I used lighthouse as the ETH Consensus layer, geth as the Execution layer, the current test network running validator node status is good. In the coming September, the main ETH network will be merged with 2.0, and I also ran the Consensue Layer and Execution Layer separately, so I hope this major merger will be completed successfully. ...

August 31, 2022