2 import dynamic_graph.sot_talos_balance.talos.hip_flexibility_compensation_conf
as hipFlexCompConfig
3 import dynamic_graph.sot_talos_balance.talos.parameter_server_conf
as paramServerConfig
6 robot.timeStep = robot.device.getTimeStep()
14 robot.device.setControlInputType(
"noInteg")
20 robot.halfSitting = [0.0, 0.0, 1.018213, 0.0, 0.0, 0.0]
21 robot.halfSitting += [0.0, 0.0, -0.411354, 0.859395, -0.448041, -0.001708]
22 robot.halfSitting += [0.0, 0.0, -0.411354, 0.859395, -0.448041, -0.001708]
23 robot.halfSitting += [0.0, 0.006761]
24 robot.halfSitting += [
34 robot.halfSitting += [
44 robot.halfSitting += [0.0, 0.0]
45 robot.device.set(robot.halfSitting)
54 robot, hipFlexCompConfig, robot_name
56 robot.hipComp.q_des.value = robot.halfSitting
61 robot.device.control.value = robot.halfSitting
66 create_topic(robot.publisher, robot.hipComp,
"delta_q", robot=robot, data_type=
"vector")
67 create_topic(robot.publisher, robot.hipComp,
"q_cmd", robot=robot, data_type=
"vector")
68 create_topic(robot.publisher, robot.hipComp,
"q_des", robot=robot, data_type=
"vector")
69 create_topic(robot.publisher, robot.hipComp,
"tau", robot=robot, data_type=
"vector")
71 robot.publisher, robot.hipComp,
"tau_filt", robot=robot, data_type=
"vector"