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

Ziwen Qin's profile - activity

2019-03-08 02:45:49 -0500 received badge  Great Answer (source)
2017-07-02 22:03:12 -0500 received badge  Good Answer (source)
2017-04-28 20:49:12 -0500 marked best answer Test kinect:No devices connected.... waiting for devices to be connected

My environment is Ubuntu12.04, ros indigo. "http://learn.turtlebot.com" was followed by me, but when i run

roslaunch openni_launch openni.launch

the logs of terminal show

[ INFO] [1463638647.225005146]: No devices connected.... waiting for devices to be connected

It hits me with long time, help me!

2017-03-07 00:11:50 -0500 received badge  Famous Question (source)
2017-03-03 02:05:30 -0500 received badge  Self-Learner (source)
2017-01-31 08:20:11 -0500 received badge  Famous Question (source)
2017-01-17 12:30:29 -0500 received badge  Nice Question (source)
2017-01-15 02:17:02 -0500 received badge  Notable Question (source)
2017-01-06 05:31:52 -0500 received badge  Notable Question (source)
2016-12-10 01:09:00 -0500 received badge  Nice Answer (source)
2016-12-08 01:50:06 -0500 received badge  Popular Question (source)
2016-12-02 21:14:42 -0500 asked a question DWA planner failed to produce path

I use ubuntu14.04, ros-indigo and kinect2, using move_base to navigate.But the error, DWA planner failed to produce path, aways show me. the parameter yaml of move_base show as follow:

costmap_common_params.yaml

#max_obstacle_height: 0.70  # assume something like an arm is mounted on top of the robot

# Obstacle Cost Shaping (http://wiki.ros.org/costmap_2d/hydro/inflation)
robot_radius: 0.20  # distance a circular robot should be clear of the obstacle (kobuki: 0.18)
# footprint: [[x0, y0], [x1, y1], ... [xn, yn]]  # if the robot is not circular

#map_type: voxel
map_type: costmap

obstacle_layer:
  enabled:              true
  max_obstacle_height:  0.8
  unknown_threshold:    15
  mark_threshold:       0
  combination_method:   1 
  track_unknown_space:  true    #true needed for disabling global path planning through unknown space
  obstacle_range: 2.5
  raytrace_range: 3.0
  origin_z: 0.0
  z_resolution: 0.1
  z_voxels: 6
  publish_voxel_map: ture
  observation_sources:  scan bump
  scan:
    data_type: LaserScan
    topic: /scan_kinect
    marking: true
    clearing: true
    min_obstacle_height: 0.0
    max_obstacle_height: 0.8
  bump:
    data_type: PointCloud2
    topic: /hokuyo_points
    marking: true
    clearing: false
    min_obstacle_height: 0.0
    max_obstacle_height: 0.8
  # for debugging only, let's you see the entire voxel grid

#cost_scaling_factor and inflation_radius were now moved to the inflation_layer ns
inflation_layer:
  enabled:              true
  cost_scaling_factor:  5.0  # exponential rate at which the obstacle cost drops off (default: 10)
  inflation_radius:     0.1  # max. distance from an obstacle at which costs are incurred for planning paths.

static_layer:
  enabled:              false

dwa_local_planner_params.yaml

DWAPlannerROS:


# Robot Configuration Parameters - Kobuki
  max_vel_x: 0.1  # 0.55  
  min_vel_x: 0.0 

  max_vel_y: 0.0  # diff drive robot
  min_vel_y: 0.0  # diff drive robot

  max_trans_vel: 0.5 # choose slightly less than the base's capability
  min_trans_vel: 0.1  # this is the min trans velocity when there is negligible rotational velocity
  trans_stopped_vel: 0.1

  # Warning!
  #   do not set min_trans_vel to 0.0 otherwise dwa will always think translational velocities
  #   are non-negligible and small in place rotational velocities will be created.

  max_rot_vel: 0.4  # choose slightly less than the base's capability
  min_rot_vel: 0.2  # this is the min angular velocity when there is negligible translational velocity
  rot_stopped_vel: 0.2

  acc_lim_x: 0.2 # maximum is theoretically 2.0, but we 
  acc_lim_theta: 0.1
  acc_lim_y: 0.0      # diff drive robot

# Goal Tolerance Parameters
  yaw_goal_tolerance: 0.3  # 0.05
  xy_goal_tolerance: 0.3  # 0.10
  # latch_xy_goal_tolerance: false

