Tabela de conteúdos

Robots

In the sBotics simulator, robot creation is one of the main activities. This page explores the functionalities of the robot menu, the types of robots you can build, and important concepts for constructing efficient robots.

Accessing the Robot Menu

The robot menu can be accessed through the first button at the bottom of the simulator interface (HUD).

Robot Menu

In this menu, you can:

  1. Select standard robots from 1 of 4 presets.
  2. Save your own creations.
  3. View your robot's components and their names for code reference.
  4. Access the "Robot Workshop" to edit your robots.

Robot Menu

Robot Construction

Robots are built in the Robot Workshop using blocks and components, which can be solid or movable. Some information to consider:

Blocks and Components Table

Icon Name Type Requires Name Colors Weight Price* Connector Type
Controller Fixed Block 1Zg Rigid / Solid
Cube Block 1Zg s₿0.05 Rigid / Solid
Half-Block Block 0.5Zg s₿0.1 Rigid / Solid
Ramp Block 0.5Zg s₿0.1 Rigid / Solid
Corner Block 0.35Zg s₿0.1 Rigid / Solid
Pyramid Block 0.66Zg s₿0.1 Rigid / Solid
Small Wheel (Cylinder) Block 0.75Zg s₿0.8 Rigid / Solid
Large Wheel (Cylinder) Block 1.5Zg s₿0.15 Rigid / Solid
Hinge Movable Block 0.25Zg s₿0.2 Movable
Color Sensor Sensor Component 1Zg s₿0.5 Rigid / Solid
Ramp Color Sensor Sensor Component 0.5Zg s₿0.75 Rigid / Solid
Ultrasonic Sensor Sensor Component 1Zg s₿0.4 Rigid / Solid
Ramp Ultrasonic Sensor Sensor Component 0.5Zg s₿0.6 Rigid / Solid
Touch Sensor Sensor Component 1Zg s₿0.25 Rigid / Solid
Camera * * Sensor Component 1Zg s₿1 Rigid / Solid
Buzzer Component 1Zg s₿0.3 Rigid / Solid
LED Component 0.75Zg s₿0.25 Rigid / Solid
Servomotor Movable Component 2Zg s₿2 Movable
3D Pen Component 0.8Zg s₿0.25 Rigid / Solid
* Price is not important for the robot's structure; it exists in case the robot is being built with a “cost” limitation in mind for a particular arena or scenario. In 99% of cases, the arena will not have this limitation.
** Camera development is paused and there is no date for its full implementation.

Anchoring and the Controller

Robot Controller All blocks and components are anchored to other blocks. All anchors lead to the robot's first block: the controller.

The controller block is an indestructible blue-purple block with an arrow indicating the robot's “front,” facilitating orientation during editing.

Physics and Connectors

Anchoring is crucial for sBotics physics. Blocks connect to other blocks and are part of larger “groups,” sets of blocks that physically behave together. To create these groups, the simulator uses two types of connectors:

Every robot is built from an initial group that takes the controller as its origin point. Any Movable Connector attached to a group will create a new group, whose origin point is the movable connector (i.e., any block “anchored”/“connected” to the movable connector, be it a servomotor or hinge, will be part of THIS CONNECTOR'S group).

In the adjacent image, all blocks in white connected to the initial block (controller) are part of the same group; that is, they behave as a single solid object. However, from the hinge (in green and gray), a new group is formed, and this new group, represented in the image by the color green, will have its own unique physics separate from the first group.

sBotics does not calculate a center of mass for the robot; it calculates a center of mass for each group based on the blocks each group possesses and their weight.

Because created groups start from movable blocks, these are free to rotate, either intentionally (with a servomotor) or freely (with a hinge). In the image below, the motors (underlined in magenta/purple) divide the robot into three rigid connector groups: blue (initial group), green, and yellow. The green and yellow groups exist to allow the Large Wheel object a group to rotate without being “fixed” to the initial group.

The three images below illustrate the importance of sBotics physics. The first shows a single group of rigid blocks. The second shows the same object, but in addition to the initial group, the top bar is divided into three groups. The third shows each component of the top bar as a separate group.

Connector Group Comparison - Solid Connector Group Comparison - Semi Rigid Connector Group Comparison - Completely Loose

Note that: Physics occurs BETWEEN groups. That is, between sets of movable connectors.

Important: sBotics physics is fundamental for designing efficient robots. Practice to master these concepts!

Note that adjacent blocks are considered connected, even if they are not physically linked.

Friction

Friction also plays an important role in sBotics physics. The shape and size of components affect friction with the ground. Example:

Advanced Techniques

For more details and advanced construction techniques, refer to the page Advanced Construction Techniques.