def _get_motor_parameters(json_file):
with open(json_file) as motor_fd:<EOL><INDENT>global_config = json.load(motor_fd)<EOL><DEDENT>motors = global_config["<STR_LIT>"]<EOL>motor_config = {}<EOL>for motor in motors:<EOL><INDENT>motor_config[motor] = motors[motor]<EOL><DEDENT>return motor_config<EOL>
Returns a dictionary with joints as keys, and a description (dict) of each joint as value