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

mpatalberta's profile - activity

2020-09-21 12:50:42 -0500 received badge  Famous Question (source)
2020-09-21 12:50:42 -0500 received badge  Notable Question (source)
2020-09-21 12:50:42 -0500 received badge  Popular Question (source)
2019-08-14 10:25:50 -0500 asked a question how do i update my current version of melodic

how do i update my current version of melodic i am running vesion 1.14.3 of melodic

2019-03-26 11:48:52 -0500 received badge  Famous Question (source)
2018-09-24 12:10:21 -0500 received badge  Notable Question (source)
2018-09-24 12:10:21 -0500 received badge  Popular Question (source)
2018-09-19 14:22:30 -0500 received badge  Famous Question (source)
2017-04-20 14:50:50 -0500 received badge  Famous Question (source)
2017-04-05 10:29:25 -0500 received badge  Notable Question (source)
2017-02-06 04:48:48 -0500 received badge  Student (source)
2016-11-18 12:40:40 -0500 received badge  Notable Question (source)
2016-07-01 02:05:49 -0500 received badge  Popular Question (source)
2016-06-30 08:18:48 -0500 asked a question I want to install indigo version 1.11.16 and not the latest version of indigo

I want to select a particular version of indigo to be installed how do I do this?

2016-06-30 08:16:31 -0500 asked a question how do i install a particular ros version

I want to install 1.11.16 ros indigo 1.11.16 and not the latest indigo release how do I do that

2016-06-15 14:17:55 -0500 received badge  Notable Question (source)
2016-06-13 23:51:15 -0500 received badge  Popular Question (source)
2016-06-13 23:51:15 -0500 received badge  Notable Question (source)
2016-06-13 23:51:15 -0500 received badge  Famous Question (source)
2016-03-01 23:40:21 -0500 received badge  Popular Question (source)
2016-03-01 14:41:12 -0500 asked a question rosmaster dies all nodes need to restart

I am finding that if the the rosmaster node is rebooted on one machine and rosmaster is restarted I am finding I am having to restart all the other nodes on the remaining computer. Is their some how a way to prevent the need to restart the other nodes.

2016-02-25 20:12:49 -0500 received badge  Popular Question (source)
2016-02-18 09:36:44 -0500 asked a question how to find a memory leak in a manager nodelet in indigo

PID %CPU %MEM VIRT RSS 8961 153 1.2 1979600 198448 ? Ssl 12-Feb 2273:44:00 /opt/ros/indigo/lib/nodelet/nodelet manager __name:=kinect2tnl_cam1 __log:=/home/mpatalberta/.ros/log/e27c5f9e-d19e-11e5-81af-c03fd563536f/kinect2tnl_cam1-1.log 0 9420 8961 150 1.2 1979600 207868 ? Ssl 12-Feb 10703:12 /opt/ros/indigo/lib/nodelet/nodelet manager __name:=kinect2tnl_cam1 __log:=/home/mpatalberta/.ros/log/e27c5f9e-d19e-11e5-81af-c03fd563536f/kinect2tnl_cam1-1.log

The nodelet leaks 207868 - 198449 = 9040

How do I find the memory leak in the kinect2tnl_cam1-1 process?

Any ideas?

2016-01-13 06:01:11 -0500 received badge  Popular Question (source)
2016-01-12 23:08:36 -0500 asked a question is the swissranger no longer supported by ros in the indigo release

None of the launch files and the related swissranger cod is no longer compiled in cob. Can someone point me what has gone on here?

am I to use this git https://github.com/team-diana/swissra... now?

2016-01-12 16:33:41 -0500 asked a question cob_camera_sensors launch file missing

I am buildind the system under indigo and check out the indigo branch. However their are no launch files for the running "roslaunch cob_camera_sensors" only a python script file exists.

2015-11-08 07:13:46 -0500 answered a question Will this Project be possible? / ROS Time Syncronisation

I have had to combine 5 different computers where 1 machine is the ROS_MASTER and the other are not. I can get sub microsecond accuracy but this requires a continual time update from the master server.

I use and NTP server on the machine running ROS_MASTER. The remaining machine i run a simple cron job updating the time.

2015-11-08 07:08:40 -0500 answered a question convert from sensor_msgs::Image bgr8 to a png file on disk

Good or bad the code compiles and links. I will need to check the routine at work: This involved linking in boost and cv_bridge also painful.

void convert_image_BGR82PNG(const sensor_msgs::Image msg) {

//Convert from the ROS image message to a CvImage suitable for working with OpenCV for processing
cv_bridge::CvImagePtr cv_ptr;
try
{
    //Always copy, returning a mutable CvImage
    //OpenCV expects color images to use BGR channel order.

    sensor_msgs::ImagePtr itI = boost::make_shared<sensor_msgs::Image>(msg);


   cv_ptr = cv_bridge::toCvCopy(itI,"bgr8");
   cv::imwrite("jnk.pcd",cv_ptr->image);

}
catch (cv_bridge::Exception& e)
{
    //if there is an error during conversion, display it
    ROS_ERROR("tutorialROSOpenCV::main.cpp::cv_bridge exception: %s", e.what());
    return;
}

}

2015-11-08 07:07:44 -0500 asked a question convert from sensor_msgs::Image bgr8 to a png file on disk

This is the subroutine I need. What is holding me back from converting the rgb image you send me is converting to a png file. This is done by using cv_bridge to convert from ros to the cv space.

The problem is cv is expecting a const sensor_msgs::imageConstPtr msg

I only have a const sensor_msgs::image. We need to use “boost” some way to make a new member. Do you remember the syntax?

void convert_image_BGR82PNG(const sensor_msgs::Image msg) {

//Convert from the ROS image message to a CvImage suitable for working with OpenCV for processing
cv_bridge::CvImagePtr cv_ptr;
try
{
    //Always copy, returning a mutable CvImage
    //OpenCV expects color images to use BGR channel order.
    const sensor_msgs::ImageConstPtr msgIn;
   //  msgIn = msg::ConstPtr<msg>;
   //msgIn = sensor_msgs::ImageConstPtr(msg);
   cv_ptr = cv_bridge::toCvCopy(msgIn,"bgr8");
   cv::imwrite("jnk.pcd",cv_ptr->image);

}
catch (cv_bridge::Exception& e)
{
    //if there is an error during conversion, display it
    ROS_ERROR("tutorialROSOpenCV::main.cpp::cv_bridge exception: %s", e.what());
    return;
}

}

2015-08-12 11:35:20 -0500 asked a question using messagefilter exacttime - does it support epsilon

How do you get an exactime match with an errror of 0.00001 of a second?