https://github.com/advrhumanoids/centauro-simulator
CENTAURO model for simulation
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.8%) to scientific vocabulary
Repository
CENTAURO model for simulation
Basic Info
- Host: GitHub
- Owner: ADVRHumanoids
- Language: CMake
- Default Branch: master
- Size: 73.8 MB
Statistics
- Stars: 12
- Watchers: 24
- Forks: 4
- Open Issues: 5
- Releases: 0
Metadata Files
README.md
centauro-simulator meta-package README description
Directores:
- centauro
It includes the description of the robot, i.e. the urdf represantation, in addition to the rviz launch file.
- centauro_gazebo
It contains all files related to the gazebo simulator including the world files configuring the gazebo environment, and the main launch file.
- documentation
It presents the naming convention of different elements of the robot; for instance:
actuator: motor{jointname}: ex. motor_hip
transmission: t{jointname}: ex. t_hip
Running procedure:
- running the simulation:
roslaunch centaurogazebo centauroworld.launch
- running the simulation with arguments:
roslaunch centaurogazebo centauroworld.launch arg:=value ex. roslaunch centaurogazebo centauroworld.launch legs:=false paused:=false hands:=false gui:=true rviz:=true gazebo:=false
- additionally, two scripts are provided to publish missing transforms from robotstatepublisher:
rosrun centauroros loadfixedtransforms - loads static transforms for fixed joints not recognized by a robotstatepublisher (requires urdfdompy package)
rosrun centauroros gazebobase_transform - publishes a transform from 'world' to 'pelvis' for a floating base system
Optional arguments:
Basic simulation set-up
| Argument | Default | Values | Description | | ---| --- | --- | --- | | gazebo | true | true, false | whether the gazebo simulation should be run or not | | rviz | false | true, false |whether the rviz visualization tool should be run or not | | middleware | xbotcore | xbotcore, roscontrol | which middleware should be used to connect with gazebo | | xbotconfigfile | configs/ADVRshared/centauro/configs/config_centauro.yaml | string | path to xbot config file |
Gazebo configuration parameters
| Argument | Default | Values | Description | | ---| --- | --- | --- | | paused | true | true, false | if the simulation should be paused at the beginning, may be useful if initialization takes time | | usesimtime | true | true, false | if ROS should be driven by a simulation time or the world clock | | gui | true | true, false | if gazebo GUI should be started | | debug | false | true, false | if gazebo should start through gdb | | physics | ode | ode, bullet, simbody | which physics engine should be loaded| | verbose | false | true, false | if verbose logging information should be loaded |
CENTAURO model configuration parameters
Defined which part of the robot should be loaded
| Argument | Default | Values | Description | | ---| --- | --- | --- | | arms | true | true, false, right, left | if 'false' arms are not loaded, if 'left'/'right' only this arm is loaded | | torso | true | true, false, fixed | if torso should be loaded, if not also the rest of upper-body is not loaded, if 'fixed' torsoyaw joint is fixed | | legs | true | true, false | if legs should be loaded, if not also wheels are not loaded | | head | false | true, false | if head should be loaded | | wheels | false | true, false | OBSOLETE: if wheels should be loaded | | static | false | true, false | if the system is floating base or static | | mass | 0 | positive number | 5x5x5 cm box is added 10 cm from a last arm joint axis of mass kg | | leftendeffector | stick | stick, heri, softhand, schunkhand, fixedsofthand, unknown* | which endeffector should be loaded on the left arm, if unknown no endeffector will be loaded | rightendeffector | stick | stick, heri, softhand, schunkhand, fixedsofthand, unknown* | which endeffector should be loaded on the right arm, if unknown no end_effector will be loaded
- 'unknown' argument means any string that is not defined as a specific value for this argument
CENTAURO model actuators configuration
Defines which part of the robot should be actuated
| Argument | Default | Description | | ---| --- | --- | | torsoactuators | true | if torso should be actuated | | armactuators | true | if arms should be actuated | | legactuators | true | if legs should be actuated | | wheelsactuators | true | if wheels should be actuated | | head_actuators | true | if head should be actuated |
CENTAURO model sensors configuration
Defines which sensors should be loaded for the robot
| Argument | Default | Description | Depends | | ---| --- | --- | --- | | armsensors | true | if sensors on arms should be loaded | | legsensors | true | if sensors on legs should be loaded | | ft_sensors | true | if force-torque sensors should be loaded | | bumbers | true | if bumber sensors should be loaded | | imu | true | if imu should be loaded | pelvis | | kinect | true | if kinect plugin should be loaded | head | | velodyne | true | if velodyne plugin should be loaded | head |
CENTAURO collision and visualization models
Argument visual_model: default value mesh
Argument collision_model: default value convex_hull
For robot visualization and collision models two arguments 'visualmodel' and 'collisionmodel' are defined, respectively. Each accepts any of following values
| Value | Description | | ---| --- | | mesh | load realistic mesh file for each link | | simplified | load simplified realistic mesh files | | convex_hull | load file describing a convex hull object for each link | | capsule | load capsules computed based on the model | | unknown* | load predefined primitives |
In case a specific model is not defined for some links, the predefined primitives will be loaded for these links.
- 'unknown' argument means any string that is not defined as a specific value for this argument
A simulation environment that should be loaded:
WARNING: exactly one parameter has to be true, otherwise simulation behaviour is undefined -->
| Argument | Default | Description | | ---| --- | --- | | worldname | $(find centaurogazebo)/worlds/centauro.world | which simulation environment should be loaded | | kinematicparam | original | name of a .xacro file with simulator kinematic parameters w.r.t $SIMULATORPATH/centauro-simulator/centauro/centaurourdf/kinematicparameters folder | inertiaparam | original | name of a .xacro file with simulator dynamic parameters w.r.t $SIMULATORPATH/centauro-simulator/centauro/centaurourdf/inertiaparameters folder
How To Generate URDF from Xacro
- Example with current set of argument:
rosrun xacro xacro --inorder -o test.urdf centauro.urdf.xacro GAZEBO:=false ARMS:=true TORSO:=true ARMACTUATORS:=true LEGS:=true LEGACTUATORS:=true TORSOACTUATORS:=true WHEELS:=false WHEELSACTUATORS:=false STATIC:=false COLLISIONMODEL:=convexhull VISUALMODEL:=mesh ENDEFFECTOR:=stick ARMSENSORS:=false MASS:=0 INERTIAPARAM:=original KINEMATICPARAM:=original HEADACTUATORS:=true HEAD:=true
- Using script generating urdf file calling:
$SIMULATORPATH/centauro-simulator/centauro/centaurourdf/script/createurdfsrdf_sdf.sh centauro
WARNING: it uses the parameters defined in: $SIMULATORPATH/centauro-simulator/centauro/centaurourdf/urdf/config/ros_args
the new urdf file $SIMULATORPATH/centauro-simulator/centauro/centaurourdf/urdf/centauro.urdf is generated ONLY IF this file does not exists.
Owner
- Name: ADVR Humanoids
- Login: ADVRHumanoids
- Kind: organization
- Email: luca.muratore@iit.it
- Location: Istituto Italiano di Tecnologia
- Website: https://www.iit.it/lines/humanoids-human-centered-mechatronics
- Repositories: 206
- Profile: https://github.com/ADVRHumanoids
Humanoids & Human Centered Mechatronics, HHCM, IIT
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: over 1 year ago
All Time
- Total issues: 6
- Total pull requests: 12
- Average time to close issues: about 23 hours
- Average time to close pull requests: 20 days
- Total issue authors: 3
- Total pull request authors: 5
- Average comments per issue: 3.67
- Average comments per pull request: 0.08
- Merged pull requests: 8
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- liesrock (2)
- yangweiyou (2)
- XinyuanZhao (1)
Pull Request Authors
- vigisushrutha23 (2)
- liesrock (2)
- pietrobalatti (1)
- xqms (1)
- alaurenzi (1)