flat_ground
FlatGroundWorld
¶
Bases: _GroundContactMixin, BaseWorld
World with a flat infinite ground plane. Flies are free to move.
When calling add_fly, the following extra keyword arguments are accepted:
bodysegs_with_ground_contact: Body segments that collide with the ground. Accepts a contact-bodies preset of the fly's model (e.g.ContactBodiesPresetforNeuroMechFly), a preset string, or a collection ofBodySegmentobjects. Default:"legs_thorax_abdomen_head".ground_contact_params:ContactParamsfor friction and contact physics. Default:ContactParams().add_ground_contact_sensors: If True, add contact force sensors for each leg. Default:True.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Name of the world. |
'flat_ground_world'
|
half_size
|
float
|
Half-size of the ground plane in mm. |
1000
|