Gazebo | Ignition | Community
Ask Your Question

mfran89's profile - activity

2015-09-21 10:59:35 -0500 received badge  Taxonomist
2015-04-08 04:13:40 -0500 received badge  Famous Question (source)
2014-04-30 16:27:26 -0500 received badge  Famous Question (source)
2014-03-24 12:23:42 -0500 received badge  Notable Question (source)
2014-03-23 13:41:55 -0500 received badge  Popular Question (source)
2014-03-17 20:22:43 -0500 received badge  Famous Question (source)
2014-02-24 06:16:13 -0500 received badge  Notable Question (source)
2014-02-16 12:22:22 -0500 received badge  Popular Question (source)
2014-02-10 09:52:19 -0500 received badge  Notable Question (source)
2014-02-07 13:59:39 -0500 received badge  Popular Question (source)
2014-02-07 12:05:34 -0500 commented question Gazebo ROS package deb version problem

So an example to illistrate my problem would be if I source my bash file in the ws, and use the command "rosrun gazeboros gazebo". I get this message "[rosrun] Couldn't find executable named gazebo below /opt/ros/hydro/share/gazeboros" When I manually source the hydro bash file and run the same command Gazebo runs fine and works.

2014-02-07 11:51:35 -0500 asked a question Sourced Gazebo ROS pkg cannot compile

Hello,

