Open illhyhl1111 opened 6 years ago
Hello, I'm sorry that I wrote the code you mentioned. In my case, it is working in the same environment (Pepper, ros indigo, ubuntu 14.04)... I'm not sure how to solve it... I will ask a maintainer to revert it later because I don't have time to look into this for a few weeks...
Could you tell me whether the error message always goes like this?
get language service is resetting
^C[naoqi_driver-2] killing on exit
[I] 24954 qi.Application: Sending the stop command...
Could you tell me which version you have for naoqi_driver
and naoqi_bridge_msgs
?
naoqi_bridge_msgs
version 0.0.8
has been released recently, but I'm not sure why build succeeded in this case.
Hello. Thanks for replying!
Well, yes. It always stop on line get language service is resetting
, and I have to force quit(ctrl+c).
We discovered that it is stuck in a while loop at Driver::rosLoop()
in naoqi_driver.cpp
.
the version is
root@bmrr-kimchi:~/catkin_ws# rosversion naoqi_driver
0.5.10
root@bmrr-kimchi:~/catkin_ws# rosversion naoqi_bridge_msgs
0.0.8
Maybe, everything is the most recent version.
Then, do you recommend to use the past version of naoqi_driver or naoqi_bridge_msgs?
Thank you very much for your reply. I will look into the code tomorrow.
For the time being, could you use the past version of naoqi_driver
?
I'm sorry for my bad code.
Oh god, it is working on version 0.5.9. Whoa,,, thank you so much.
Hello @illhyhl1111 , did you compile naoqi_driver from source? Or did you install it with apt-get install ? And naoqi_bridge_msgs?
I first installed it by apt-get, and there was some problem with it. So I downloaded the source and reverted to version 0.5.9 and compiled it, and it worked.
By the way, can I ask you just one thing more?
At last year, I used version 0.5.9 with apt-get and the topic which naoqi_driver_node published were something like /pepper_robot/*
(ex /pepper_robot/camera/front/image_raw
).
But after building it by source, it publishes like /naoqi_driver_node/camera/front/image_raw
and so I'm suffering some problems.
Could you please tell me the fastest way to use the published topics with name /pepper_robot/* ?
Hello, about node topic issue, this issue and these pull-requests are related: https://github.com/ros-naoqi/pepper_robot/issues/35 https://github.com/ros-naoqi/pepper_robot/pull/40 https://github.com/ros-naoqi/naoqi_driver/pull/85
I think you can change the node name by using pepper_full.launch
in pepper_robot
or set ROS_NAMESPACE
in your .bashrc
.
If we use pepper_full.launch
, I think we need to get pepper_robot
from source because the latest release (pepper-robot: 0.1.10) didn't include https://github.com/ros-naoqi/pepper_robot/pull/40.
About the first error (stuck in get language is resetting
), I couldn't have enough time to look it into today, please wait for a while. I'm sorry.
I'm sorry for my one more question.
When you execute roslaunch naoqi_driver naoqi_driver,launch
with version 0.5.10
,
is there no result shown by rosnode list
and rostopic list
?
If the results are like these (*), I think it is ok.
If not, could you please keep using 0.5.9
? I can't have access to Pepper for a week. I'm sorry...
The output on the terminal stops at get language service is resetting
because of https://github.com/ros-naoqi/naoqi_driver/pull/88.
(*)
rosnode list
/naoqi_driver
/rosout
rostopic list
/cmd_vel
/diagnostics
/joint_angles
/joint_states
/move_base_simple/goal
/naoqi_driver/audio
/naoqi_driver/bumper
/naoqi_driver/camera/bottom/camera_info
/naoqi_driver/camera/bottom/image_raw
/naoqi_driver/camera/bottom/image_raw/compressed
/naoqi_driver/camera/bottom/image_raw/compressed/parameter_descriptions
/naoqi_driver/camera/bottom/image_raw/compressed/parameter_updates
/naoqi_driver/camera/bottom/image_raw/theora
/naoqi_driver/camera/bottom/image_raw/theora/parameter_descriptions
/naoqi_driver/camera/bottom/image_raw/theora/parameter_updates
/naoqi_driver/camera/depth/camera_info
/naoqi_driver/camera/depth/image_raw
/naoqi_driver/camera/depth/image_raw/compressed
/naoqi_driver/camera/depth/image_raw/compressed/parameter_descriptions
/naoqi_driver/camera/depth/image_raw/compressed/parameter_updates
/naoqi_driver/camera/depth/image_raw/compressedDepth
/naoqi_driver/camera/depth/image_raw/compressedDepth/parameter_descriptions
/naoqi_driver/camera/depth/image_raw/compressedDepth/parameter_updates
/naoqi_driver/camera/depth/image_raw/theora
/naoqi_driver/camera/depth/image_raw/theora/parameter_descriptions
/naoqi_driver/camera/depth/image_raw/theora/parameter_updates
/naoqi_driver/camera/front/camera_info
/naoqi_driver/camera/front/image_raw
/naoqi_driver/camera/front/image_raw/compressed
/naoqi_driver/camera/front/image_raw/compressed/parameter_descriptions
/naoqi_driver/camera/front/image_raw/compressed/parameter_updates
/naoqi_driver/camera/front/image_raw/theora
/naoqi_driver/camera/front/image_raw/theora/parameter_descriptions
/naoqi_driver/camera/front/image_raw/theora/parameter_updates
/naoqi_driver/camera/ir/camera_info
/naoqi_driver/camera/ir/image_raw
/naoqi_driver/camera/ir/image_raw/compressed
/naoqi_driver/camera/ir/image_raw/compressed/parameter_descriptions
/naoqi_driver/camera/ir/image_raw/compressed/parameter_updates
/naoqi_driver/camera/ir/image_raw/theora
/naoqi_driver/camera/ir/image_raw/theora/parameter_descriptions
/naoqi_driver/camera/ir/image_raw/theora/parameter_updates
/naoqi_driver/hand_touch
/naoqi_driver/head_touch
/naoqi_driver/imu/base
/naoqi_driver/imu/torso
/naoqi_driver/info
/naoqi_driver/laser
/naoqi_driver/odom
/naoqi_driver/sonar/back
/naoqi_driver/sonar/front
/rosout
/rosout_agg
/speech
/tf
Sorry. I left the lab just 20 minutes ago. I will check it on next Monday.
I'm now using the version released in April 2017 and it is fine. The first 0.5.9 version had some problems in the namespace.
Compiling from source should be fine but you need to do “got pull” in both naoqi_driver and naoqi_bridge_msgs
Regarding the released version (the one that you got with apt-get), you can try installing/updating both naoqi_bridge_msgs and naoqi_driver since they are dependent.
rosnode list
and rostopic list
is exactly same as you, and I am so sorry to have confused you.
The problem of our server is, naoqi_driver isn't publishing any topic message.
(rostopic echo naoqi_driver/camera/front/image_raw
prints nothing)
I thought there is some problem with naoqi_driver, because it prints no log and seems to be stuck in somewhere.
I thought it was fixed after reverting version.. because the log prints out.
I had checked that version 0.5.10 works fine in another server(Ubuntu 16.04), both for apt-get and source compiling. The first server(Ubuntu 14.04) still isn't working, but I think the fault is in somewhere else.
So sorry once more.;;
Don't worry, thank you very much for your report! In addition, thank you very much for answering my questions again and again!
I'll also check camera topic issue. I'll be back in a week!
Hi!
Is there any update on this matter? I am getting the same infinite loop on my pepper. It always stops on " get language service is resetting" until I stop the process.
robot config service is resetting resetting service set language service set language service is resetting resetting service get language service get language service is resetting ^C[naoqi_driver-2] killing on exit [I] 1523606370.456088 26120 qi.Application: Sending the stop command... Audio Extractor: Stop
My naoqi_driver and naqi_bridge_msgs versions are 0.5.10 and 0.0.8 respectively.
Hi,
It always stops on " get language service is resetting" until I stop the process.
I think it is right behavior if rosnode list
and rostopic list
show nodes and topics respectively.
related pull-request: #88
Could you please check these commands?
Thanks for the quick reply!
I tried the commands you suggested and you're right. The driver is actually working in the background.
~/ROS/pepper_ws$ rosnode list /naoqi_driver /rosout
~/ROS/pepper_ws$ rostopic list /cmd_vel /diagnostics ... ... /rosout /rosout_agg /speech /tf
However now my question is why doesn't it say anything like "Driver is ready for use"
or something of the sort. Before the console output comes to a halt at "get language service is resetting"
there are 5+ outputs of "resetting X"
, "X is resetting"
and then finally "X reset"
.
As a first time user of your driver I was expecting the same to happen with get language service
. However it didn't happen no matter how long I waited or restarted ROS, Pepper. Unfortunately, I didn't think of using the commands you provided.
So shouldn't it give you at least some sort of confirmation of Hey, I am ready for use
?
Thank you very much for your comment. I am a little bit busy now, but when I have time, I will add some message like "driver is ready for use". I also appreciate your help.
If you enable "logs" (please see #88 ), you will see endless log message warning as discussed in #68 . That is why I send #88, but I did not take care of a first time user at that time. Thank you very much for your advice.
Hello, we are trying to apply naoqi_driver on pepper, ros-indigo, Ubuntu 14.04
Actually, it was working well on our environment at last year. But after reinstalling ros-indigo and naoqi_driver, it isn't working.
Here is my log.
The process stuck after line 'get language service is resetting'.
Please let me know if something more information needed. Thanks!