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

luc's profile - activity

2023-03-11 16:39:08 -0500 received badge  Nice Question (source)
2022-08-23 10:39:02 -0500 commented question Import model into RVIZ/MoveIt

Check out the planning scene documentation here: https://ros-planning.github.io/moveit_tutorials/doc/planning_scene_ros_

2022-08-23 10:37:15 -0500 commented question How to overcome Odom drift while using amcl?

Please rephrase your question and add some pictures and we might be able to help you out better.

2021-02-04 13:06:14 -0500 received badge  Famous Question (source)
2019-09-23 15:24:15 -0500 received badge  Necromancer (source)
2019-08-16 16:45:54 -0500 commented answer have send tf data from multiple robot in rviz

@Usui I'll check out that question. If this answer helped you, please mark it as correct!

2019-08-16 16:44:59 -0500 commented answer Loop clousure in nav2d

Please mark my answer as correct if you find that it has helped.

2019-08-16 16:44:32 -0500 commented answer Loop clousure in nav2d

The difference between SLAM and a standalone mapping and standalone localization package can be thought of like this S

2019-08-16 16:44:20 -0500 commented answer Loop clousure in nav2d

The difference between SLAM and a standalone mapping and standalone localization package can be thought of like this -

2019-08-08 01:11:25 -0500 commented answer have send tf data from multiple robot in rviz

They must have two separate AMCL processes running to localize the two robots. You may be able to use a container appro

2019-08-06 12:53:03 -0500 answered a question have send tf data from multiple robot in rviz

Having multiple robots on the same roscore is a real tricky challenge. I'd recommend looking into how to solve that pro

2019-08-06 12:49:41 -0500 received badge  Autobiographer
2019-08-06 12:48:51 -0500 received badge  Rapid Responder (source)
2019-08-06 12:48:51 -0500 answered a question Loop clousure in nav2d

Hi Iman, Looks like there is a version of open_karto that is inside the nav2d package on the ROS wiki: http://wiki.ros

2019-05-20 01:15:19 -0500 received badge  Guru (source)
2019-05-20 01:15:19 -0500 received badge  Enlightened (source)
2019-01-15 13:19:10 -0500 received badge  Famous Question (source)
2018-05-29 03:59:46 -0500 received badge  Self-Learner (source)
2018-01-11 20:35:16 -0500 marked best answer Why does RViz segfault sometimes when I ctrl-c the process?

Just the title, really.

It doesn't seem to effect anything when I see the segfault being reported, but it doesn't seem like it should happen. Moreover, when I close the RViz window using the (x) button in the top left, Ubuntu sometimes tells me "Sorry, RViz has crashed!" when I, well, made it 'crash'...

2017-08-09 01:39:05 -0500 received badge  Great Answer (source)
2017-07-03 12:45:05 -0500 received badge  Popular Question (source)
2017-07-03 12:45:05 -0500 received badge  Notable Question (source)
2017-06-19 14:40:00 -0500 received badge  Great Question (source)
2017-04-20 14:45:33 -0500 received badge  Famous Question (source)
2017-01-11 09:45:39 -0500 received badge  Good Question (source)
2016-12-12 21:03:35 -0500 received badge  Famous Question (source)
2016-12-12 21:03:10 -0500 received badge  Famous Question (source)
2016-12-12 20:53:38 -0500 received badge  Editor (source)
2016-12-12 20:51:21 -0500 asked a question cv_bridge in a class leads to segfault when cv_ptr->image is accessed

Hi ROS friends,

I'm having an issue where when I get my const sensor_msgs::ImageConstPtr &msg in my callback function, and do a cv_ptr = cv_bridge::toCvCopy(msg, sensor_msgs::image_encodings::RGB8); where cv_ptr is a cv_bridge::CvImagePtr, and try to do anything with the cv_ptr->image, the line where I do toCvCopy segfaults. When I leave the pointer alone and maybe access its contents or something elsewhere in my class, it's seemingly fine... I'm extremely confused.

Here's some of my real code:

void CNNLocalizer::imageCB(const sensor_msgs::ImageConstPtr &msg)
{
  cv_bridge::CvImagePtr cv_ptr;

  try
  {
    cv_ptr = cv_bridge::toCvCopy(msg, sensor_msgs::image_encodings::RGB8);

    ROS_INFO("Attempt!");
    cv::Mat image = cv_ptr->image.clone();
    ROS_INFO("Success!");

    image.convertTo(g_most_recent_image_, CV_32FC3);

    g_img_height_ = msg->height;
    g_img_width_ = msg->width;

    g_got_image_ = true;
  }
  catch (cv_bridge::Exception &e)
  {
    ROS_ERROR("Failed converting the received message: %s", e.what());
    return;
  }
}

If I get rid of the business where I try to clone the cv_ptr->image, there is no segfault... Any tips or tricks? Am I misunderstanding how things are working here...?

Edit: I am running my camera data through a looping rosbag with --clock enabled.

2016-12-07 20:16:52 -0500 commented answer tf tree is invalide because it contains a loop

me too! thanks!

2016-09-22 20:45:07 -0500 received badge  Notable Question (source)
2016-09-22 20:45:07 -0500 received badge  Popular Question (source)
2016-09-20 14:43:46 -0500 answered a question [ariac/gear] Could not load controller 'ariac/arm'

Turns out I didn't have ros-indigo-joint-trajectory-controller installed. Oopz.

Do a sudo apt-get install ros-indigo-joint-trajectory-controller and have a nice day.

2016-09-01 11:04:02 -0500 commented question [ariac/gear] Could not load controller 'ariac/arm'

Also - the support forum for GEAR seems to be only available to OSRF employees: https://groups.google.com/a/osrfounda...

2016-09-01 11:03:39 -0500 asked a question [ariac/gear] Could not load controller 'ariac/arm'

Hi,

I'd normally open an issue against osrf/gear; but there doesn't seem to be an issues tab on the Bitbucket repository.

I'm having some issues launching the GEAR examples. Namely, when I do roslaunch osrf_gear sample.launch, gazebo opens with the simulation but the arm seems to appear on the ground and only moves very slowly.

Arm on the ground

I also get these error messages when launching:

[ERROR] [1472745023.718771045, 0.001000000]: Could not load controller 'ariac/arm' because controller type 'effort_controllers/JointTrajectoryController' does not exist.

[ERROR] [1472745023.718824000, 0.001000000]: Use 'rosservice call controller_manager/list_controller_types' to get the available types

Error when loading ariac/arm

[ERROR] [1472745023.728961885, 0.009000000]: Could not start controller with name ariac/arm because no controller with this name exists

I thought it may be as simple as me missing effort_controllers but I seem to have them installed already. It seems as if the controller plugin is not existent?

For reference, I wrote this script to do my environment setup so this is what I am using: https://github.com/cwru-robotics/cwru...

Thanks in advance for any help anyone may be able to give.

-Luc

2016-07-19 18:06:38 -0500 commented question sync arduino mega and ros serial help

try installing ros-indigo-rosserial-arduino

2016-07-12 18:29:27 -0500 commented question sync arduino mega and ros serial help

What version ROS do you have on your desktop? What version of rosserial-arduino do you have?

2016-06-16 12:23:28 -0500 commented answer Can I use WiringPi on ROS indigo ?

If you need any reference for using wiring_pi with ROS, you can check out my project here: https://github.com/lucbettaieb/origam...

2016-06-16 12:21:37 -0500 commented answer Can I use WiringPi on ROS indigo ?

Yeah, when I did it, I had to do su root, enter my password, then it worked.

2016-05-24 07:50:50 -0500 received badge  Nice Question (source)
2016-05-17 17:04:23 -0500 received badge  Good Answer (source)
2016-03-20 15:59:05 -0500 commented answer Can I use WiringPi on ROS indigo ?

This was very helpful; but be sure to use the direct path to your wiringPi folder you cloned in the FIND_LIBRARY command in order for full functionality to actually work.

2016-03-18 00:18:35 -0500 received badge  Nice Answer (source)
2016-03-03 11:12:52 -0500 received badge  Notable Question (source)
2016-02-28 08:33:08 -0500 received badge  Famous Question (source)
2016-02-27 23:41:17 -0500 received badge  Notable Question (source)