I am currently using Gazebo 1.9.3. I am trying to install the gazebo ros packages via source. I followed the tutorial for the ros hydro version (http://gazebosim.org/wiki/Tutorials/1.9/InstallinggazeborosPackages#Installgazeborospkgs).

When I get to building the gazebo ros package I get a error:

[100%] Building CXX object gazeborospkgs/gazeboroscontrol/CMakeFiles/gazeboroscontrol.dir/src/gazeboroscontrolplugin.cpp.o /home/code8200/catkinws/src/gazeborospkgs/gazeboroscontrol/src/defaultrobothwsim.cpp:471:3: error: ‘PositionJointSaturationInterface’ in namespace ‘jointlimitsinterface’ does not name a type /home/code8200/catkinws/src/gazeborospkgs/gazeboroscontrol/src/defaultrobothwsim.cpp:474:3: error: ‘VelocityJointSoftLimitsInterface’ in namespace ‘jointlimitsinterface’ does not name a type /home/code8200/catkinws/src/gazeborospkgs/gazeboroscontrol/src/defaultrobothwsim.cpp: In member function ‘virtual void gazeboroscontrol::DefaultRobotHWSim::writeSim(ros::Time, ros::Duration)’: /home/code8200/catkinws/src/gazeborospkgs/gazeboroscontrol/src/defaultrobothwsim.cpp:274:5: error: ‘pjsatinterface’ was not declared in this scope /home/code8200/catkinws/src/gazeborospkgs/gazeboroscontrol/src/defaultrobothwsim.cpp:277:5: error: ‘vjlimitsinterface’ was not declared in this scope /home/code8200/catkinws/src/gazeborospkgs/gazeboroscontrol/src/defaultrobothwsim.cpp: In member function ‘void gazeboroscontrol::DefaultRobotHWSim::registerJointLimits(const string&, const hardwareinterface::JointHandle&, gazeboroscontrol::DefaultRobotHWSim::ControlMethod, const ros::NodeHandle&, const urdf::Model, int, double, double, double)’: /home/code8200/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:426:19: error: ‘VelocityJointSoftLimitsHandle’ in namespace ‘joint_limits_interface’ does not name a type /home/code8200/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:428:13: error: ‘vj_limits_interface_’ was not declared in this scope /home/code8200/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:428:49: error: ‘limits_handle’ was not declared in this scope /home/code8200/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:446:19: error: ‘PositionJointSaturationHandle’ in namespace ‘joint_limits_interface’ does not name a type /home/code8200/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:448:13: error: ‘pj_sat_interface_’ was not declared in this scope /home/code8200/catkin_ws/src/gazebo_ros_pkgs/gazebo_ros_control/src/default_robot_hw_sim.cpp:448:46: error: ‘sat_handle’ was not declared in this scope make[2]: [gazeborospkgs/gazeboroscontrol/CMakeFiles/defaultrobothwsim.dir/src/defaultrobothwsim.cpp.o] Error 1 make[1]: [gazebo_ros_pkgs/gazebo_ros_control/CMakeFiles/default_robot_hw_sim.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... Linking CXX shared library /home/code8200/catkinws/devel/lib/libgazeboroscontrol.so [100%] Built target gazeboros_control make: * [all] Error 2 Invoking "make" failed

From what I can see the problem is that there are files missing from which this gazebo package expects to do something with. I checked to see if all my ros depencies where covered for this package and the rosdep ... (more)

2014-02-07 11:15:57 -0500 commented question Gazebo ROS package deb version problem

!/usr/bin/env bash generated from catkin/cmake/templates/setup.bash.in CATKIN_SHELL=bash

source setup.sh from same directory as this file CATKINSETUPDIR=$(builtin cd "dirname "${BASH_SOURCE[0]}"" && pwd) . "$CATKINSETUPDIR/setup.sh"

2014-02-07 11:11:44 -0500 commented question Gazebo ROS package deb version problem

I did not install workspace with groovy, I installed with hydro. When I refer to devel.setup.bash I am referring to the setup.bash file of my workspace. However I dont think it sources hydro/setup.bash file in it. Setup.bash file in my workspace down below

2014-02-07 10:16:48 -0500 commented question Gazebo ROS package deb version problem

I do source that in the .bashrc so when I am in the catkin_workspace that is automatically sourced. However I cannot source devel/setup.bash then. Its as if I can only have one or the other not both sourced at the same time. Btw my knowledge on ubuntu concepts is still weak because I am new to the Linux world, so if there is way for both to be sourced at the same time that would be great.

2014-02-07 09:40:02 -0500 received badge  Organizer (source)
2014-02-07 09:02:41 -0500 asked a question Gazebo ROS package deb version problem

Hey guys,

I have run into a problem I was hoping someone could help me with. I have currently installed the latest gazebo ros packages (Debian version) and the only way I am able to get gazebo up and running is by sourcing the setup.bash file located in

/opt/ros/hydro/setup.bash

However my robot configurations and ros nodes are created and kept in the catkin workspace. When I want to run a ros node that communicates with gazebo I need to source the setup.bash in my catkin workspace which is in my home directory. (~/catkin_ws/..)

source devel/setup.bash

When I source the above command and try to roslaunch a node that lets me spawn a robot model into gazebo I keep getting an error saying that both Gzserver and Gzclient did not launch. The reason is because I did not "source /opt/ros/hydro/setup.bash".

core service [/rosout] found

ERROR: cannot launch node of type [gazeboros/gzserver]: can't locate node [gzserver] in package [gazeboros] ERROR: cannot launch node of type [gazeboros/gzclient]: can't locate node [gzclient] in package [gazeboros]

Any ways so my question is do I need to install the gazebo ros packages from source and into the catkin workspace? Or is there an alternative that allows me to use the deb packages.

Thanks Mike

2014-02-07 08:32:33 -0500 answered a question Installation problems

Hey what your problem maybe is that you need to update your rosconsole pkg on your ROS Hydro side to the version below.

ros-hydro-rosconsole (1.9.54 version)

Here is a link to the issue I was having recently having hopefully it helps you out. http://answers.gazebosim.org/question/5410/gazebo-19-latest-ros-hydro-gazebo-package-isnt/

2014-02-07 07:52:16 -0500 received badge  Scholar (source)
2014-02-07 07:50:49 -0500 commented answer Gazebo 1.9 latest Ros-Hydro-Gazebo package isn't working correctly

Well I ended up reinstalling ROS Hydro before seeing this message, which did update the rosconsole to 1.9.54, and my problem seems to have gone away! I can only assume that the rosconsole may not have been up to date. So thanks for the info and I hope it helps others aswell.

2014-02-06 14:04:16 -0500 commented question Gazebo 1.9 latest Ros-Hydro-Gazebo package isn't working correctly

I think the problem is that there is a undefined symbol for the gzserver gzserver: symbol lookup error: /opt/ros/hydro/lib/libgazeborosapiplugin.so: undefined symbol: _ZN3ros7console5printEPNS010FilterBaseEPvNS06levels5LevelERKSt18basicstringstreamIcSt11chartraitsIcESaIcEEPKciSE

2014-02-06 13:53:32 -0500 commented question Gazebo 1.9 latest Ros-Hydro-Gazebo package isn't working correctly

I installed both Gazebo and ros gazebo pkgs through debs btw

2014-02-06 13:50:23 -0500 asked a question Gazebo 1.9 latest Ros-Hydro-Gazebo package isn't working correctly

Hey Guys,

I am gotten myself into a real mess, and really need some help. I am currently running ROS Hydro, and I am aware that I need to run Gazebo 1.9.x in order for my ROS simluations to work on Gazebo. I have installed Gazebo 1.9.3 and verified that I have installed it correctly.

Now here is where the problem I think is. I used this command to install ros-gazebo pkgs

sudo apt-get install ros-hydro-gazebo-ros-pkgs ros-hydro-gazebo-ros-control

For every file installed I saw a version number of "2.3.4" in it and example:

Setting up ros-hydro-gazebo-msgs (2.3.4-0precise-20140130-1938-+0000) ...

Is this version number associated with Gazebo 2.x or 1.9.x? Is this correct files for the ROS-Hydro-Gazebo package ?

After successfully installing the ROS-Hydro-Gazebo package, I tested using the gazebo_ros package by using the command

source /opt/ros/hydro/setup.bash

rosrun gazebo_ros gazebo

After running these commands my node gets stuck waiting for the gzserver and finally the command fails.

code8200@TETHYS:~/catkinws$ rosrun gazeboros gazebo Gazebo multi-robot simulator, version 1.9.3 Copyright (C) 2013 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Gazebo multi-robot simulator, version 1.9.3 Copyright (C) 2013 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Msg Waiting for master.gzserver: symbol lookup error: /opt/ros/hydro/lib/libgazeborosapiplugin.so: undefined symbol: _ZN3ros7console5printEPNS010FilterBaseEPvNS06levels5LevelERKSt18basicstringstreamIcSt11chartraitsIcESaIcEEPKciSE ................... Error [ConnectionManager.cc:116] Failed to connect to master in 30 seconds.

I need to know why this is happening. Can anyone help me fix this?

2014-02-06 13:47:32 -0500 asked a question Gazebo 1.9 latest Ros-Hydro-Gazebo package isn't working correctly

Hey Guys,

I am gotten myself into a real mess, and really need some help. I am currently running ROS Hydro, and I am aware that I need to run Gazebo 1.9.x in order for my ROS simluations to work on Gazebo. I have installed Gazebo 1.9.3 and verified that I have installed it correctly.

Now here is where the problem I think is. I used this command to install ros-gazebo pkgs

sudo apt-get install ros-hydro-gazebo-ros-pkgs ros-hydro-gazebo-ros-control

For every file installed I saw a version number of "2.3.4" in it and example:

Setting up ros-hydro-gazebo-msgs (2.3.4-0precise-20140130-1938-+0000) ...

Is this version number associated with Gazebo 2.x or 1.9.x? Is this correct files for the ROS-Hydro-Gazebo package ?

After successfully installing the ROS-Hydro-Gazebo package, I tested using the gazebo_ros package by using the command

source /opt/ros/hydro/setup.bash

rosrun gazebo_ros gazebo

After running these commands my node gets stuck waiting for the gzserver and finally the command fails.

code8200@TETHYS:~/catkinws$ rosrun gazeboros gazebo Gazebo multi-robot simulator, version 1.9.3 Copyright (C) 2013 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Gazebo multi-robot simulator, version 1.9.3 Copyright (C) 2013 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Msg Waiting for master.gzserver: symbol lookup error: /opt/ros/hydro/lib/libgazeborosapiplugin.so: undefined symbol: _ZN3ros7console5printEPNS010FilterBaseEPvNS06levels5LevelERKSt18basicstringstreamIcSt11chartraitsIcESaIcEEPKciSE ................... Error [ConnectionManager.cc:116] Failed to connect to master in 30 seconds.

I need to know why this is happening. Can anyone help me fix this?