Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Browsing all 7017 articles
Browse latest View live
↧

Can I use the OnPoseChange() method of gazebo::physics::Link element to call...

I found this function in a source code of Link.hh /// \internal /// \brief Called when the pose is changed. Do not call this directly. public: virtual void OnPoseChange(); It seems like something I...

View Article


splinting a complex SDF into several smaller SDFs.

I'm starting now and to facilitate my studies I would like to split SDF files into groups, separated by folders, but I do not want to create a template for each SDF.Is it possible in the same model I...

View Article


How to load a Visual Plugin only on server or client?

Hi, I noticed that Visual Plugins are actually loaded twice, once on gzserver and once on gzclient. Is there a way to let it only execute on server side, even if the client got started as well, or only...

View Article

Option in World file to make camera follow model

Is there a way to edit the world file to have the camera follow the model? I am rerunning the same simulation right now and trying to save time instead of right-clicking my model and selecting "Follow"

View Article

Generic Pub / Sub; To and from JSON

I am interested in subscribing to a set of topics, receiving messages and sending messages to topics. I have a generic subscription as `void cb_generic(const std::string& _msg)`. The content of...

View Article


Gravity doesnt pull my Model

Hello Everyone, I am running Gazebo version 9.5.0 in an Ubuntu 18.04 LTS. I build my own Model and tried to control it with an self written plugin. The Plugin applies a small force on the x-Vector. And...

View Article

All files that define gazebo model path

I am with a problem that was to be easy to solve, nevertheless it is requiting considering time. My problem is: Where exactly gazebo declares the model path variable. I found the same question and a...

View Article

Nao joints stiffness issue while using robocup3ds plugin

Hi, I want to control Nao joints in Gazebo via [robocup3ds plugin](https://bitbucket.org/osrf/robocup3ds). The robot responds to my command e.g. it bends its knee (see image below). But it seems that...

View Article


UI Scaled incorrectly in Gazebo 8 and 9 on macOS Mojave (10.14.1) and low...

I am running macOS Mojave 10.14.1 on a mid-2014 MacBook Pro. I installed using homebrew. Gazebo 8 and 9 both open up with huge scaling issues on the UI (both with macOS default scaling and "More Space"...

View Article


How to get a model position in Gazebo World Plugin?

I am writing a Gazebo World Plugin where I need an information about the position of certain model with respect to world origin. I am using Gazebo-9 and for this version of Gazebo I didn't find any...

View Article

How to change thickness of Dynamic Lines?

Hi, I'm currently using dynamic lines for application, but the lines created are too thin and I'd like to make it thicker. How could I do that? If not possible, could someone point an alternative?...

View Article

Gazebo 9.5 drops internet connection

Hi everyone, I'm about to hit my head against a wall as I don't understand how this is possible. I just started Gazebo (version 9.5.0) and I wasn't able to load models from the online database. So I...

View Article

Access 3D point cloud ( with depth camera ) using Transport API

Is there any example of 3D point cloud access with Transport API? Any tutorial ? Any sdf file example or depth camera which publishing point cloud data with C++ plugin ?

View Article


mesh in gazebo with a wrong scale

Hi guys, i have a question, i have a .stl file from solid edge, and the model is with meter (millimeter), when i import this model to the gazebo, i set up the scale with 0.001, 0.001, 0.001, but it's...

View Article

Toggle visibility of a link?

Ideally I could publish a message from ROS that would set the transparency of a specified link to any value. Would I have to write a custom plugin? ---- **Pursuing the gazebojs approach:** This is...

View Article


Cant spawn robot in XACRO format

Hello, I have issues to spawn my FRANKA EMIKA robot in Gazebo. The robot model is a XACRO format. I followed this tutorial: http://gazebosim.org/tutorials?tut=ros_roslaunch#CreatingaCustomWorldFile At...

View Article

How to write your own material file

I want to config the material of my model, but I don't know how to write it. > material RoboCup/Carpet { technique { pass { ambient 1.0 1.0 1.0 1.0 diffuse 1.0 1.0 1.0 1.0 specular 0.2 0.2 0.2 1.0...

View Article


Apply normal map shader

I noticed in the [SDF specification](http://sdformat.org/spec?ver=1.6&elem=material#material_shader) one can add a `` tag with type `normal_map_tangentspace` to a `` tag. But when I try to load my...

View Article

Gazebo 2.2 Can't open /usr/share/gazebo//setup.sh

BH I installed the gazebo 2.2 packages and while typing the roslaunch turtlebot_gazebo `turtlebot_world.launch` command I continue to get this comment: Can't open /usr/share/gazebo//setup.sh By the...

View Article

SITL Gazebo, Reset model using code

Hello, I am looking to reset the model position, I found that it is possible using the Edit panel in gazebo. I have tried to write several code to reset the mode automatically from the outside even...

View Article
Browsing all 7017 articles
Browse latest View live