[components architecture and urdf examples] Add an example of a 12 DO…#24
[components architecture and urdf examples] Add an example of a 12 DO…#24bmagyar merged 3 commits intoros-controls:masterfrom
Conversation
| <commandInterfaceType>effort</commandInterfaceType> | ||
| <commandInterfaceType>Kp</commandInterfaceType> | ||
| <commandInterfaceType>Kd</commandInterfaceType> | ||
| <commandInterfaceType>effort_limit</commandInterfaceType> |
| * Data for all joints is exchanged in batch (at once) | ||
| * Multiple values can be commanded, e.g. goal position and the maximal velocity on the trajectory allowed | ||
| * Examples: (humanoid robots?) | ||
| * Examples: humanoid robots (TALOS), 4 legged robot [solo](https://github.com/open-dynamic-robot-initiative/master-board/blob/master/documentation/BLMC_%C2%B5Driver_SPI_interface.md) |
There was a problem hiding this comment.
I would propose to add this long example on the end of the file. Can you open a new subsection with a name "Real robot Examples" and than add yours. It would be also good to reference to this example 2.1.
The intention behind this is that user can fast scroll through all different examples and on the end have real-world use-cases to study them.
There was a problem hiding this comment.
Any you can simply name the example "TALOS" as this is the name of the robot.
There was a problem hiding this comment.
Good to me. To be a bit more precise, TALOS and the 4 legged robot (SOLO) are two different robots. SOLO is mostly to highlight an original way to access the low level power electronics.
There was a problem hiding this comment.
Then you are free to choose which one you think is more relevant and describe it
| <commandInterfaceType>effort</commandInterfaceType> | ||
| <commandInterfaceType>Kp</commandInterfaceType> | ||
| <commandInterfaceType>Kd</commandInterfaceType> | ||
| <commandInterfaceType>effort_limit</commandInterfaceType> |
| ``` | ||
|
|
||
| ```xml | ||
| <ros2_control name="12DOF_Legged_System_Robot_MultiInterface" type="system"> |
There was a problem hiding this comment.
Please use capitalized CamelCase in the names. We will also change this in #25
e.g. "12DoFLeggedSystemRobotMultiInterface"
| ```xml | ||
| <ros2_control name="12DOF_Legged_System_Robot_MultiInterface" type="system"> | ||
| <hardware> | ||
| <classType>ros2_control_demo_hardware/2DOF_System_Hardware_MultiInterface_MultiWrite</classType> |
There was a problem hiding this comment.
here also capitalized CamelCase:
"2DoFSystemHardwareMultiInterfaceMultiWrite"
There was a problem hiding this comment.
Oh, here we should use different name:
either: "ros2_control_demo_hardware/12DoFSystemHardwareMultiInterfaceMultiWrite"
or event better:
"talos_control/TalosSystemHardware" or "talos_control/TalosRobotHardware" (choose one you prefer)
Of course we should than create talos_control package at some point.
| <param name="example_param_read_for_sec">0.001</param> | ||
| </hardware> | ||
| <joint name="front_left_leg_joint1"> | ||
| <classType>ros2_control_components/MultiInterfaceJoint_MultiWrite</classType> |
There was a problem hiding this comment.
also capitalized CamelCase:
"MultiInterfaceMultiWriteJoint" (we will rename this in #25)
| <commandInterfaceType>position</commandInterfaceType> | ||
| <commandInterfaceType>velocity</commandInterfaceType> | ||
| <commandInterfaceType>effort</commandInterfaceType> | ||
| <commandInterfaceType>Kp</commandInterfaceType> |
There was a problem hiding this comment.
also add here some min/max values is such exist.
…Fs legged robot This example is based on a real life equivalent of Mini Cheetah. It includes custom made power electronics with messages transmitting informations at 1Khz. For each actuator Command: * position * velocity * current (current or equivalent ) as a feedforward term * current limit (which can evolve according to the trajectory) * Kp * Kd Sensor: * position * velocity * current * contact * resistance (to evaluate temperature) * contact (with the ground) IMU: * angular velocity * acceleration * acceleration without gravity * orientation (provided by an embedded EKF) More details at https://open-dynamic-robot-initiative.github.io/
Put min max parameters for each command interface Add real robot example
|
@bmagyar Thanks for merging this! |
…Fs legged robot
This example is based on a real life equivalent of Mini Cheetah.
It includes custom made power electronics with messages transmitting informations at 1Khz.
For each actuator
Command:
Sensor:
IMU:
More details at https://open-dynamic-robot-initiative.github.io/