[Sergii] has actually been finding out about robotic simulation and wrote a basic simulator for a robodog platform: the Unitree A1. It just took about 800 lines of code to do so, which most likely makes it a good location to start if one is headed in a comparable instructions.
Right now, [Sergii]’s simulator is an interactive physics design than runs in the web browser. Software-sensible, once the design of the robotic exists the Rapier JavaScript physics engine looks after the physics simulation. The robotic’s physical design originates from the manufacturer’s repositoryso it doesn’t require to be developed from scratch.
To make the tool beneficial, the application has 2 designs of the robotic, side by side. The one left wing is the control design, and has interactive sliders for limb positions. All motions on the control design are transferred to the design on the right, which is the simulation design, setting the position. The simulation design is the one that in fact designs the physics and gravity of all the wanted movements and positions. [Sergii]’s next action is to utilize the simulator to style and execute a basic walking gait controller, and we anticipate how that ends up.
If Unitree sounds familiar to you, it may be since we just recently covered how an informal SDK had the ability to open some otherwise-unavailable functions on the robodogs, so inspect that out if you wish to get a little bit more out of what you spent for.