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

percy_liu's profile - activity

2020-01-12 14:02:11 -0500 received badge  Famous Question (source)
2018-10-26 02:56:21 -0500 received badge  Notable Question (source)
2018-10-25 21:59:00 -0500 edited question Inaccuracy in depth pointcloud from RGB-D camera

Inaccuracy in depth pointcloud from RGB-D camera Hi, I am using ROS Kinetic. I am trying to get pointcloud of a door fr

2018-10-25 21:55:04 -0500 edited question Inaccuracy in depth pointcloud from RGB-D camera

Inaccuracy in depth pointcloud from RGB-D camera Hi, I am using ROS Kinetic. I am trying to get pointcloud of a door fr

2018-10-25 20:45:52 -0500 commented question Inaccuracy in depth pointcloud from RGB-D camera

I also used LIDAR to generate pointcloud of the door, and I believe the LIDAR is accurate. The differences are between t

2018-10-25 15:29:54 -0500 received badge  Popular Question (source)
2018-10-25 04:32:11 -0500 received badge  Notable Question (source)
2018-10-25 04:32:11 -0500 received badge  Popular Question (source)
2018-10-25 04:19:27 -0500 asked a question Inaccuracy in depth pointcloud from RGB-D camera

Inaccuracy in depth pointcloud from RGB-D camera Hi, I am using ROS Kinetic. I am trying to get pointcloud of a door fr

2018-07-24 01:42:56 -0500 asked a question rosmake error in LSD_SLAM on kinetic

rosmake error in LSD_SLAM on kinetic I'm trying to compile LSD_SLAM on ROS kinetic, but I have some trouble now. I set

2017-07-26 22:08:48 -0500 edited question How to build a rigid model in Gazebo

How to build a rigid model in Gazebo I have a cuboid obstacle in front of a humanoid robot model. When the robot steps o

2017-07-26 22:08:16 -0500 asked a question How to build a rigid model in Gazebo

How to build a rigid model in Gazebo I have a cuboid obstacle in front of a humanoid robot model. When the robot steps o

2017-04-07 04:13:26 -0500 received badge  Famous Question (source)
2016-11-27 13:05:08 -0500 received badge  Notable Question (source)
2016-08-08 01:57:20 -0500 received badge  Popular Question (source)
2016-08-01 02:26:41 -0500 asked a question CMake Error: Could not find module Findcatkin_simple.cmake

I downloaded the whole project from BitBucket and didn't change anything before I compiled the project. The error was

CMake Error at ocs_control_system/type_moveit/CMakeLists.txt:4 (find_package): 
Could not find module Findcatkin_simple.cmake or a configuration file for package catkin_simples.

Adjust CMAKE_MODULE_PATH to find Findcatkin_simple.cmake or set catkin_simple_DIR to the directory containing a CMake configuration file for catkin_simple. The file will have one of the following names:

 catkin_simpleConfig.cmake
 catkin_simple-config.cmake


CMake Error at ocs_control_system/type_moveit/CMakeLists.txt:6 (catkin_simple):
Unknown CMake command "catkin_simple".

-- Configuring incomplete, errors occurred!
Invoking "cmake" failed

The CMakeLists.txt mentioned was

cmake_minimum_required(VERSION 2.8.3)
project(type_moveit)

find_package(catkin_simple REQUIRED)

catkin_simple()

