Can't get image from nao_camera
Hello, I want some help.
I am using NAO right now. I follow this tutorial : www.ros.org/wiki/nao/Tutorials/Getting-Started
and I can make it walk, etc.
INFO : I am using this version -> pynaoqi-python-2.7-naoqi-1.12.5-linux64
But, I need the image from NAO camera.
So, in the nao_driver, I add this :
<node pkg="nao_driver" type="nao_camera.py" name="nao_camera" required="true" args="--pip=$(arg nao_ip) --pport=$(arg nao_port)" output="screen"/>
Then I run :
rostopic list -v
Result :
zangetsu@ubuntu:~/fuerte_workspace$ rostopic list -v
Published topics:
* /image_raw [sensor_msgs/Image] 1 publisher
* /rosout [rosgraph_msgs/Log] 6 publishers
* /joint_states [sensor_msgs/JointState] 1 publisher
... etc ...
and ROS said the /image_raw topic is there.
But when I run this :
rosrun image_view image_view image:=/image_raw
Nothing happens, just a gray screen in the frame.
No idea, but just a comment: You could also try reporting the problems (& wishes) at the ROS/Nao mailing list
Is there anyone who success run it before ?
btw, I got this error when I try execute : > rostopic echo /image_raw
WARNING: no messages received and simulated time is active. Is /clock being published
Why do you have the sim time parameter enabled, are you playing back from a bag file? Are you using "--clock" with "rosbag play"?
no, I connect it directly to NAO. I didn't use rosbag. I am using the real robot.
Well, something set "/use_sim_time" to True, it needs to be False
hmm I check with rosparam get use_sim_time, the result is false ...
@AHornung but when I try to run it manually with this script
http://www.aldebaran-robotics.com/documentation/_downloads/videoInput_getImage.py
it stuck at this line : nameId = camProxy.subscribe("python_GVM", resolution,
I have similar issue, I can't launch the process because it's dying in the middle of the launch, I have managed to get to know, and it's dying at the same line camProxy.subscribe("rospy_gvm", self.resolution, self.colorSpace, self.fps)