ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

xuao's profile - activity

2019-09-09 04:20:33 -0500 received badge  Famous Question (source)
2017-08-04 09:37:29 -0500 received badge  Famous Question (source)
2017-04-03 23:50:21 -0500 received badge  Famous Question (source)
2017-03-31 23:22:48 -0500 received badge  Notable Question (source)
2017-02-24 07:27:39 -0500 commented answer kinect2 Service call failed ,roslaunch kinect2_bridge kinect2_bridge.launch

I have faced the same problem with you, could you tell me how you solved this question? Thank you very much.

2016-12-09 07:49:21 -0500 received badge  Famous Question (source)
2016-12-09 07:49:21 -0500 received badge  Notable Question (source)
2016-12-09 07:49:21 -0500 received badge  Popular Question (source)
2016-12-09 07:48:41 -0500 received badge  Popular Question (source)
2016-12-09 07:20:23 -0500 received badge  Notable Question (source)
2016-12-07 20:31:08 -0500 asked a question When i run " roslaunch naoqi_driver naoqi_driver.launch nao_ip:=169.254.42.173 roscore_ip:=127.0.0.1 network_interface:=eth0", the error of " System error: Connection refused" happened?

I'm a newer to nao, and i want to control nao on ROS.First , i run ROS_IP=127.0.0.1 roscore and the answer is commom.like this :

logging to /home/aicrobo/.ros/log/608a836e-bce2-11e6-8019-b707679c6b18/roslaunch-ubuntu-14312.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.

st

    arted roslaunch server http://127.0.0.1:56621/
    ros_comm version 1.11.16


SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.1


NODES

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

setting /run_id to 608a836e-bce2-11e6-8019-b707679c6b18
process[rosout-1]: started with pid [14337]
started core service [/rosout]

But when i run the command

roslaunch naoqi_driver naoqi_driver.launch nao_ip:=169.254.42.173 roscore_ip:=127.0.0.1 network_interface:=eth0

error happened:

  ... logging to /home/aicrobo/.ros/log/608a836e-bce2-11e6-8019-b707679c6b18/roslaunch-ubuntu-16262.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://ubuntu:59515/

    SUMMARY
    ========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.16

NODES
  /
    naoqi_driver (naoqi_driver/naoqi_driver_node)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[naoqi_driver-1]: started with pid [16280]
[W] 16286 qimessaging.transportsocket: connect: Connection refused
terminate called after throwing an instance of 'qi::FutureUserException'
  what():  System error: Connection refused

