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

chrissunny94's profile - activity

2023-08-10 00:32:36 -0500 asked a question Any elegant way of concatenating Pointcloud from multiple solid state Lidars ?

Any elegant way of concatenating Pointcloud from multiple solid state Lidars ? https://github.com/tomlogan501/pointclou

2023-08-03 01:13:32 -0500 commented answer Build C++ Library and use in Python Package (Node)

Thanks dude

2023-07-05 18:46:43 -0500 received badge  Notable Question (source)
2023-07-05 00:06:27 -0500 edited question ROS1 ROS2 porting help ?

ROS1 ROS2 porting help ? i have a std::queue defined like this std::queue<sensor_msgs::PointCloud2ConstPtr> poin

2023-07-05 00:04:53 -0500 commented answer ROS1 ROS2 porting help ?

@Gaurav Gupta ,yup making it into shared_ptr , seems to have solved the problem . Someone in office also suggested the s

2023-07-05 00:03:46 -0500 marked best answer ROS1 ROS2 porting help ?

i have a std::queue defined like this

std::queue<sensor_msgs::PointCloud2ConstPtr> pointCloudBuf;

I wanted to understand how to define this in ROS2 , i tried the following but

std::queue<sensor_msgs::msg::PointCloud2::ConstPtr> pointCloudBuf;

When trying to push to the queue

void velodyneHandler(const sensor_msgs::msg::PointCloud2::SharedPtr laserCloudMsg)
{
    mutex_lock.lock();
    pointCloudBuf.push(*laserCloudMsg);
    mutex_lock.unlock();

}

i am getting the following error

no matching function for call to ‘std::queue<std::shared_ptr<const sensor_msgs::msg::PointCloud2_<std::allocator<void> > > >::push(std::__shared_ptr_access<sensor_msgs::msg::PointCloud2_<std::allocator<void> >, __gnu_cxx::_S_atomic, false, false>::element_type&)’
   61 |     pointCloudBuf.push(*laserCloudMsg);
      |     ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~

UPDATE

std::queue<sensor_msgs::msg::PointCloud2::SharedPtr> pointCloudBuf;

This seem to have solved my compilation issues , dont know if it will break something else down the line .

Anyhow , thankyou ROS community !

2023-07-04 23:55:00 -0500 edited question ROS1 ROS2 porting help ?

ROS1 ROS2 porting help ? i have a std::queue defined like this std::queue<sensor_msgs::PointCloud2ConstPtr> poin

2023-07-04 23:51:31 -0500 commented answer ROS1 ROS2 porting help ?

@Gaurav Gupta (small world!), thanks a lot . saw your answer just now . .

2023-07-04 23:51:06 -0500 commented answer ROS1 ROS2 porting help ?

@Mike Scheutzow , yup looks like my code has a lot of incompatible types , sorting it now . Will post my finding soond .

2023-07-04 23:50:13 -0500 commented answer ROS1 ROS2 porting help ?

@gaurav , thanks a lot . saw your answer just now . .

2023-07-04 23:48:43 -0500 received badge  Popular Question (source)
2023-07-03 04:45:23 -0500 asked a question ROS1 ROS2 porting help ?

ROS1 ROS2 porting help ? i have a std::queue defined like this std::queue<sensor_msgs::PointCloud2ConstPtr> poin

2023-06-13 12:53:19 -0500 received badge  Notable Question (source)
2023-06-13 12:53:19 -0500 received badge  Popular Question (source)
2023-05-19 02:42:59 -0500 commented question C++ function that returns a ROS2 msg type .

Solved please find the solution above , hope it helps someone

2023-05-19 02:42:00 -0500 edited question C++ function that returns a ROS2 msg type .

C++ function that returns a ROS2 msg type . Hello ROS community , i am sure this question has been asked numerous times

2023-05-19 00:09:11 -0500 edited question C++ function that returns a ROS2 msg type .

C++ function that returns a ROS2 msg type . Hello ROS community , i am sure this question has been asked numerous times

2023-05-18 23:59:43 -0500 asked a question C++ function that returns a ROS2 msg type .

C++ function that returns a ROS2 msg type . Hello ROS community , i am sure this question has been asked numerous times

2022-01-13 03:00:15 -0500 marked best answer How to auto deploy a robot?

Hey , I want to know how the robot can be configured to start on bootup .

