Comments (8)
FYI, some relevant discussion on integrating SDFormat with ros2: ros/robot_state_publisher#144
from dolly.
I played a bit with the sdformat_urdf package to see if I could use robot_state_publisher
without changing the robot description from SDF to URDF. That package isn't released for Foxy though (ros/sdformat_urdf#3), so I tried compiling the galactic
branch from source, as well as urdf_parser_plugin
, but didn't get it to work 😕 It will be a bummer not to be able to do this on Foxy...
I'll try this on Galactic later. I'm still working on Dolly's Galactic migration on branch galactic_dev
.
from dolly.
Hi @chapulina,
Is there any update on this?
I've been trying to find a way to publish TFs with SDF, but have not found any way so far
from dolly.
a way to publish TFs with SDF
You could add the PosePublisher plugin and start a ros_ign_bridge
from /model/model_name/pose@geometry_msgs/TransformStamped[ignition.msgs.Pose
.
It would be nice to add an example like this to ros_ign_gazebo_demos
from dolly.
Interesting! Thanks for sharing. Will try this out and will raise a PR after that
from dolly.
Hi @chapulina,
I tried this today. But it's not working. I added the plugin in the SDF of robot
<plugin filename="libignition-gazebo-pose-publisher-system.so" name="ignition::gazebo::systems::PosePublisher">
<publish_link_pose>true</publish_link_pose>
<publish_collision_pose>false</publish_collision_pose>
<publish_visual_pose>false</publish_visual_pose>
<publish_sensor_pose>false</publish_sensor_pose>
<publish_nested_model_pose>true</publish_nested_model_pose>
<update_frequency>20</update_frequency>
</plugin>
When I echo the ign topic using ign topic -e --topic /robot/pose
it's showing the data. But after adding the topic in parameter_bridge i'm not able to see the data on ROS2 topic
from dolly.
Here's the parameter bridge node:
bridge = Node(
package='ros_ign_bridge',
executable='parameter_bridge',
arguments=['/cmd_vel@geometry_msgs/msg/[email protected]',
'/scan@sensor_msgs/msg/[email protected]',
'/odometry@nav_msgs/msg/[email protected]',
'/model/movus/pose@tf2_msgs/msg/TFMessage[ignition.msgs.Pose_V',
'/world/station/model/movus/link/camera_front/sensor/color/camera_info@sensor_msgs/msg/CameraInfo[ignition.msgs.CameraInfo',
'/world/station/model/movus/link/camera_front/sensor/depth/camera_info@sensor_msgs/msg/CameraInfo[ignition.msgs.CameraInfo',
'/world/station/model/movus/link/camera_front/sensor/color/image@sensor_msgs/msg/Image[ignition.msgs.Image',
'/world/station/model/movus/link/camera_front/sensor/depth/depth_image/points@sensor_msgs/msg/PointCloud2[ignition.msgs.PointCloudPacked'],
output='screen',
remappings=[
('/world/station/model/movus/link/camera_front/sensor/color/camera_info', '/camera/color/camera_info'),
('/world/station/model/movus/link/camera_front/sensor/color/image', '/camera/color/image'),
('/world/station/model/movus/link/camera_front/sensor/depth/camera_info', '/camera/depth/camera_info'),
('/world/station/model/movus/link/camera_front/sensor/depth/depth_image/points', '/camera/depth/points')
]
)
from dolly.
Also I think I should create an issue in ros_ign 😓
from dolly.
Related Issues (20)
- The city environment doesn't load properly in Gazebo HOT 1
- Assertion failure when launching dolly_gazebo demo HOT 4
- Failed to find parent entity when launching dolly_ignition demo HOT 3
- ROS2 Foxy | Package 'dolly_ignition' not found HOT 1
- Example package for ignition systems plugin HOT 3
- The station environment doesn't load properly in Ignition Gazebo HOT 4
- Error on loading gazebo_pkg HOT 1
- Fail loading model://gazebo HOT 3
- Ignition demo - foxy + citadel HOT 1
- Remove lib+.so from plugin names on examples HOT 1
- i can't run
- Deduplicate the robot model HOT 2
- Demo simulation with web visualization ?
- Github Actions Ogre2 error accessing DISPLAY HOT 1
- How to reset_simulation and reset_world by code in cpp file HOT 1
- Error in dolly_tests in ros-galactic: ‘class ignition::gazebo::v5::ServerConfig’ has no member named ‘SetHeadlessRendering’ HOT 3
- ROS Humble branch request HOT 1
- Is it being installed correctly via apt?
- Dolly won't load on my machine HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dolly.