process [naoqi_driver-1] has died!
process has died [pid 16280, exit code -6, cmd /home/aicrobo/nao_ws/devel/lib/naoqi_driver/naoqi_driver_node --qi-url=  tcp://169.254.42.173: 9559 --roscore_ip=127.0.0.1 --network_interface=eth0 __name:=naoqi_driver __log:=/home/aicrobo/.ros/log/608a. 836e-bce2-11e6-8019-b707679c6b18/naoqi_driver-1.log].


 log file: /home/aicrobo/.ros/log/608a836e-bce2-11e6-8019-b707679c6b18/naoqi_driver-1*.log,Initiating shutdown!
 [naoqi_driver-1] killing on exit
  shutting down processing monitor...
 shutting down processing monitor complete done

Thank you for your help!

2016-05-31 10:00:52 -0500 received badge  Taxonomist
2016-04-28 15:36:47 -0500 received badge  Famous Question (source)
2016-04-15 03:18:26 -0500 received badge  Notable Question (source)
2016-04-15 03:01:59 -0500 commented answer cannot launch node of type : can't locate node in package ERROR: cannot launch node of type : can't locate node in package

Hi, gvdhoorn, i have encountered the same problem here, i have tried many methods but no use, could you help me? thank you very much

2016-04-15 02:48:00 -0500 received badge  Editor (source)
2016-04-15 02:38:47 -0500 commented answer ERROR: cannot launch node of type [move_base/move_base]: can't locate node [move_base] in package [move_base]

I have encountered same problem like this, the detail are in here, and i have tried many methods but no use, could you help me solve it?

2016-04-14 21:16:25 -0500 commented answer Error: cannot launch node of type [message_to_tf/message_to_tf]: can't locate node [message_to_tf] in package [message_to_tf]

I have tried this command but the output is same with the previous

aicrobo@ubuntu:~/catkin_ws$ rosrun message_to_tf message_to_tf
[rosrun] Couldn't find executable named message_to_tf below /home/aicrobo/catkin_ws/src/message_to_tf
2016-04-14 21:16:25 -0500 received badge  Commentator
2016-04-14 20:39:56 -0500 received badge  Popular Question (source)
2016-04-14 02:12:08 -0500 commented answer can't locate node [camera1394stereo_node]

I have encountered the same problem, but i don't know what check out the source into my catkin workspace and build it exactly means, could you give me the detailed instructions? Thank you very much. And my question is at here

2016-04-13 20:10:41 -0500 commented question Error: cannot launch node of type [message_to_tf/message_to_tf]: can't locate node [message_to_tf] in package [message_to_tf]

I have installed that package in home/aicrobo/catkin_ws/src, and catkin_ws is my workspace.

aicrobo@ubuntu:~/catkin_ws$ rospack find message_to_tf
/home/aicrobo/catkin_ws/src/message_to_tf
2016-04-13 03:49:27 -0500 asked a question Error: cannot launch node of type [message_to_tf/message_to_tf]: can't locate node [message_to_tf] in package [message_to_tf]

I'm new in ros, i have downloaded hector_quadrotor package, and when i run the command roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch after opening a new terminal, everything is normal, but when i run that command again after running cd ~/catkin_ws, catkin_make, source devel/setup.bash, the error: ERROR: cannot launch node of type [message_to_tf/message_to_tf]: can't locate node [message_to_tf] in package [message_to_tf] occurred. The details like this:

aicrobo@ubuntu:~/catkin_ws$ roslaunch hector_quadrotor_demo outdoor_flight_gazebo.launch
... logging to /home/aicrobo/.ros/log/ace916f6-fc96-11e5-8da5-b888e3704f6c/roslaunch-ubuntu-11805.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://ubuntu:60744/

SUMMARY
========

PARAMETERS
 * /base_link_frame: /base_link
 * /controller/imu_topic: 
 * /controller/motor/type: hector_quadrotor_...
 * /controller/pose/type: hector_quadrotor_...
 * /controller/pose/xy/k_d: 0.0
 * /controller/pose/xy/k_i: 0.0
 * /controller/pose/xy/k_p: 2.0
 * /controller/pose/xy/limit_output: 5.0
 * /controller/pose/yaw/k_d: 0.0
 * /controller/pose/yaw/k_i: 0.0
 * /controller/pose/yaw/k_p: 2.0
 * /controller/pose/yaw/limit_output: 1.0
 * /controller/pose/z/k_d: 0.0
 * /controller/pose/z/k_i: 0.0
 * /controller/pose/z/k_p: 2.0
 * /controller/pose/z/limit_output: 5.0
 * /controller/state_topic: 
 * /controller/twist/angular/xy/k_d: 5.0
 * /controller/twist/angular/xy/k_i: 5.0
 * /controller/twist/angular/xy/k_p: 10.0
 * /controller/twist/angular/xy/time_constant: 0.01
 * /controller/twist/angular/z/k_d: 0.0
 * /controller/twist/angular/z/k_i: 2.5
 * /controller/twist/angular/z/k_p: 5.0
 * /controller/twist/angular/z/limit_output: 3.0
 * /controller/twist/angular/z/time_constant: 0.1
 * /controller/twist/limits/force/z: 30.0
 * /controller/twist/limits/load_factor: 1.5
 * /controller/twist/limits/torque/xy: 10.0
 * /controller/twist/limits/torque/z: 1.0
 * /controller/twist/linear/xy/k_d: 0.0
 * /controller/twist/linear/xy/k_i: 1.0
 * /controller/twist/linear/xy/k_p: 5.0
 * /controller/twist/linear/xy/limit_output: 10.0
 * /controller/twist/linear/xy/time_constant: 0.05
 * /controller/twist/linear/z/k_d: 0.0
 * /controller/twist/linear/z/k_i: 1.0
 * /controller/twist/linear/z/k_p: 5.0
 * /controller/twist/linear/z/limit_output: 10.0
 * /controller/twist/linear/z/time_constant: 0.05
 * /controller/twist/type: hector_quadrotor_...
 * /ground_truth_to_tf/frame_id: /world
 * /ground_truth_to_tf/odometry_topic: ground_truth/state
 * /ground_truth_to_tf/tf_prefix: 
 * /quadrotor_aerodynamics/C_mxy: 0.074156208
 * /quadrotor_aerodynamics/C_mz: 0.050643264
 * /quadrotor_aerodynamics/C_wxy: 0.12
 * /quadrotor_aerodynamics/C_wz: 0.1
 * /quadrotor_propulsion/CT0s: 1.53819048398e-05
 * /quadrotor_propulsion/CT1s: -0.00025224
 * /quadrotor_propulsion/CT2s: 0.0
 * /quadrotor_propulsion/J_M: 2.5730480633e-05
 * /quadrotor_propulsion/Psi: 0.00724217982751
 * /quadrotor_propulsion/R_A: 0.201084219222
 * /quadrotor_propulsion/alpha_m: 0.104863758314
 * /quadrotor_propulsion/beta_m: 0.549262344778
 * /quadrotor_propulsion/k_m: -7.01163190977e-05
 * /quadrotor_propulsion/k_t: 0.0153368647144
 * /quadrotor_propulsion/l_m: 0.275
 * /robot_description: <?xml version="1....
 * /robot_state_publisher/publish_frequency: 50.0
 * /rosdistro: indigo
 * /rosversion: 1.11.16
 * /tf_prefix: 
 * /use_sim_time: True
 * /world_frame: world

NODES
  /
    controller_spawner (controller_manager/spawner)
    gazebo (gazebo_ros/gzserver)
    gazebo_gui (gazebo_ros/gzclient)
    ground_truth_to_tf (message_to_tf/message_to_tf)
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    rviz (rviz/rviz)
    spawn_robot (gazebo_ros/spawn_model)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[gazebo-1]: started with pid [11826]
process[gazebo_gui-2]: started with pid [11830]
process[spawn_robot-3]: started with pid [11834 ...
(more)
2016-04-12 20:14:40 -0500 marked best answer question about the command :sudo apt-get install ros-indigo-rqt-common-plugin

I run the command :sudo apt-get install ros-indigo-rqt-common-plugin,but the answer is: E: Unable to locate package ros-indigo-rqt-common-plugin. I don't know why ,anybody who knows please tell me how to solve it. thank you very much.

2016-04-12 20:13:43 -0500 received badge  Notable Question (source)
2016-04-12 09:32:49 -0500 asked a question Cmake error in target_link_libraries, the target is not built in this directory

I'm new in ros, after downloading the hector_quadrotor package, many Cmake error occurred while catkin_make, it's about target_link_libraries, but i don't know how to solve it.

For example, Cmake error like this:

CMake Error at hector_quadrotor/hector_quadrotor_gazebo_plugins/CMakeLists.txt:63 (target_link_libraries):
  Attempt to add link library "/usr/lib/x86_64-linux-gnu/libpthread.so" to
  target "hector_gazebo_quadrotor_simple_controller" which is not built in
  this directory.

CMake Error at hector_quadrotor/hector_quadrotor_gazebo_plugins/CMakeLists.txt:63 (target_link_libraries):
  Attempt to add link library
  "/usr/lib/x86_64-linux-gnu/libconsole_bridge.so" to target
  "hector_gazebo_quadrotor_simple_controller" which is not built in this
  directory.

and the related information in CMakeLists.txt like this:

    add_library(hector_gazebo_ros_baro src/gazebo_ros_baro.cpp)
    target_link_libraries(hector_gazebo_ros_baro ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES})
    add_dependencies(hector_gazebo_ros_baro hector_uav_msgs_generate_messages_cpp)

    add_library(hector_gazebo_quadrotor_simple_controller src/gazebo_quadrotor_simple_controller.cpp)
    target_link_libraries(hector_gazebo_quadrotor_simple_controller ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES})

  if(hector_quadrotor_propulsion_LIBRARY)
      add_library(hector_gazebo_quadrotor_propulsion src/gazebo_quadrotor_propulsion.cpp)
      target_link_libraries(hector_gazebo_quadrotor_propulsion ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${hector_quadrotor_propulsion_LIBRARY})
      add_dependencies(hector_gazebo_quadrotor_propulsion hector_uav_msgs_generate_messages_cpp)
    else()
      message(WARNING "Quadrotor propulsion model is not available. Skipping target hector_gazebo_quadrotor_propulsion...")
    endif()

    if(hector_quadrotor_aerodynamics_LIBRARY)
      add_library(hector_gazebo_quadrotor_aerodynamics src/gazebo_quadrotor_aerodynamics.cpp)
      target_link_libraries(hector_gazebo_quadrotor_aerodynamics ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES} ${hector_quadrotor_aerodynamics_LIBRARY})
    else()
      message(WARNING "Quadrotor aerodynamics model is not available. Skipping target hector_gazebo_quadrotor_aerodynamics...")
    endif()

