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

ljk's profile - activity

2020-07-20 14:12:11 -0500 received badge  Necromancer (source)
2019-08-19 20:15:20 -0500 received badge  Famous Question (source)
2019-08-19 20:15:20 -0500 received badge  Notable Question (source)
2019-08-19 20:15:20 -0500 received badge  Popular Question (source)
2019-06-08 00:44:10 -0500 received badge  Great Question (source)
2018-05-06 05:26:28 -0500 received badge  Popular Question (source)
2018-05-05 21:38:32 -0500 commented question ROS Communication segfault issue with python

thanks for the comments @gvdhoorn! I did try to use debug with gdb by following this tutorial but I didn't get useful

2018-05-05 21:38:13 -0500 commented question ROS Communication segfault issue with python

I agree with you that observing tcpros being mentioned many times does not mean it is the cause of the problem. now I am

2018-05-05 21:33:51 -0500 commented question ROS Communication segfault issue with python

thanks for the comments @gvdhoorn! I did try to use debug with gdg by following this tutorial but I didn't get useful

2018-05-05 00:14:55 -0500 received badge  Enthusiast
2018-05-04 22:49:56 -0500 edited question ROS Communication segfault issue with python

ROS Communication segfault issue with python Hi ROS community, Recently I encountered a very weird segfault with ros co

2018-05-04 22:30:15 -0500 asked a question ROS Communication segfault issue with python

ROS Communication segfault issue with python Hi ROS community, Recently I encountered a very weird segfault with ros co

2017-01-27 06:26:26 -0500 received badge  Famous Question (source)
2016-05-26 08:35:40 -0500 received badge  Good Question (source)
2016-04-15 01:56:43 -0500 received badge  Notable Question (source)
2015-10-09 04:16:03 -0500 asked a question octomap server problem: MarkerArray doesn't enclose all point clouds

Hi ,

I am trying to use octomap server to build occupancy grid for my environment and objects.

This is the raw point cloud from simulator: raw pcl

after segmentation and call octomap service to build the map, below is the MarkerArray in visualization for the middle object: image description

As you can see, the occupancy grids are not completely enclosing the point cloud, and I understand that the generated occupancy grid depends on the actual pose of object due to the fixed resolution of the grid. But for my purpose, I want to full enclosure no matter where the object is located.

So is there a way or is there some parameter in octomap I can play with to achieve that purpose?

Thank you so much in advance!

2015-09-09 22:43:27 -0500 commented answer ROS and PCL conversion issue using stereo camera

I encountered the same problem, thanks a lot for the workable solution!

2015-08-02 13:25:56 -0500 received badge  Popular Question (source)
2015-07-29 17:01:38 -0500 received badge  Nice Question (source)
2015-07-22 05:33:57 -0500 commented answer Which planning scene does Moveit! use to plan a collision-free path?

Thank you so much for the answer, Dornhege!

2015-07-22 02:51:12 -0500 asked a question Which planning scene does Moveit! use to plan a collision-free path?

Dear Community,

I am able to visualize the occupancy grid in rviz after launching moveit with a kinect.

There are two topics for the planning scene: 1. monitored_planning_scene: this one is updated if the env changes in real time 2. planning_scene: this one is kind of static

I want to know when using moveit! to perform collision-free path planning, eg. plan2 = group.plan() python api

Is the path planned against the monitored_planning_scene, which will reflect the current env or against planning_scene which is the first sight of the env when moveit! is launched?

Thank you so much for your help in advance!

2014-12-27 12:23:02 -0500 received badge  Self-Learner (source)
2014-12-27 12:23:02 -0500 received badge  Teacher (source)
2014-12-14 03:08:18 -0500 received badge  Famous Question (source)
2014-11-23 03:31:39 -0500 received badge  Famous Question (source)
2014-05-28 03:21:24 -0500 received badge  Famous Question (source)
2014-04-30 08:50:09 -0500 received badge  Notable Question (source)
2014-04-20 06:57:10 -0500 marked best answer Ros topic published string cannot be captured

Dear my friends,

Recently, I have encountered the following problem.

I want my ros node to publish a string message if other node is sending request for this message and I want to differentiate each message sent, which means for each request only one string is sent out: I use the following command to publish the string (python code)

pub=rospy.Publisher('/act',String)
action_str='hello'
pub.publish(action_str)

