Movements
Last updated
Last updated
make sure a E-Stop is active and the joints are enabled
To instruct the quadruped robot to stand up, use the following line:
Safety Precautions
Keep 1m distance from the robot while it is standing up.
Clear the surroundings of any potential obstacles that the robot might encounter during the standing-up process.
Verify that the ground is flat and stable before initiating the stand-up operation to ensure proper balance and stability of the robot.
Once you run the standup command keep a safety distance of min. 1 m like in the image shown:
Keep a operating safety distance of min. 1m and check all four legs looks visually the same when standing up to ensure a correct calibration.
To instruct the quadruped robot to sit down, use the following code:
Note:
The sit_down method is used to command the quadruped robot to transition from a standing position to a seated position.
If the robot is not currently in a standing position, the SDK will raise an exception or provide a message indicating that sitting down is only possible from a standing position.
Safety Precautions
Ensure that the robot has enough space and a stable surface to perform the sitting down operation.
Keep a safe distance from the robot during the sitting down process to prevent accidents.
make sure the ground is flat for bysense to sit down and no obstacles are placed under it.
To instruct the quadruped robot to walk in a specific direction with a certain speed for a specified duration, provide a directional vector (x, y, z), a speed value, and a duration in seconds. Use the following code as a template:
The robot.walk command initiates the walking motion with the specified walking_vector
Additional operations, such as a sleep for simulation purposes, can be performed while walking.
The robot.stop_walking() function is called to stop the walking motion when needed.
After stopping walking, the program can continue with other operations or exit as necessary.
Safety Precautions
Always ensure a clear and obstacle-free path for the robot when initiating walking commands as this is a blind walking
Periodically check the surroundings to avoid potential collisions during the walking operation with humans
Set appropriate speed and duration values to control the walking pace and time.
the walking controller within the robot is based on a machine learning model and trained together with our custom models in the background.