Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
015b0c4
Merge pull request #1 from RobotnikAutomation/devel
cgasconb Dec 19, 2024
4277af9
Update README.md
cgasconb Jan 15, 2025
a65114e
Merge branch 'master' into devel
cgasconb Feb 3, 2025
17e8545
Merge pull request #2 from RobotnikAutomation/devel
cgasconb Feb 3, 2025
5dfae74
removed conflicting debs
marbosjo Mar 11, 2025
ad1160d
Add gazebo ignition simulation
cgasconb Mar 17, 2025
77d3d3d
removed submodules
marbosjo Mar 24, 2025
bd2386b
Merge pull request #8 from RobotnikAutomation/feat/add-ros2-gazebo-ig…
marbosjo Mar 26, 2025
d27d417
change from robot_description to robotnik_description (#10)
cgasconb Mar 26, 2025
03fc4b3
Feat/ros2/update control jazzy (#13)
cgasconb Apr 3, 2025
e4a421f
removed default robot
cgasconb Apr 3, 2025
d8e02a8
Remove Gazebo Classic for Jazzy (#14)
cgasconb Apr 4, 2025
e544a3f
Feat/ros2/add configurations (#16)
cgasconb Apr 7, 2025
f57a144
Change controller from humble to jazzy
cgasconb Apr 7, 2025
a1ea3b7
Change controller from humble to jazzy (#17)
cgasconb Apr 7, 2025
f801ef3
cambios en el archivo readme (#15)
JPBenetti Apr 7, 2025
7845872
fix issue with rviz config
cgasconb Apr 7, 2025
3cdb738
Merge branch 'jazzy-devel' of github.com:RobotnikAutomation/robotnik_…
cgasconb Apr 7, 2025
c566bb3
Update README.md
cgasconb Apr 8, 2025
e60675f
Update README.md
cgasconb Apr 8, 2025
9e81984
Update README.md
cgasconb Apr 8, 2025
815f888
Update README.md
cgasconb Apr 8, 2025
c5e1025
Update package.xml
cgasconb Apr 8, 2025
11aeaf2
Add BSD-3 LICENSE
cgasconb Apr 16, 2025
e20ff78
Add initial setup to run the simulation in docker images (#21)
Apr 23, 2025
c3c86ee
Update README.md
cgasconb Apr 24, 2025
10d45af
Fix ref branch (#30)
macc-n May 29, 2025
0509863
Update README.md
cgasconb Jun 16, 2025
d6ab21d
bumps image version to 0.6.2, with updated apt keys (#36)
marbosjo Jul 31, 2025
373463f
fix: update controller debs files (#37)
rafa-martin Aug 11, 2025
fe1a4b5
added vogui xl simulation (#39)
marbosjo Aug 12, 2025
a2c4789
feat: humble/add harmonic gz (#40)
RomanRobotnik Sep 12, 2025
472446a
feat: add worlds and merge clock into spawn world (#43)
rafa-martin Sep 29, 2025
71999b4
Roboasis world + Thumbnails for old models
ja-palen Oct 23, 2025
b7484bc
Added rviz configuration file as a parameter.
ja-palen Oct 23, 2025
92b98e1
Simluation time for Rviz
ja-palen Oct 24, 2025
89cc432
Merge remote-tracking branch 'origin/jazzy-devel' into feat/roboasis_…
ja-palen Oct 28, 2025
d4029ec
Added model light .obj
ja-palen Oct 31, 2025
3af532a
models and world moved to own package
ja-palen Oct 31, 2025
4fea309
Merge branch 'RobotnikAutomation:jazzy-devel' into feat/roboasis_world
ja-palen Oct 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions robotnik_gazebo_ignition/hooks/robotnik_gazebo_ignition.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,23 @@ for _prefix in $(printf %s "$_prefixes" | tr ':' ' '); do
for _pkg in $_GZ_PKGS; do
_p="$_prefix/share/$_pkg"
if [ -d "$_p" ]; then
_prepend_unique_value GZ_SIM_RESOURCE_PATH "$(_get_parent_abs_path "$_p")"
_prepend_unique_value IGN_GAZEBO_RESOURCE_PATH "$(_get_parent_abs_path "$_p")"
_prepend_unique_value GAZEBO_RESOURCE_PATH "$(_get_parent_abs_path "$_p")"
_parent_path="$(_get_parent_abs_path "$_p")"
_model_path="${_parent_path}/$_pkg/models"

# Always add the parent path
_prepend_unique_value GZ_SIM_RESOURCE_PATH "$_parent_path"
_prepend_unique_value IGN_GAZEBO_RESOURCE_PATH "$_parent_path"
_prepend_unique_value GAZEBO_RESOURCE_PATH "$_parent_path"

# If 'models' subfolder exists, add that too
if [ -d "$_model_path" ]; then
_prepend_unique_value GZ_SIM_RESOURCE_PATH "$_model_path"
_prepend_unique_value IGN_GAZEBO_RESOURCE_PATH "$_model_path"
_prepend_unique_value GAZEBO_RESOURCE_PATH "$_model_path"
fi
fi
done
done

unset _prefix _pkg _p _prefixes _self_prefix _hook_dir _GZ_PKGS
unset _prefix _pkg _p _prefixes _self_prefix _hook_dir _GZ_PKGS _parent_path _model_path
unset -f _prepend_unique_value _get_parent_abs_path
20 changes: 14 additions & 6 deletions robotnik_gazebo_ignition/launch/spawn_robot.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,14 +175,19 @@ def add_depth_camera(camera_name):
(f"/{robot_id}/{camera_name}_camera_depth/depth/camera_info", f"/{robot_id}/{camera_name}_rgbd_camera/depth/camera_info", "sensor_msgs/msg/CameraInfo", "gz.msgs.CameraInfo", "GZ_TO_ROS"),
(f"/{robot_id}/{camera_name}_camera_depth/depth/image_raw", f"/{robot_id}/{camera_name}_rgbd_camera/depth/image_raw", "sensor_msgs/msg/Image", "gz.msgs.Image", "GZ_TO_ROS"),
])

# Pose from gz simulator
def add_pose():
bridge_raw.extend([
( f"/model/robot/pose", f"/model/robot/pose", "geometry_msgs/msg/PoseStamped", "gz.msgs.Pose", "GZ_TO_ROS"),
])
add_camera("front")
add_camera("rear")
add_camera("top_ptz")
#add_depth_camera("front")
add_laser("front")
add_laser("rear")
add_pointcloud("top")
add_pose()

bridge_config = [{"ros_topic_name": ros, "gz_topic_name": gz, "ros_type_name": ros_type, "gz_type_name": gz_type, "direction": direction} for gz, ros, ros_type, gz_type, direction in bridge_raw]
with tempfile.NamedTemporaryFile(mode='w', delete=False) as tmp:
Expand Down Expand Up @@ -271,12 +276,13 @@ def get_ros2_control_yaml_path(params):
executable="rviz2",
namespace=params['robot_id'],
arguments=[
'-d', [FindPackageShare('robotnik_gazebo_ignition'), '/config/rviz_config.rviz'],
'-d', [params['rviz_config']],
# Fixed frame
'-f', [params['robot_id'], '_odom'],
# '-f', [params['robot_id'], '_odom'],
# Window name
'-t', [params['robot_id'], ' - ', params['robot_model'], ' - RViz'],
],
parameters=[{'use_sim_time': True}],
condition=IfCondition(params['run_rviz'])
))
return ret
Expand All @@ -288,11 +294,13 @@ def generate_launch_description():
("robot", "Robot Model Name", "", "ROBOT"),
("robot_model", "Robot Variant or Type", LaunchConfiguration('robot'), "ROBOT_MODEL"),
("robot_xacro", "Path to Robot Xacro File", [FindPackageShare('robotnik_description'), '/robots/', LaunchConfiguration('robot'), '/', LaunchConfiguration('robot_model'), '.urdf.xacro'], "ROBOT_XACRO"),
("x", "Initial X Coordinate", "0.0", "X"),
("y", "Initial Y Coordinate", "0.0", "Y"),
("z", "Initial Z Coordinate", "0.0", "Z"),
("x", "Initial X Coordinate", "-11.058", "X"),
("y", "Initial Y Coordinate", "-78.487", "Y"),
("z", "Initial Z Coordinate", "0.05", "Z"),
("has_arm", "Enable Arm Controller", "False", "HAS_ARM"),
("run_rviz", "Run RViz", "True", "RUN_RVIZ"),
("use_sim_time", "Use simulation time", "True", "USE_SIM_TIME"),
("rviz_config", "RViz configuration file", [FindPackageShare('robotnik_gazebo_ignition'), '/config/rviz_config.rviz'], "CONFIG_RVIZ"),
]

ld = LaunchDescription()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.