EasyManua.ls Logo

Freenove ESP32

Default Icon
159 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Need support? support@freenove.com
123
Chapter 12 Basic Motion
www.freenove.com
* @param alpha is the moving direction, with the x-axis direction as 0 degrees, counterclockwise as positive,
clockwise as negative, and the unit is angle, [0-360]. The x direction is the direction of forward movement.
* @param stepLength The length of each step (<=20).
* @param gama Spin angle, in-situ rotation, positive counterclockwise, negative clockwise, in degrees. [0-
360].
* @param spd Movement speed, unitmm / 10ms. [1,8]
void move_any(int alpha, float stepLength, int gama, int spd = 5);
Robot dog height setting function. The value ranges from 55 to 120.
void setBodyHeight(int h);
Servo unloading function. Each time this function is called, the servos will lose torque
pca.releaseAllServo();
Robot dog standing function. Every time this function is called, the robot dog will return to the standing
position.
standUp();

Related product manuals