and the line 63 in CMakeLists.txt is :

target_link_libraries(hector_gazebo_quadrotor_simple_controller ${GAZEBO_LIBRARIES} ${catkin_LIBRARIES})

wish for your help! thanks very much!

2016-04-05 08:40:42 -0500 received badge  Famous Question (source)
2016-03-29 07:53:54 -0500 received badge  Popular Question (source)
2016-02-23 21:03:14 -0500 received badge  Famous Question (source)
2016-02-23 21:03:14 -0500 received badge  Famous Question (source)
2016-01-07 22:06:38 -0500 commented answer question about parsing urdf file

I'm sure that my path is correct. But when I run another urfd file"01-myfirst.urdf", which is in the same package with "my_robot.urdf", it succeeded.

xu@xu-ThinkPad-SL410:~/catkin_ws/src/urdf_tutorial/urdf$ check_urdf 01-myfirst.urdf robot name is: myfirst Successfully Parsed XML

2016-01-07 08:45:02 -0500 commented answer question about parsing urdf file

Do you mean running check_urdf /home/xu/catkin_ws/src/Learning_tutorials/urdf/my_robot.urdf directly to parse my file? I have tried that way ,but still failed.

2016-01-07 08:30:01 -0500 received badge  Notable Question (source)
2016-01-07 08:03:15 -0500 received badge  Popular Question (source)
2016-01-07 07:53:14 -0500 commented answer question about parsing urdf file