# Forward Simulation Parameters
  sim_time: 1.7       # 1.7
  vx_samples: 6       # 3
  vy_samples: 1       # diff drive robot, there is only one sample
  vtheta_samples: 20  # 20

# Trajectory Scoring Parameters
  path_distance_bias: 64.0      # 32.0   - weighting for how much it should stick to the global path plan
  goal_distance_bias: 24.0      # 24.0   - wighting for how much it should attempt to reach its goal
  occdist_scale: 0.5            # 0.01   - weighting for how much the controller should avoid obstacles
  forward_point_distance: 0.325 # 0.325  - how far along to place an additional scoring point
  stop_time_buffer: 0.2         # 0.2    - amount of time a robot must stop in before colliding for a valid traj.
  scaling_speed: 0.25           # 0.25   - absolute velocity at which to start scaling the robot's footprint
  max_scaling_factor: 0.2       # 0.2    - how much to scale the robot ...
(more)
2016-12-01 20:24:53 -0500 commented answer move_base warning sensor out of bounds

I am confused, When I run the navigation without using a map, Should I set "static_map" true or false in the global costmap yaml?

2016-11-24 20:06:33 -0500 received badge  Popular Question (source)
2016-11-23 21:02:45 -0500 received badge  Notable Question (source)
2016-11-23 21:02:45 -0500 received badge  Popular Question (source)
2016-11-23 18:56:29 -0500 received badge  Self-Learner (source)
2016-11-23 18:56:29 -0500 received badge  Teacher (source)
2016-11-21 06:34:07 -0500 commented question image_view symbol lookup error

This appears to be a bug with ROS' apt-get image-view program (version 1.12.18): https://github.com/ros-perception/ima...

I'd recommend running $ sudo apt-get update $ sudo apt-get install ros-indigo-image-view

to pull down the latest fixed package.

2016-11-16 09:05:29 -0500 answered a question cmake could not find octomap_ros when run catkin_make

some package was not install

sudo apt-get install ros-indigo-octomap ros-indigo-octomap-mapping ros-indigo-octomap-msgs ros-indigo-octomap-ros ros-indigo-octomap-rviz-plugins ros-indigo-octomap-server

every thing is fine running!

2016-11-16 08:37:50 -0500 asked a question cmake could not find octomap_ros when run catkin_make

I use ros indigo with ubuntu 14.04. When I run catkin_make in catkin_ws, some errors shows as follows:

CMake Warning at rtabmap_ros/CMakeLists.txt:16 (find_package):
By not providing "Findoctomap_ros.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"octomap_ros", but CMake did not find one.

Could not find a package configuration file provided by "octomap_ros" with
any of the following names:

octomap_rosConfig.cmake
octomap_ros-config.cmake

Add the installation prefix of "octomap_ros" to CMAKE_PREFIX_PATH or set
"octomap_ros_DIR" to a directory containing one of the above files.  If
"octomap_ros" provides a separate development package or SDK, be sure it
has been installed.

but I have run this command:

sudo apt-get install ros-indigo-octomap

Thanks!

2016-10-17 03:29:26 -0500 received badge  Famous Question (source)
2016-10-05 17:13:05 -0500 received badge  Famous Question (source)
2016-09-01 20:52:22 -0500 received badge  Notable Question (source)
2016-07-30 00:57:12 -0500 received badge  Notable Question (source)
2016-07-27 01:33:35 -0500 commented answer gmapping problem

nice! Thank you

2016-07-26 03:31:50 -0500 received badge  Popular Question (source)
2016-07-15 02:54:19 -0500 received badge  Famous Question (source)
2016-07-14 07:43:25 -0500 asked a question Segmentation fault (core dumped), when I run rviz

When I run rviz rviz three times, some error shows as following , but they are different every once:

