ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2013-10-29 01:17:09 -0500 | received badge | ● Famous Question (source) |
2013-10-29 01:17:09 -0500 | received badge | ● Notable Question (source) |
2013-10-29 01:17:09 -0500 | received badge | ● Popular Question (source) |
2012-10-16 03:07:46 -0500 | received badge | ● Famous Question (source) |
2012-10-16 03:07:46 -0500 | received badge | ● Popular Question (source) |
2012-10-16 03:07:46 -0500 | received badge | ● Notable Question (source) |
2012-08-19 06:27:01 -0500 | received badge | ● Famous Question (source) |
2012-08-19 06:27:01 -0500 | received badge | ● Popular Question (source) |
2012-08-19 06:27:01 -0500 | received badge | ● Notable Question (source) |
2011-08-30 04:26:15 -0500 | answered a question | Why the ROS client could fail! It works! Thanks a lot, Lorenz!!! |
2011-08-30 04:21:01 -0500 | received badge | ● Scholar (source) |
2011-08-30 04:21:01 -0500 | marked best answer | Why the ROS client could fail! Your service callback needs to have the line at the end. If it returns |
2011-08-30 04:20:55 -0500 | commented answer | Why the ROS client could fail! Yes. Thank you! I suddenly find All my clients cannot work anymore. The roscore is warning it cannot write into the ROS_LOG_DIR, it needs reset! I do not know why? I just updated my ROS sometimes when it needs me to. |
2011-08-30 04:20:55 -0500 | commented answer | Why the ROS client could fail! Yes. Thank you! I suddenly find All my clients cannot work anymore. The roscore is warning it cannot write into the ROS_LOG_DIR, it needs reset! I do not know why? I just updated my ROS sometimes when it needs me to. |
2011-08-30 03:36:53 -0500 | answered a question | Why the ROS client could fail! Hi, I upload my full version of codes of the server, hope somebody can find out the errors! The server can work but the the client always failed! do not why, quite annoying! |
2011-08-30 03:29:39 -0500 | received badge | ● Supporter (source) |
2011-08-30 03:24:14 -0500 | commented answer | Why the ROS client could fail! Thank you for your reply. I do not know how to test with ROSSERVICE TOOL. Could you give me a simple example? |
2011-08-30 01:00:28 -0500 | asked a question | Why the ROS client could fail! I have implemented a new server and client. The server can work very well but the client always failed!! The errors are shown below: The srv file is as follows: float32 cpg1 float32 cpg2 float32 cpg3 float32 cpg4 --- float32 input1 float32 input2 float32 input3 float32 input4 And the crucial part of the client is: Whatever I modified, I always got the same error: [ INFO] [1314708828.730975843]: client failed Can somebody figure out what is the problem? |
2011-07-22 01:52:10 -0500 | received badge | ● Editor (source) |
2011-07-22 01:51:42 -0500 | commented question | About "No module named yaml" error But I do not know why this happens!!!! Why AL_DIR is clashed to ROS! |
2011-07-22 01:51:11 -0500 | commented question | About "No module named yaml" error I located the problem in my .bashrc file, it is that AL_DIR is set. IF I comment AL_DIR which is supposed to be NAOSDK dir. Then ROS can find the yaml module. |
2011-07-22 01:51:10 -0500 | commented question | About "No module named yaml" error I located the problem in my .bashrc file, it is that AL_DIR is set. IF I comment AL_DIR which is supposed to be NAOSDK dir. Then ROS can find the yaml module. |
2011-07-22 01:51:10 -0500 | commented question | About "No module named yaml" error I located the problem in my .bashrc file, it is that AL_DIR is set. IF I comment AL_DIR which is supposed to be NAOSDK dir. Then ROS can find the yaml module. |
2011-07-22 00:49:56 -0500 | answered a question | About "No module named yaml" error Is it about the PYTHONPATH setting? Or something else, I am not sure... |
2011-07-22 00:08:50 -0500 | asked a question | About "No module named yaml" error Hi, ROS experts, I have recently run into the same problem on struggling with "no module named yaml" frequently! Obviously, I have already installed the yaml lib, every time I install ROS, there is no such kind of errors. But afterwards, this error will occur especially after I edit the bashrc to add some new paths. Could somebody tell you what is the problem on my ROS! I am sure I did not change any path settings on ROS! Updated: I located the problem in my .bashrc file, it is that AL_DIR is set. IF I comment AL_DIR which is supposed to be NAOSDK dir. Then ROS can find the yaml module. Somebody tells me why? Best, Gauss |
2011-07-19 05:19:13 -0500 | marked best answer | response of a server in python Posting your actual .srv file would help, but I think you just have a bit of terminology issues. If you have two lines in your response section of the service definition, you would have two fields in the response message. For instance, if servicename.srv is: In this case, you could: |
2011-07-19 05:14:35 -0500 | marked best answer | About response function in a server file. You probably want something like: Assuming that your service is in a file called head.srv Note that for headResponse to be defined you may also need to add a line like this towards the top of your source: |
2011-07-11 09:26:46 -0500 | answered a question | About response function in a server file. Thanks a lot! ;-) |
2011-07-10 11:45:13 -0500 | answered a question | How to build ROS nodes with other libraries? I guess you need to modify the CMakefile.txt to add more libs. |
2011-07-10 09:34:14 -0500 | asked a question | response of a server in python Hi, everybody, I have a simple question. If I have more than 2 responses in the srv file. How Can I use them in python code. How to use the servicenameResponse() function? Cheers, Gauss |
2011-07-10 08:26:10 -0500 | asked a question | About response function in a server file. Hello everybody, I am a newer to ROS. I defined a srv file: float64 HeadYawSet float64 HeadPitchSet --- float64 HeadYaw float64 HeadPitch I am going to write a server to get the value from "HeadYawSet" and "HeadPitchSet" simultaneously acquire joint data to put them in HeadYaw and HeadPitch. And my code is below: ##ROS is responsible for communicating the sub-processes with naoqi, it reads any data from the robot and give them to all the sub ##processes and it gets all the data from sub-processes and send them to the robot. NAOQI---ROS---PROCESSES it gave me strange errors when I run my client code in C++ Traceback (most recent call last): File "/opt/ros/diamondback/stacks/ros_comm/clients/rospy/src/rospy/impl/tcpros_service.py", line 600, in _handle_request response = convert_return_to_response(self.handler(request), self.response_class) File "head.py", line 34, in Receive req.HeadYaw= HeadYaw; AttributeError: 'headRequest' object has no attribute 'HeadYaw' [ERROR] [WallTime: 1310328838.362102] Error processing request: 'headRequest' object has no attribute 'HeadYaw' None Can anybody help me a bit here? Thank you so much! |