# Leg 2dof v1
## Description
The 2dof leg consists of two identical actuator modules, the lower leg and a foot with a optical contact switch.
The actuator modules are capable of continuous output rotation and there are no mechanical end stops on the leg.
Since there are wires routed through the hollow shell structures the output rotation should be limited to 3 turns in each direction in software.
The segment lenght is 160mm and results in a neutral standing height of 240mm (at 45 degree hip angle and 90 degree knee angle).
*Leg Dimensions - the neutral standing height of the leg is 240mm*
The actuator module details are described here -> [Actuator module](../actuator_module_v1)
The foot contact switch and lower leg details are described here -> [Foot Contact Switch](../foot_contact_switch_v1)
The leg can be used for experiments and measurements with external sensors in the leg test stand. -> [Leg Test stand](../leg_test_stand_v1)
4 of the leg modules can be used to assemble a 8dof quadruped robot. -> [Quadruped Robot](../quadruped_robot_8dof_v1)
*The leg segments are stacked and can perform multiple rotations.*
### Shell structure
The shell of the actuator module consists of two parts that are connected by eight M2,5 screws.
The shell structure supports the motor, encoder and the bearings for the transmission and the output joint.
We recommend to print the shells on a SLS 3D printer. (selective laser sintering printer)
We use Helicoil threaded inserts for increased stability.
### New Shell Version
We upgraded the shell design for improved stability.
We recommend to use the [new version of the 2dof leg (leg_2dof_v2)](../leg_2dof_v2).
### Outdated Shell Components for Reference
* Actuator Module Shell Base **Outdated** - 28g -> [STL file](stl_files/actuator_module_shell_base_outdated.STL)
* Actuator Module Shell Cover **Outdated** - 16g -> [STL file ](stl_files/actuator_module_shell_cover_outdated.STL)
## Convention Positive Motor Rotation
*Counterclockwise when looking at the motor from the top*
## Convention Positive Joint Rotation
*Clockwise when looking at the robot from the side*
## Video Cicle Art
[![Foot Sensor Video](https://img.youtube.com/vi/ciLx4PqHVBA/0.jpg)](https://www.youtube.com/watch?v=ciLx4PqHVBA)
Drawing circles with a 2 dof leg module, developed during a high school student project at New York University.
Credit: Brandon G. Knox
## Table Attachment
*Leg mounted at 45 degrees and in parallel to the table*
The 3d printed table attachment can be used to attach the leg to the table and orient it at 45 degrees or in parallel with the table.
The table attachment was designed to print without support on a FDM printer (fused deposition modelling printer). The recommended printing direction is the positive z-axis direction of the STL file.
* Table Attachment -> [STL](stl_files/table_attachment.STL)
## How to work with this
* To get an better overview of the assembly you can view this [pdf file](leg_2dof.PDF)
* I recommend downloading the free eDrawings viewer for Windows, Mac, iOS and Android [here](https://www.edrawingsviewer.com/download-edrawings).
* The eDrawing Viewer Software allows you to open and explore this [easm cad assembly file](leg_2dof.EASM)
---
## More Information
[Open Dynamic Robot Initiative - Webpage](https://open-dynamic-robot-initiative.github.io)
[Open Dynamic Robot Initiative - YouTube Channel](https://www.youtube.com/channel/UCx32JW2oIrax47Gjq8zNI-w)
[Open Dynamic Robot Initiative - Forum](https://odri.discourse.group/categories)
[Open Dynamic Robot Initiative - Paper](https://arxiv.org/pdf/1910.00093.pdf)
[Hardware Overview](../../README.md#open-robot-actuator-hardware)
[Software Overview](https://github.com/open-dynamic-robot-initiative/open-dynamic-robot-initiative.github.io/wiki)
---
## Authors
Felix Grimminger
## License
BSD 3-Clause License
## Copyright
Copyright (c) 2019-2020, Max Planck Gesellschaft and New York University