I also use rostopic echo /act to see whether the string has been sent, but i see nothing when running the ros node

But if I repeatedly send publish the same string using for loop (about 2000 loops), now I can see the message on the screen, but this is not what i want, I just want to publish once not multiple times.

I guess the issue here is due to the communication latency of ros?

Any help and suggestions are much much appreciated!!!

Juekun

2014-04-20 06:55:36 -0500 marked best answer PR2 arm planning is not shown in Gazebo

Hi my friends,

I have a problem following the tutorial on Moveit! here

I follow exactly what the tutorial says, the pr2 can plan an arm trajectory and show the animation in Rviz, however when i click the Execute button on the Motion Planning panel, the pr2 in gazebo does nothing. The error message i received from rviz is as follows:

 [ERROR] [1378352167.379469133, 105.504000000]: Unable to identify any set of controllers that can actuate the specified joints: [ l_elbow_flex_joint l_forearm_roll_joint l_shoulder_lift_joint l_shoulder_pan_joint l_upper_arm_roll_joint l_wrist_flex_joint l_wrist_roll_joint ]

But i am sure i also follow the tutorial here to setup the configurations.

Can someone help to solve the problem. I am running on groovy Ubuntu 12.04LTS.

Thanks a lot in advance!

2014-04-20 06:55:29 -0500 marked best answer point_cloud cmake problem: cannot specify link libraries for target

Hi my friends, I am using ros-fuerte on 12.04. I am trying to compile the example from http://correll.cs.colorado.edu/?p=2807 which runs on ros-groovy. I have created my own CMakeLists.txt in order to make, however i encountered the following problem after running "make":

> mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package point_cloud_test
[rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake
[rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake
[rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake
WARN, found multiple boost versions '[(1, 46, 1, '/usr', '/usr/include', True, True), (1, 54, 0, '/usr/local', '/usr/local/include', True, True)]', using latestWARN, found multiple boost versions '[(1, 46, 1, '/usr', '/usr/include', True, True), (1, 54, 0, '/usr/local', '/usr/local/include', True, True)]', using latestCMake Error at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:897 (target_link_libraries):
  Cannot specify link libraries for target "point_cloud_test" which is not
  built by this project.
Call Stack (most recent call first):
  CMakeLists.txt:28 (rosbuild_link_boost)


-- Configuring incomplete, errors occurred!
make: *** [all] Error 1

The CMakeLists.txt is :

    cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)

# Set the build type.  Options are:
#  Coverage       : w/ debug symbols, w/o optimization, w/ code-coverage
#  Debug          : w/ debug symbols, w/o optimization
#  Release        : w/o debug symbols, w/ optimization
#  RelWithDebInfo : w/ debug symbols, w/ optimization
#  MinSizeRel     : w/o debug symbols, w/ optimization, stripped binaries
#set(ROS_BUILD_TYPE RelWithDebInfo)

rosbuild_init()

#set the default path for built executables to the "bin" directory
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)
#set the default path for built libraries to the "lib" directory
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

#uncomment if you have defined messages
#rosbuild_genmsg()
#uncomment if you have defined services
#rosbuild_gensrv()

#common commands for building c++ executables and libraries
#rosbuild_add_library(${PROJECT_NAME} src/example.cpp)
#target_link_libraries(${PROJECT_NAME} another_library)
rosbuild_add_boost_directories()
rosbuild_link_boost(point_cloud_test thread)
rosbuild_add_executable(point_cloud_test src/point_cloud_test.cpp)
#target_link_libraries(point_cloud_test libboost.lib)

find_package(VTK)

include ("${VTK_USE_FILE}")

I think the problem will be editing target_link_libraries, but i do not know which library to add and how to add it. Could someone help to give some instructions? Thanks a lot in advance!

2014-04-20 06:55:25 -0500 marked best answer How to playback pointcloud in rviz which was recorded using rosbag

Hi my friends, I am quite new to ROS and pointcloud. I am running some experiments with pointcloud using kinect.

after running roslaunch openni_launch openni.launch and rosbag record /camera/depth/points for a few seconds, i terminate the recording and get a .bag file in /bagfile. Now i want to play back the .bag file and visualize it in rviz. Any clue how to achieve this? Thanks a lot for your kind instruction!

2014-03-25 21:12:28 -0500 received badge  Popular Question (source)