ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2021-04-22 17:59:19 -0500 | received badge | ● Famous Question (source) |
2021-04-01 06:22:19 -0500 | received badge | ● Student (source) |
2018-08-29 13:57:03 -0500 | received badge | ● Famous Question (source) |
2018-08-28 20:22:34 -0500 | received badge | ● Notable Question (source) |
2018-08-28 19:36:50 -0500 | received badge | ● Popular Question (source) |
2018-08-28 14:44:57 -0500 | asked a question | gyro calibration not working gyro calibration not working Hello, I followed instructions from here. I place my turtlebot infront of a wall and run |
2018-07-15 10:35:06 -0500 | received badge | ● Notable Question (source) |
2018-07-15 10:22:21 -0500 | commented answer | unit_cylinder not a model in turtlebot3_world Partial answer to my question. I found the model.sdf file but, I am still looking for answers on how to change those val |
2018-07-15 01:56:05 -0500 | received badge | ● Popular Question (source) |
2018-07-14 21:46:46 -0500 | answered a question | unit_cylinder not a model in turtlebot3_world It's here: catkin_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models/turtlebot3_world$ gedit model.sdf How can I cha |
2018-07-14 20:42:17 -0500 | asked a question | unit_cylinder not a model in turtlebot3_world unit_cylinder not a model in turtlebot3_world Hi guys, I am launching a gazebo world using: export TURTLEBOT3_M |
2018-01-11 20:36:59 -0500 | received badge | ● Famous Question (source) |
2017-04-30 02:58:47 -0500 | marked best answer | unable to extract images from bag file http://wiki.ros.org/rosbag/Tutorials/... I am following this tutorial. after I did roslaunch export.launch, this is the message i got I did ctrl+c moved this file into test directory. but I can;t see any images here Also, i actually want to extract stereo images. when I do rosbag info, I get: |
2016-07-02 18:12:28 -0500 | received badge | ● Famous Question (source) |
2016-01-11 08:07:29 -0500 | received badge | ● Notable Question (source) |
2016-01-11 08:07:29 -0500 | received badge | ● Popular Question (source) |
2015-12-21 17:50:57 -0500 | received badge | ● Famous Question (source) |
2015-10-30 02:06:22 -0500 | received badge | ● Famous Question (source) |
2015-07-17 04:24:29 -0500 | answered a question | publisher and subscriber in single node hello, I have done it as per the solutions give here. I am subscribing to a sensor_msgs::Image, and I want to publish my_package/RectifiedImage.msg over a topic "mycustomtopic". When I do "rostopic list", it is showing /mycustomtopic When I do "rostopic echo mycustomtopic", it is showing "the rosdep view is empty: call 'sudo rosdep init' and 'rosdep update' ERROR: Cannot load message class for [stereo_msgs/RectifiedImage]. Are your messages built?" this is what I was doing: void callback(const ..){ .. my_msg_pub_.publish(myimage); .. return; } and int main(int argc , char** argv){ subscribe to sensor_msgs::Image callback my_msg_pub_ = nh.advertise<stereo_msgs::rectifiedimage>("mycustomtopic", 1); ros::spin(); return 0; } where could be my mistake? |
2015-07-16 15:35:32 -0500 | asked a question | ERROR: Cannot load message class for [stereo_msgs/RectifiedImage]. Are your messages built? http://answers.ros.org/question/18707... http://answers.ros.org/question/62430... https://github.com/epsilonorion/rosco... http://answers.ros.org/question/57103... these answers did not help me. in my workspace, I have my custom message stereo_msgs/RectifiedImage.msg I want to publish that. when I do rostopic list, I can see "/mycustomtopic" but when I do rostopic echo, "ERROR: Cannot load message class for [stereo_msgs/RectifiedImage]. Are your messages built?" my_msg_pub_ = nh.advertise<stereo_msgs::rectifiedimage>("mycustomtopic", 1); this is in my main function and in my callback function (i am subscring to other message type), my_msg_pub_.publish(myimage); pls help me out |
2015-07-14 11:38:02 -0500 | received badge | ● Notable Question (source) |
2015-07-13 13:33:58 -0500 | commented answer | subscribing to custom message type no, they are not connected. I did "rostopic list" to find out that "mycustomtopic" is being published |
2015-07-13 09:04:12 -0500 | received badge | ● Famous Question (source) |
2015-07-13 08:58:31 -0500 | commented answer | subscribing to custom message type not exactly. please see my edited question |
2015-07-13 07:25:34 -0500 | commented answer | subscribing to custom message type NO! I included it now, and it worked! |
2015-07-13 07:25:34 -0500 | received badge | ● Commentator |
2015-07-13 06:11:43 -0500 | commented answer | subscribing to custom message type yes, it is included |
2015-07-13 05:35:41 -0500 | commented answer | subscribing to custom message type done! sorry for the inconvinience |
2015-07-13 04:07:02 -0500 | commented answer | subscribing to custom message type Linking CXX executable /home/krish/architecture_ws/devel/lib/compute_disparity/hsvgmmN CMakeFiles/hsvgmmN.dir/src/hsvgmmN.cpp.o: In function `ros::Subscriber ros::NodeHandle::subscribe<swahana_v2::rectified_image_<std::allocator<void> > >(std::basic_string<char, std::char_traits<char="">, std::allocato |
2015-07-13 03:20:14 -0500 | received badge | ● Notable Question (source) |
2015-07-13 02:45:41 -0500 | commented answer | subscribing to custom message type void chatterCallback(const swahana_v2::rectified_image::ConstPtr &msg){ std::cout << "checker" << std::endl; } |
2015-07-12 12:27:21 -0500 | commented answer | subscribing to custom message type that also did not work! :( |
2015-07-12 10:57:07 -0500 | received badge | ● Popular Question (source) |
2015-07-12 04:42:17 -0500 | commented answer | subscribing to custom message type void chatterCallback(const rectified_imageConstPtr &msg) is my callback function.. and I got the following error message: /home/krish/architecture_ws/src/compute_disparity/src/hsvgmmN.cpp:116:28: error: ‘rectified_imageConstPtr’ does not name a type I have the rectified_image.msg as my custom |
2015-07-10 14:16:40 -0500 | asked a question | subscribing to custom message type I have created a custom message type. I am able to successfully publish it with the topic name "topic". is my custom message. I created a new package. I want to subscribe to the node publishing "topic". is my main function. is my callback function written in the same node. and the output is following is my CMakeLists.txt but, "checker" is not getting printed. This means, there is still some problem with the callback function. please help! |
2015-07-09 06:59:31 -0500 | received badge | ● Editor (source) |
2015-07-09 04:48:24 -0500 | received badge | ● Organizer (source) |
2015-07-09 03:37:17 -0500 | asked a question | convert sensor_msgs::ImagePtr to sensor_msgs::Image I would like to do that conversion http://answers.ros.org/question/9998/... I looked at this answer, but I want to do the opposite of this. sensor_msgs::ImagePtr msg1; msg1 = cv_bridge::CvImage(std_msgs::Header(), "bgr8", imageMat1).toImageMsg(); I have written this in my code. Now, I am confused how to convert this msg1 to sensor_msgs::Image myimage; might be a simple question, but couldn't find the solution anywhere |
2015-07-08 14:23:14 -0500 | received badge | ● Enthusiast |
2015-07-07 07:00:50 -0500 | marked best answer | writing a custom message and using it in a different package first of all, I have gone through these links, so it is not a repeat question:
and i tried all of these solutions, but they did not help me. The question is.. I have created a msg folder in package 'A'. wrote hello.msg in that 'msg' folder. I followed this tutorial: http://wiki.ros.org/ROS/Tutorials/Cre... and catkin_make worked fine here. I now created a new package 'B' , has a node 'helpme.cpp' and in that I have written .....in the callback function
and when I do pls tell me what changes should I make in |
2015-07-07 06:49:01 -0500 | answered a question | writing a custom message and using it in a different package I got this problem because of my programming mistake. I have given the same variable name to both ImageConstPtr and my own message type. the problem is solved now thanks gvdhoorn and cyborg-x1 |