There are a handful of scripts which i want running in a proper order

  1. roscore
  2. node that accepts cmd_vel and publishes tf
  3. freenect node
  4. node that launches the description of the robot (ie URDF)
  5. node that launches the navigation related modules
  6. nodes that pertain to IMU data

How do i run all of the above nodes at startup , how do i make sure that if any of them fails ,then it will be rerun ?

UPDATE image description

I have added respawn param and set it to true for the rosserial_python node , it still doesn't recover when crashing .

2021-04-23 08:53:52 -0500 received badge  Famous Question (source)
2021-03-19 11:14:36 -0500 received badge  Notable Question (source)
2021-03-19 11:14:36 -0500 received badge  Famous Question (source)
2021-02-03 03:31:18 -0500 received badge  Famous Question (source)
2021-02-03 03:31:18 -0500 received badge  Notable Question (source)
2020-12-13 19:45:50 -0500 received badge  Notable Question (source)
2020-11-01 19:49:28 -0500 commented answer LTTNg tracetools examples with ROS1

Awesome and a lot of Thanks Christopher

2020-11-01 19:46:19 -0500 marked best answer LTTNg tracetools examples with ROS1

Greetings ,

I have been trying to make sense of using LTTNg along with some C++ ROS scripts . I stumbled upon the following ,

https://github.com/boschresearch/ros1_tracetools

If anyone has worked on tracing kindly share some insights .

Some basic PUB-SUB examples would be enough

For future reference , there are relevant articles i have come across .

  1. https://christophebedard.com/ros-tracing-message-flow/
  2. https://github.com/christophebedard/tracecompass_ros_testcases
  3. https://lttng.org/blog/2018/03/21/lttng-scope-0.3-a-basic-tutorial/ , THIS IS WHAT REALLY HELPED ME TOWARD THE END

I made a screen recording of how the above example can be run , hope it is helpful to someone https://youtu.be/fRDO-b5A4CM

Relevant tools

  1. https://lttng.org/files/lttng-scope

  2. https://babeltrace.org/

I understand that , there is an official package on this for ROS2 . (as ROS2 is build with RT in mind)

Kindly share anything on this topic .

2020-10-29 12:17:24 -0500 received badge  Popular Question (source)
2020-10-28 23:30:36 -0500 edited question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-28 23:30:00 -0500 edited question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-28 23:28:29 -0500 edited question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-28 23:27:25 -0500 edited question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-28 22:27:30 -0500 edited question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-28 20:45:06 -0500 edited question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-28 20:39:30 -0500 edited question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-28 19:56:36 -0500 commented question LTTNg tracetools examples with ROS1

I did a lot of digging and didnt find any modifications with the C++ code with these examples you have provided . But ev

2020-10-28 19:51:50 -0500 commented question LTTNg tracetools examples with ROS1

Hi @christophebedard thanks for responding , I guess you are the right person for this . Anyhow what i would like is

2020-10-27 21:59:30 -0500 edited question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-27 21:57:12 -0500 asked a question LTTNg tracetools examples with ROS1

LTTNg tracetools examples with ROS1 Greetings , I have been trying to make sense of using LTTNg along with some C++ ROS

2020-10-26 11:17:27 -0500 received badge  Famous Question (source)
2020-08-08 11:07:06 -0500 commented answer Help needed with Autoware Gazebo setup for MPC_follower

@takahoribe , Thank you for your input . I am going step by step , trying to get it to work! I have switched to LGSVL

2020-08-08 11:06:06 -0500 commented answer Help needed with Autoware Gazebo setup for MPC_follower

@takahoribe , Thank you for your input . I am going step by step , trying to get it working . I have switched to LGSVL

2020-08-08 11:03:03 -0500 commented answer Help needed with Autoware Gazebo setup for MPC_follower

@takahoribe , Thank you for your input . I am going step by step , trying to get it working . I have switched to LGSVL

2020-08-08 10:58:42 -0500 received badge  Notable Question (source)
2020-08-05 02:54:59 -0500 received badge  Popular Question (source)
2020-08-04 23:12:51 -0500 edited question Help needed with Autoware Gazebo setup for MPC_follower

Help needed with Autoware Gazebo setup for MPC_follower Hi Guys , 1 week ago , i got started out with Autoware stack .