Home | Tutorials | Wiki | Issues
Ask Your Question

Alvaro Salcedo's profile - activity

2019-07-18 08:53:15 -0500 received badge  Taxonomist
2019-03-13 17:00:44 -0500 received badge  Famous Question (source)
2018-04-24 09:51:49 -0500 received badge  Famous Question (source)
2017-10-13 02:01:06 -0500 received badge  Famous Question (source)
2017-10-13 02:01:06 -0500 received badge  Notable Question (source)
2017-10-13 02:01:06 -0500 received badge  Popular Question (source)
2016-02-18 05:22:06 -0500 received badge  Famous Question (source)
2016-02-18 05:22:06 -0500 received badge  Notable Question (source)
2015-11-03 05:41:01 -0500 received badge  Famous Question (source)
2015-11-03 05:41:01 -0500 received badge  Notable Question (source)
2015-10-22 04:22:11 -0500 received badge  Popular Question (source)
2015-10-20 08:36:26 -0500 received badge  Notable Question (source)
2015-10-20 04:52:36 -0500 asked a question Texture in a .stl file


I would like to ask a question. I have a .stl file wich contains a chessboard. I have a .xacro wich is referencing a stl file and I have a .launch wich run .xacro

My problem is that when I see on Gazebo the chessboard this is whole in white... so it has not textures... (black and white squares). How can I do that .stl keeps the textures?

Thanks a lot!

2015-10-20 04:10:27 -0500 received badge  Popular Question (source)
2015-10-19 06:13:14 -0500 asked a question launch a .stl file in gazezbo

Hi Gazebo Users:

I have a .stl file and I just would like to launch in a gazebo empty world with a .launch. How con I do that?

Thanks a lot !

2015-10-19 05:21:57 -0500 asked a question Calibration pattern chessboard

Hi Gazebo users:

I am doing a calibration camera and I have to have a calibration pattern in Gazebo. I like to know if there is a .stl calibration pattern chessboard file on the internet to do that. And if there is not, how can I do it?

Thanks a lot.

2015-10-06 12:11:04 -0500 received badge  Famous Question (source)
2015-09-25 20:29:36 -0500 received badge  Notable Question (source)
2015-09-25 18:21:31 -0500 received badge  Popular Question (source)
2015-09-25 06:27:23 -0500 asked a question Updating Gazebo / Ros

Hi Ros users: Currently I am using ubuntu 14.04, Ros Indigo and Gazebo 2.2 . I am thinking about upgrading Ros and Gazebo. I have two questions:

·will there be any problem with my pkg's that I have created if I upgrade Ros and Gazebo? ·What is the best release of Ros I can upgrade?

Thanks a lot!!

2015-09-21 11:01:31 -0500 received badge  Famous Question (source)
2015-09-18 06:48:17 -0500 commented answer Plugin problem launching .launch

I am checking the namespace Gazebo in gazeboroscamera and there is not any function starting with "Ev" @niall . I am desperate...

2015-09-17 05:32:02 -0500 answered a question Plugin problem launching .launch

Can anybody help me? Thank you so much. I can not fix it.

2015-09-14 15:02:45 -0500 received badge  Notable Question (source)
2015-09-14 06:20:26 -0500 commented question Plugin problem launching .launch

Yes! here you are! .cpp and .h @niall Thanks!

2015-09-14 05:19:00 -0500 received badge  Popular Question (source)
2015-09-14 05:02:52 -0500 received badge  Editor (source)
2015-09-14 05:01:37 -0500 commented question Plugin problem launching .launch

Of course @scpeters . I have just edited the post

2015-09-11 06:38:59 -0500 received badge  Notable Question (source)
2015-09-11 06:18:08 -0500 asked a question Plugin problem launching .launch

Hi Gazebo users:

I have just created a pkg following this page link text It just creates a plugin and a world with the plugin. My problem is that when I launch the .launch terminal says:

gzserver: symbol lookup error: /home/alcor/catkin_ws/devel/lib/libgazebo_light_sensor_plugin.so: undefined symbol: _ZN6gazebo20GazeboRosCameraUtilsC2Ev
[gazebo-1] process has died [pid 20107, exit code 127, cmd /home/alcor/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros/scripts/gzserver --verbose -e ode /home/alcor/catkin_ws/src/gazebo_light_sensor_plugin/worlds/light.world __name:=gazebo __log:=/root/.ros/log/2a55e3fe-5872-11e5-af06-fcaa14787194/gazebo-1.log].
log file: /root/.ros/log/2a55e3fe-5872-11e5-af06-fcaa14787194/gazebo-1*.log

