Ask Your Question

nlamprian's profile - activity

2021-02-27 08:42:09 -0500 received badge  Supporter (source)
2021-02-22 18:49:05 -0500 edited answer ROS and Gazebo: problems when loading joint controllers

That is when gazebo starts commanding the joints, which means there is something wrong with your model. Without having

2021-02-20 02:46:17 -0500 answered a question ROS and Gazebo: problems when loading joint controllers

That is when gazebo starts commanding the joints, which means there is something wrong with your model. Without having

2021-02-20 02:46:17 -0500 received badge  Rapid Responder (source)
2020-10-23 11:27:55 -0500 received badge  Good Answer (source)
2020-09-11 04:10:10 -0500 received badge  Nice Answer (source)
2019-06-12 18:14:38 -0500 received badge  Nice Answer (source)
2019-05-26 20:48:53 -0500 received badge  Guru (source)
2019-05-26 20:48:53 -0500 received badge  Great Answer (source)
2018-08-01 13:01:07 -0500 received badge  Nice Answer (source)
2018-03-20 02:30:21 -0500 received badge  Enlightened (source)
2018-03-20 02:30:21 -0500 received badge  Good Answer (source)
2017-05-06 11:10:18 -0500 commented answer How Timer Callback Function Does the Timing?

Here is the last link. A TimerQueueCallback instance is created each time an iteration is scheduled for execution.

2017-05-06 00:33:04 -0500 commented answer How Timer Callback Function Does the Timing?

It's next_expected that gets updated. current_expected gets its value from next_expected when a TimerQueueCallback insta

2017-05-06 00:32:46 -0500 commented answer How Timer Callback Function Does the Timing?

It's next_expected that gets updated. current_expected gets its value from next_expected when a TimerQueueCallback insta

2017-05-05 16:39:51 -0500 answered a question How Timer Callback Function Does the Timing?

current_expected is computed after the callback is called. But that is only relevant when the timer jumps. In normal ope

2017-04-25 02:10:50 -0500 answered a question catkin_make error when build talker and listener

Check that listener.cpp is in the specified directory and has the correct name.

2017-04-24 05:27:47 -0500 answered a question Refer to current package's root name

I'll refer to roscpp, but I expect the same goes for rospy. You can use ros::package::getPath("<my-package-name>"

2017-04-22 15:45:22 -0500 commented answer ROS Nodelet receive and processing in parallel

Given that everything is inside the nodelet class (and so the publisher is a member variable), there isn't much to consi

2017-04-21 01:48:42 -0500 answered a question ROS Nodelet receive and processing in parallel

First of all, you can't do the processing in the callback, because it will (potentially) block the other nodelets. Here

2017-03-28 02:03:58 -0500 received badge  Enthusiast
2017-03-27 03:42:17 -0500 received badge  Autobiographer
2017-03-27 02:45:55 -0500 answered a question Error when running launch file Marker.launch

The tags for the tag_rot and tag_trans don't have a / at the end: ... default="0 -0.28 -0.1 0 0 0" />

2017-03-27 02:37:35 -0500 answered a question How to visualize PointCloud2 in rviz

The problem is that you have left the fixed frame to map. RViz doesn't know where to place the point cloud, since the map -> velodyne transform doesn't exist. So, either use the static_transform_publisher in tf to publish that transform, or just change the frame in rviz to velodyne.

2017-03-26 23:22:21 -0500 received badge  Nice Answer (source)
2017-03-26 17:15:28 -0500 answered a question How to execute command inside launch file?

You need to use the command attribute, like so: <param name="port" command="identify_port.py device1" />. This will set the output of your script as the value of port.

Don't forget that the script should be in your PATH and have execute permission.

2017-03-25 03:14:03 -0500 commented answer find position of object in a bag

I don't have personal experience with this. Maybe someone else can help you better.

2017-03-24 18:15:17 -0500 answered a question error with action server and client

This error comes from the client. You are calling 2 times set_succeeded on the server, so the client complains, as the second time the action is already in a terminal state. You should call the set_X methods only once.

2017-03-24 14:38:44 -0500 answered a question rqt_plot value vs other value instead of timestamp

You can't with rqt_plot. But you can with rqt_multiplot. It's far superior to rqt_plot with many great features.

2017-03-24 12:30:25 -0500 commented question Can't get data from topic

Notice how you are not assigning anything with the received message msg.

2017-03-24 08:51:47 -0500 commented question Sick Tim publisher and subscriber in one node

You haven't defined the constructor of the class, i.e. replace ; with {}.

2017-03-24 05:51:42 -0500 answered a question find position of object in a bag

The node doesn't need to know about the bag file. The code expects images on a topic. So, you just have to playback the bag file and subscribe to the right topic. See, here. You can also use the rqt_bag tool to examine the bag file.

2017-03-24 05:29:10 -0500 commented question Compilation error with kinetic

sensor_msgs::PointCloud is a plain message type. There are no special member functions like get_points_size.

2017-03-23 17:53:04 -0500 received badge  Teacher (source)
2017-03-23 17:09:04 -0500 answered a question catkin_make -j2

With the -j option, you specify the number of threads to use when compiling. See here.