REPY-2.0 1.0
Mechanical module for modular robotics
void BasicServo::set_horn ( int  arms,
double  angle = 0,
bool  visibility = true,
double  cut = 0 
)

Sets the characteristics and dimensions of the horn.

Parameters:
armsNumber of arms of the horn
visibilityHorn shown or not shown
cutDimension of the cut of the horn
{
    horn_num_arms = arms;
    display_horn = visibility;
    horn_cut = cut;
    horn_angle = angle;

    this->update_horn();
}
 All Classes Functions Variables