$ rosrun rviz rviz 
[ INFO] [1468499057.211105138]: rviz version 1.11.14
[ INFO] [1468499057.211166911]: compiled against Qt version 4.8.6
[ INFO] [1468499057.211202413]: compiled against OGRE version 1.8.1 (Byatis)
[ INFO] [1468499057.383304036]: Stereo is NOT SUPPORTED
[ INFO] [1468499057.383418412]: OpenGl version: 3 (GLSL 1.3).
*** Error in `/opt/ros/indigo/lib/rviz/rviz': corrupted double-linked list: 0x0000000003010da0 ***

$ rosrun rviz rviz 
[ INFO] [1468499072.494468931]: rviz version 1.11.14
[ INFO] [1468499072.494551823]: compiled against Qt version 4.8.6
[ INFO] [1468499072.494571163]: compiled against OGRE version 1.8.1 (Byatis)
[ INFO] [1468499072.664915634]: Stereo is NOT SUPPORTED
[ INFO] [1468499072.665024294]: OpenGl version: 3 (GLSL 1.3).
Segmentation fault (core dumped)

$ rosrun rviz rviz 
[ INFO] [1468499075.609869702]: rviz version 1.11.14
[ INFO] [1468499075.609944896]: compiled against Qt version 4.8.6
[ INFO] [1468499075.609960871]: compiled against OGRE version 1.8.1 (Byatis)
[ INFO] [1468499075.780059320]: Stereo is NOT SUPPORTED
[ INFO] [1468499075.780169193]: OpenGl version: 3 (GLSL 1.3).
*** Error in `/opt/ros/indigo/lib/rviz/rviz': double free or corruption (!prev): 0x0000000002e9af90 ***
Aborted (core dumped)

What should I do ? Thank you!

2016-07-07 00:24:08 -0500 commented question What's the secret about RGBDSLAM_v2?

Yes, you are right. But I am using to kinect2. When I run rgbdslam, The GUI show results of single frame fusion.

2016-07-06 09:59:56 -0500 commented question What's the secret about RGBDSLAM_v2?

Are you using kinect2?

2016-07-06 09:57:32 -0500 answered a question rgbdslam_v2 not receiving any video stream from Realsense R200

I have same question. But I use kinect2, so I installed libfreenect2 and iai_kinect. Using iai_kinect2 bridge translate in kinect2 and ros. But RGBDSLAM GUI seem show point cloud result of fusion of single frame .

2016-07-06 09:49:20 -0500 commented answer rgvdslam v2 roslaunch error in ubuntu 14.04 ros indigo

Are you using kinect2? If you use kinect2, you should install libfreenect2 and iai_kinect2. And you should change topic of data sequence from kinect2 in rgbdslam.launch

2016-07-06 01:40:24 -0500 received badge  Popular Question (source)
2016-07-05 08:14:06 -0500 received badge  Commentator
2016-07-05 08:14:06 -0500 commented answer Mapping surroundings

Thank you. I am try

2016-07-05 06:44:22 -0500 commented answer Mapping surroundings

Thank you @Sebastian Kasperski , But I want to create 3-D Map of surroundings. I maybe can create 3-D map when I run nav2d.

2016-07-04 21:19:30 -0500 asked a question Mapping surroundings

Who know one program that voluntarily move on in strange environment, then give me a map of surroundings. It very like SLAM+navigation. I want to find the program that with this function. Can you help me? Thank you very much!

2016-07-02 18:37:39 -0500 received badge  Famous Question (source)
2016-06-23 16:08:14 -0500 received badge  Student (source)
2016-06-23 10:01:45 -0500 marked best answer run "rosdep install -r --from-paths ." error when I install iai_kinect2

When I was run rosdep install -r --from-paths ., some errors show me as following:

turtlebot@turtlebot-HP-ZBook-14-G2:~/catkin_ws/src/iai_kinect2$ rosdep install -r --from-paths .

ERROR: the following packages/stacks could not have their rosdep keys resolved

to system dependencies:

kinect2_viewer: Cannot locate rosdep definition for [kinect2_bridge]

kinect2_calibration: Cannot locate rosdep definition for [kinect2_bridge]

kinect2_bridge: Cannot locate rosdep definition for [kinect2_registration]

Continuing to install resolvable dependencies...

All required rosdeps installed successfully

Some assistes show as following writing by author:

rosdep will output errors on not being able to locate [kinect2_bridge] and [depth_registration]. That is fine because they are all part of the iai_kinect2 package and rosdep does not know these packages.

what should I do, my rosdep can just know these packages. Thank you very much!

2016-06-23 08:21:16 -0500 edited answer run "rosdep install -r --from-paths ." error when I install iai_kinect2

I find that this errors can be ignore, however, OpenCL is not optional but integrant when install iai_kinect2.