I followed this answer but the same question still appeared.

 xu@xu-ThinkPad-SL410:~$ cd   ~/catkin_ws/src/Learning_tutorials/urdf
        xu@xu-ThinkPad-SL410:~/catkin_ws/src/Learning_tutorials/urdf$ check_urdf my_robot.urdf
Error:   Error document empty.
         at line 72 in /build/buildd/urdfdom-0.2.10+dfsg/urdf_parser/src/model.cpp
ERROR: Model Parsing the xml failed
2016-01-07 06:52:22 -0500 asked a question question about parsing urdf file

I followed the urdf /Tutorials/ Create your own urdf file: http://wiki.ros.org/urdf/Tutorials/Cr... , and run check_urdf my_robot.urdf, but the answer is:

Error:   Error document empty.

at line 72 in /build/buildd/urdfdom-0.2.10+dfsg/urdf_parser/src/model.cpp

ERROR: Model Parsing the xml failed

and I can't find the file of build/buildd/urdfdom-0.2.10+dfsg/urdf_parser/src/model.cpp, I don't know how to solve it, anyone could help me ?

2015-12-28 22:07:02 -0500 asked a question question about gazebo

i'm a newer to gazebo. I followed installation tutorial in http://gazebosim.org to install gazebo, but when i run 'gazebo', there is no response. And when i run 'gzserver', no response , too. then, I run 'gzclient', the gazebo GUI appeared. But the area of world view is black,I can't see anything in this area. How can i solve it?

2015-10-30 04:32:14 -0500 commented answer question about rosrun beginner_tutorials talker in Tutorials

hahaha, i got it.Maybe i misunderstood it before, thank you for your explanation.

2015-10-30 04:29:27 -0500 marked best answer question about rosrun beginner_tutorials talker in Tutorials

I followed the Tutorials and built a talker.cpp and listener.cpp

http://wiki.ros.org/cn/ROS/Tutorials/...

but when i run the command:$ rosrun beginner_tutorials talker, the output likes that:

[ INFO] [1446193944.614306315]: hello world 0
[ INFO] [1446193944.714341871]: hello world 1
[ INFO] [1446193944.814325116]: hello world 2
[ INFO] [1446193944.914325682]: hello world 3
[ INFO] [1446193945.014323803]: hello world 4
[ INFO] [1446193945.114317734]: hello world 5
[ INFO] [1446193945.214318579]: hello world 6
[ INFO] [1446193945.314322916]: hello world 7
[ INFO] [1446193945.414319291]: hello world 8
[ INFO] [1446193945.514289057]: hello world 9
[ INFO] [1446193945.614313089]: hello world 10
[ INFO] [1446193945.714288023]: hello world 11
[ INFO] [1446193945.814288449]: hello world 12
[ INFO] [1446193945.914288596]: hello world 13
[ INFO] [1446193946.014314654]: hello world 14
[ INFO] [1446193946.114281486]: hello world 15
[ INFO] [1446193946.214334433]: hello world 16
[ INFO] [1446193946.314335348]: hello world 17
[ INFO] [1446193946.414329558]: hello world 18
[ INFO] [1446193946.514324047]: hello world 19
[ INFO] [1446193946.614327756]: hello world 20
[ INFO] [1446193946.714328811]: hello world 21
[ INFO] [1446193946.814324557]: hello world 22
[ INFO] [1446193946.914328894]: hello world 23
[ INFO] [1446193947.014327924]: hello world 24
[ INFO] [1446193947.114329677]: hello world 25
[ INFO] [1446193947.214324585]: hello world 26
[ INFO] [1446193947.314323614]: hello world 27
[ INFO] [1446193947.414327044]: hello world 28
[ INFO] [1446193947.514330682]: hello world 29
[ INFO] [1446193947.614354505]: hello world 30
[ INFO] [1446193947.714330766]: hello world 31
[ INFO] [1446193947.814328468]: hello world 32
[ INFO] [1446193947.914337625]: hello world 33
[ INFO] [1446193948.014337632]: hello world 34

and continue...not until i pressed ctrl+c did it stop.

i want know why and how to solve it.thank you very much.