Code Monkey home page Code Monkey logo

Comments (10)

nlyubova avatar nlyubova commented on September 7, 2024

hello,

try to source at first source /opt/ros/indigo/setup.bash and then your workspace (for correct workspace overlap).

By the way, did you compile pepper_gazebo_plugin from source or from apt-get? there are maybe some missing dependencies

from pepper_virtual.

kochigami avatar kochigami commented on September 7, 2024

Hi,
thank you very much for your comment.
I used pepper_gazebo_plugin from source.

I solved my problem when I git cloned https://github.com/ros-simulation/gazebo_ros_pkgs.git (jade-level).
I'm not sure why I had the problem, but I read these articles yesterday.
http://answers.ros.org/question/198929/running-controller_manager-spawner-with-mybotrobot_description/
http://answers.ros.org/question/214712/gazebo-controller-spawner-warning/

from pepper_virtual.

lengagne avatar lengagne commented on September 7, 2024

Hi, I have the same issue.

When I run the launch file I only have those node :
/gazebo
/pepper_trajectory_controller
/rosout

I do not have any controllers : (rosservice list | grep controller_manager does not give results)

I have Kubuntu 14.04, ros indigo and all install from apt-get install .

Do you have any clue ?

from pepper_virtual.

nlyubova avatar nlyubova commented on September 7, 2024

Hi,
Did you follow the previous comments ? It seams that installing https://github.com/ros-simulation/gazebo_ros_pkgs.git can help

from pepper_virtual.

lengagne avatar lengagne commented on September 7, 2024

Hi, I tried to install the gazebo_ros_pkgs (from apt), indeed it was already installed.
But I still have the problem. From the console I have the following line :
[INFO] [WallTime: 1477945814.491622] [0.000000] Controller Spawner: Waiting for service controller_manager/load_controller
[WARN] [WallTime: 1477945844.715412] [0.000000] Controller Spawner couldn't find the expected controller_manager ROS interface.

from pepper_virtual.

lengagne avatar lengagne commented on September 7, 2024

For more information I have those topic : "rostopic list"
/clock
/gazebo/link_states
/gazebo/model_states
/gazebo/parameter_descriptions
/gazebo/parameter_updates
/gazebo/set_link_state
/gazebo/set_model_state
/rosout
/rosout_agg

from pepper_virtual.

nlyubova avatar nlyubova commented on September 7, 2024

maybe, some dependencies are missing./ Could you compile from source this one, please?

git clone [email protected]:roboticsgroup/roboticsgroup_gazebo_plugins.git

and If it does not work, then try from source while we fix it.

from pepper_virtual.

lengagne avatar lengagne commented on September 7, 2024

I am sorry, I am quite with ROS

I removed some package with apt-get remove ...

I have those sources : gazebo_ros_pkgs pepper_dcm_robot pepper_virtual roboticsgroup_gazebo_plugins in my catkin_ws/src

I did catkin_make, then source devel/setup.bash

The command rospack find pepper_gazebo_plugin gives me :
~/catkin_ws/install/share/pepper_gazebo_plugin

But I still have the same issue when I run "roslaunch pepper_gazebo_plugin pepper_gazebo_plugin_Y20.launch "

I have the result :
... logging to /home/lengagne/.ros/log/2638b0b4-a108-11e6-8b8c-3ca9f4685120/roslaunch-lengagne-HP-3565.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://lengagne-HP:60513/

SUMMARY

PARAMETERS

  • /pepper_dcm/Head_controller/joints: ['HeadYaw', 'Head...
  • /pepper_dcm/Head_controller/type: position_controll...
  • /pepper_dcm/LeftArm_controller/joints: ['LShoulderPitch'...
  • /pepper_dcm/LeftArm_controller/type: position_controll...
  • /pepper_dcm/LeftHand_controller/joints: ['LHand']
  • /pepper_dcm/LeftHand_controller/type: position_controll...
  • /pepper_dcm/Pelvis_controller/joints: ['HipRoll', 'HipP...
  • /pepper_dcm/Pelvis_controller/type: position_controll...
  • /pepper_dcm/RightArm_controller/joints: ['RShoulderPitch'...
  • /pepper_dcm/RightArm_controller/type: position_controll...
  • /pepper_dcm/RightHand_controller/joints: ['RHand']
  • /pepper_dcm/RightHand_controller/type: position_controll...
  • /pepper_dcm/WheelB_controller/joint: WheelB
  • /pepper_dcm/WheelB_controller/type: effort_controller...
  • /pepper_dcm/WheelFL_controller/joint: WheelFL
  • /pepper_dcm/WheelFL_controller/type: effort_controller...
  • /pepper_dcm/WheelFR_controller/joint: WheelFR
  • /pepper_dcm/WheelFR_controller/type: effort_controller...
  • /pepper_dcm/joint_state_controller/publish_rate: 50
  • /pepper_dcm/joint_state_controller/type: joint_state_contr...
  • /robot_description: <?xml version="1....
  • /rosdistro: indigo
  • /rosversion: 1.11.20
  • /use_sim_time: True

NODES
/
gazebo (gazebo_ros/gzserver)
gazebo_gui (gazebo_ros/gzclient)
pepper_trajectory_controller (controller_manager/spawner)
spawn_urdf (gazebo_ros/spawn_model)

auto-starting new master
process[master]: started with pid [3580]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 2638b0b4-a108-11e6-8b8c-3ca9f4685120
process[rosout-1]: started with pid [3593]
started core service [/rosout]
process[gazebo-2]: started with pid [3615]
process[gazebo_gui-3]: started with pid [3622]
process[pepper_trajectory_controller-4]: started with pid [3626]
process[spawn_urdf-5]: started with pid [3627]
Gazebo multi-robot simulator, version 2.2.3
Copyright (C) 2012-2014 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

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

Msg Waiting for master.[ INFO] [1478096706.652061135]: Finished loading Gazebo ROS API Plugin.
Msg Waiting for master[ INFO] [1478096706.652726170]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...

Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.1.36
[INFO] [WallTime: 1478096706.923169] [0.000000] Controller Spawner: Waiting for service controller_manager/load_controller

Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.1.36
[spawn_urdf-5] process has finished cleanly
log file: /home/lengagne/.ros/log/2638b0b4-a108-11e6-8b8c-3ca9f4685120/spawn_urdf-5*.log
Error [Param.cc:181] Unable to set value [1,0471975511965976] for key[horizontal_fov]
Error [Param.cc:181] Unable to set value [0,100000001] for key[near]

Maybe I did something wrong, (as I told you I am quite new with ROS)

from pepper_virtual.

lengagne avatar lengagne commented on September 7, 2024

And no problem (except shaking fingers) with nao

from pepper_virtual.

lengagne avatar lengagne commented on September 7, 2024

I installed everything from source (except pepper_meshes) and it solves this issue.

from pepper_virtual.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.