cs_install()
install(DIRECTORY launch DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
install(DIRECTORY config DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

cs_export()

How could I solve this problem? Thanks a lot!

2016-07-13 14:18:39 -0500 received badge  Famous Question (source)
2016-06-28 04:06:15 -0500 received badge  Famous Question (source)
2016-06-10 02:09:25 -0500 received badge  Famous Question (source)
2016-03-02 01:02:43 -0500 received badge  Supporter (source)
2016-03-01 21:51:55 -0500 asked a question How to fix a problem about Rotate Recovery?

After generating a map, my turtlebot stopped during the localization process. There was an error on the terminal:

[WARN] [1456886199.895423082]: DWA planner failed to produce path.
[WARN] [1456886200.091171337]: Rotate recovery can't rotate in place because there is a potential collision. Cost: -1.00

But there was actually quite a distance between the turtlebot and the obstacle. Even if the turtlebot cannot pass the obstacle, it should select a new path rather than just stop. I am using Ubuntu 14.04 and Ros Indigo. Would anyone give me some clues? Thanks in advance.

2016-02-16 02:03:40 -0500 received badge  Enthusiast
2016-02-13 12:41:28 -0500 received badge  Notable Question (source)
2016-02-13 01:37:44 -0500 received badge  Notable Question (source)
2016-02-12 09:07:01 -0500 commented question remove a ros package in workspace

I wonder do you get a more professional solution now. I am facing this problem too.

2016-02-12 08:19:01 -0500 received badge  Popular Question (source)
2016-02-12 05:14:58 -0500 received badge  Notable Question (source)
2016-02-12 04:39:46 -0500 commented answer Problem with publishing Twist message from a node

I added the sentence as you suggested. And no error reported during catkin_make, but still no executable file. Anyway, thanks for your help!

2016-02-12 04:36:32 -0500 received badge  Popular Question (source)
2016-02-12 04:35:45 -0500 commented question No executable file is generated after catkin_make

I checked devel folder and didn't find the executable file. When I run catkin_make, no error reported. There should be a message like "Build Target test". Actually, there was not.

2016-02-12 03:50:02 -0500 commented question No executable file is generated after catkin_make

So sorry. I meant to write catkin_make not catkin_ws.

2016-02-12 03:48:23 -0500 received badge  Editor (source)
2016-02-12 03:24:14 -0500 asked a question No executable file is generated after catkin_make

I was trying to use c++ to publish a Twist message. I added a couple of sentences introduced in wiki tutorials.

include_directories(include ${catkin_INCLUDE_DIRS})

add_executable(test src/test.cpp)
target_link_libraries(test ${catkin_LIBRARIES})
add_dependencies(test beginner_tutorials_generate_message_cpp)

But after running catkin_make, there was no executable file generated. I do not know how to solve this problem. I am using ROS Indigo running on Ubuntu 14.04.

2016-02-12 02:40:27 -0500 received badge  Popular Question (source)
2016-02-12 02:24:14 -0500 received badge  Scholar (source)
2016-02-12 02:09:24 -0500 commented answer Problem with publishing Twist message from a node

There was no error reported when catkin_ws wan running, but no executable file was generated. I don't know how did that happen.

2016-02-12 02:01:57 -0500 asked a question Is there any command that can completely delete a package?

Is there any command that can completely delete a package, which is built from sources in a catkin workspace, on Ubuntu?

2016-02-11 19:06:21 -0500 asked a question Problem with publishing Twist message from a node

I wrote a piece of C++ code which should publish twist message and make a fake turtlebot start moving in Rviz. But after running it, the robot had no reaction.Here is my code.

#define PI 3.14
#include "ros/ros.h"
#include "geometry_msgs/Twist.h"

int main(int argc, char **argv)
{
ros::init(argc, argv, "test");
ros::NodeHandle n;
ros::Publisher cmd_vel_pub=
    n.advertise<geometry_msgs::Twist>("cmd_vel",5);
    int rate=50;
ros::Rate loop_rate(rate);

double linear_speed=0.2;
double goal_distance=1.0;
double linear_duration=goal_distance/linear_speed;
double angular_speed=1.0;
double goal_angle=PI;
double angular_duration=goal_angel/angular_speed;
geometry_msgs::Twist twist_msg;
twist_msg.linear.x=twist_msg.linear.y=twist_msg.linear.z=0;
twist_msg.angular.x=twist_msg.angular.y=twist_msg.angular.z=0;

while(ros::ok())
{
    twist_msg.linear.x=linear_speed;
    int ticks=static_cast<int>(linear_duration*rate);
    for(int j=0;j<ticks;j++)
    {
        cmd_vel_pub.publish(twist_msg);
        loop_rate.sleep();
    }

    twist_msg.linear.x=0;
    cmd_vel_pub.publish(twist_msg);
    ros::Duration(1).sleep();

    twist_msg.angular.z=angular_speed;
    ticks=static_cast<int>(goal_angle*rate);
    for(int j=0;j<ticks;j++)
    {
        cmd_vel_pub.publish(twist_msg);
        loop_rate.sleep();
    }

    twist_msg.angular.z=0;
    cmd_vel_pub.publish(twist_msg);
    ros::Duration(1).sleep();

}

twist_msg.linear.x=0;
twist_msg.angular.z=0;
cmd_vel_pub.publish(twist_msg);
ros::Duration(1).sleep();

return 0;

}

I also add the following code in CMakeList.txt

include_directories(include ${catkin_INCLUDE_DIRS})
add_executable(test src/talker.cpp)
target_link_libraries(test ${catkin_LIBRARIES})

Add this to package.xml

<build_depend>geometry_msgs</build_depend>
<run_depend>geometry_msgs</run_depend>