And Gazebo opens a black screen.

What am I doing wrong? How can I solve it?

Thanks a lot



 <!-- We resume the logic in empty_world.launch, changing only the name of the world to be launched -->
 <include file="$(find gazebo_ros)/launch/empty_world.launch">
 <arg name="verbose" value="true"/>
 <arg name="world_name" value="$(find gazebo_light_sensor_plugin)/worlds/light.world"/>
 <!-- more default parameters can be changed here -->


#include <gazebo/common/Plugin.hh>
#include <ros/ros.h>
#include "/home/alcor/catkin_ws/src/gazebo_light_sensor_plugin/include/gazebo_light_sensor_plugin/light_sensor_plugin.h"

#include "gazebo_plugins/gazebo_ros_camera.h"

#include <string>

#include <gazebo/sensors/Sensor.hh>
#include <gazebo/sensors/CameraSensor.hh>
#include <gazebo/sensors/SensorTypes.hh>

#include <sensor_msgs/Illuminance.h>

namespace gazebo
 // Register this plugin with the simulator

 // Constructor
 _sensorPublisher = _nh.advertise<sensor_msgs::Illuminance>("lightSensor", 1);

 // Destructor

 void GazeboRosLight::Load(sensors::SensorPtr _parent, sdf::ElementPtr _sdf)
 // Make sure the ROS node for Gazebo has already been initialized
 if (!ros::isInitialized())
 ROS_FATAL_STREAM("A ROS node for Gazebo has not been initialized, unable to load plugin. "
 << "Load the Gazebo system plugin 'libgazebo_ros_api_plugin.so' in the gazebo_ros package)");

 CameraPlugin::Load(_parent, _sdf);
 // copying from CameraPlugin into GazeboRosCameraUtils
 this->parentSensor_ = this->parentSensor;
 this->width_ = this->width;
 this->height_ = this->height;
 this->depth_ = this->depth;
 this->format_ = this->format;
 this->camera_ = this->camera;

 GazeboRosCameraUtils::Load(_parent, _sdf);

 // Update the controller
 void GazeboRosLight::OnNewFrame(const unsigned char *_image,
 unsigned int _width, unsigned int _height, unsigned int _depth,
 const std::string &_format)
 static int seq=0;

 this->sensor_update_time_ = this->parentSensor_->GetLastUpdateTime();

 if (!this->parentSensor->IsActive())
 if ((*this->image_connect_count_) > 0)
 // do this first so there's chance for sensor to run once after activated
 if ((*this->image_connect_count_) > 0)
 common::Time cur_time = this->world_->GetSimTime();
 if (cur_time - this->last_update_time_ >= this->update_period_)
 this->last_update_time_ = cur_time;

 sensor_msgs::Illuminance msg;
 msg.header.stamp = ros::Time::now();
 msg.header.frame_id = "";
 msg.header.seq = seq;

 int startingPix = _width * ( (int)(_height/2) - (int)( _fov/2)) - (int)(_fov/2);

 double illum = 0;
 for (int i=0; i<_fov ; ++i)
 int index = startingPix + i*_width;
 for (int j=0; j<_fov ; ++j)
 illum += _image[index+j];

 msg.illuminance = illum/(_fov*_fov);
 msg.variance = 0.0;





#include <string>

// library for processing camera data for gazebo / ros conversions
#include <gazebo/plugins ...
2015-06-25 13:58:59 -0500 received badge  Popular Question (source)
2015-06-12 04:39:55 -0500 commented answer Edit my own wordl in gazebo 2.2

O h sorry I meant edit a building not a world. any ideas? Thanks!!

2015-06-12 03:24:55 -0500 received badge  Popular Question (source)
2015-06-11 05:55:07 -0500 asked a question problem when i try to save my world

hi users:

i have a problem when I try to save my world in gazebo. I create my world but when I save the world (file-save world as) Gazebo close and I can see on the terminal this:

klauncher(7254) kdemain: No DBUS session-bus found. Check if you have started the DBUS server. kdeinit4: Communication error with launcher. Exiting!

I am using gazebo 2.2.2

Any ideas?


2015-06-11 04:50:38 -0500 asked a question Edit my own wordl in gazebo 2.2

Hi Gazebo Users:

I have just created a map in gazebo 2.2. i have saved, but i want to edit now. How can i edit? because I cant see any options in gazebo "building editor" to edit my map that i created.

Any ideas?