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

Kevin's profile - activity

2019-07-24 04:50:59 -0500 received badge  Famous Question (source)
2019-07-24 04:50:59 -0500 received badge  Notable Question (source)
2018-07-27 22:25:31 -0500 marked best answer Kinect: how do I convert depth image to pointcloud?

I want to send kinect data wirelessly to a desktop computer. Point clouds consume a lot of bandwidth, so I want to send the depth images instead. But on my desktop computer, what is the easiest way to convert those depth images into point clouds? Do I have to make my own node and just grab the correct point cloud functions out of the kinect driver or has someone already done that?

2017-10-24 06:37:18 -0500 received badge  Nice Question (source)
2017-09-05 23:07:27 -0500 received badge  Nice Answer (source)
2017-07-12 22:13:05 -0500 received badge  Great Question (source)
2017-01-09 07:50:13 -0500 received badge  Great Answer (source)
2017-01-09 07:50:13 -0500 received badge  Guru (source)
2016-09-22 05:48:20 -0500 received badge  Good Question (source)
2016-04-13 19:51:34 -0500 marked best answer What is the difference between tf and tf2?

What does tf2 add that tf doesn't have and why would I choose one over the other? It isn't clear to me what the difference is ... thanks.

2016-02-11 05:14:24 -0500 received badge  Good Answer (source)
2015-11-10 10:10:50 -0500 marked best answer IP Camera Node

Has anyone written a node to read an mjpeg and/or mpeg4 stream off a an IP camera such as the D-Link DCS-932?

2015-11-10 10:10:45 -0500 received badge  Nice Question (source)
2015-09-18 14:02:34 -0500 received badge  Nice Question (source)
2015-09-18 14:02:30 -0500 marked best answer How do you use jpeg_streamer

Sorry, but I ran jpeg_streamer and another node that publishes a compressed image but now what do I do? Tried to connect a web browser to localhost:8080 but nothing happened. Expected to see my camera image sent as an jpeg stream.

2015-09-18 14:02:29 -0500 received badge  Nice Answer (source)
2015-08-31 21:14:58 -0500 marked best answer Groovy Beta: How do I build the higher level packages for Arch Linux

Ok ... I have followed these instructions and successfully complete step 2 of building the ROS base. It went pretty cleanly and I can run roscore no problem.

Now how do I build the old equivalent of Desktop-Full Install?

I tried to follow the generic install instructions, but they don't seem to help me. I get confused and don't see anything that looks like it will build everything.

2015-05-06 02:31:51 -0500 received badge  Famous Question (source)
2014-12-12 07:43:49 -0500 marked best answer How does robot_pose_ekf work?

I am very familiar with Kalman filters, but not with BFL code. I have looked at the source code and also searched answers.ros.org for some technical description of what is going on in robot_pose_ekf and can't figure it out. There was a similar question here which is asking a similar thing, but no useful answer has been given.

Question: What are the equations used in the Kalman filter ... can't figure them out from the code?

I am beginning to agree with comments from @mjcarroll here that this isn't really a Kalman filter like I am use to (model based) and more of a way to blend sensor values based on covariance.

Goal: do some inertial navigation work using an IMU and video odometry. I want to make sure robot_pose_ekf doesn't do this already.

2014-10-17 15:22:48 -0500 marked best answer Which package is best for slam and Kinect?

I want to do mapping with the kinect, so my robot can avoid obstacles and move around. Looking around there seems to be several options, but not sure which is better (better = low computational requirements):

  1. rgbdslam has a lot of interest and builds cool looking 3D world, but I believe it runs slow (2 fps) and requires a lot of computational power.

  2. gmapping seems to do what I want, but is designed for laser rangers and not the kinect, so I am not sure if the overhead of converting from kinect->laser_scans now makes it perform as number 1 above.

  3. ethzasl_mapping seems to do a similar job to rgbslam (and it is also designed for the kinect) but there is no mention of performance.

I think these are the predominate packages for mapping. Would appreciate any thoughts on these or suggestions of what I am missing.

Unfortunately I am also have difficulty getting any of these to compile on Fuerte for OSX.

Thanks.

2014-09-18 19:08:11 -0500 received badge  Great Answer (source)
2014-09-18 19:08:11 -0500 received badge  Guru (source)
2014-08-25 02:33:32 -0500 marked best answer rosserial_arduino error

I am using OSX 10.7.3 with Arduino IDE 1.0

When I followed the directions to install rosserial from source, I did: hg clone https://kforge.ros.org/rosserial/hg rosserial. Everything compiled and I copied the ros_lib folder to my Arduino/Library folder. However when I try to compile any of the included example program (e.g., Hello World), it fails with the following error:

  In file included from /Users/kevin/Documents/Arduino/libraries/ros_lib/ros.h:39,
             from HelloWorld.cpp:6:
  /Users/kevin/Documents/Arduino/libraries/ros_lib/ArduinoHardware.h:38:22: error: WProgram.h: No such file or directory
  In file included from /Users/kevin/Documents/Arduino/libraries/ros_lib/ros.h:39,
             from HelloWorld.cpp:6:
  /Users/kevin/Documents/Arduino/libraries/ros_lib/ArduinoHardware.h: In member function 'long unsigned int ArduinoHardware::time()':
  /Users/kevin/Documents/Arduino/libraries/ros_lib/ArduinoHardware.h:73: error: 'millis' was not declared in this scope

A quick look at the release notes for Arduino says:


The WProgram.h file, which provides declarations for the Arduino API, has been renamed to Arduino.h. To create a library that will work in both Arduino 0022 and Arduino 1.0, you can use an #ifdef that checks for the ARDUINO constant, which was 22 and is now 100. For example:

 #if defined(ARDUINO) && ARDUINO >= 100
 #include "Arduino.h"
 #else
 #include "WProgram.h"
 #endif

Am I grabbing out dated code from the wrong CVS??? This change to Arduino was made a while ago, so I don't understand how I am the first to find it. Thanks!


[UPDATE 1]

I loaded the "hello world" sketch onto my Arduino, but now it crashes with :

[kevin@TARDIS ~]$ rosrun rosserial_python serial_node.py /dev/cu.usbserial-A4001lNd
Traceback (most recent call last):
File "/Users/kevin/ros_sandbox/rosserial/rosserial_python/nodes/serial_node.py", line 40, in <module>
from rosserial_python import SerialClient
File "/Users/kevin/ros_sandbox/rosserial/rosserial_python/src/rosserial_python/__init__.py", line 1, in <module>
from SerialClient import *
File "/Users/kevin/ros_sandbox/rosserial/rosserial_python/src/rosserial_python/SerialClient.py", line 42, in <module>
from serial import *
ImportError: No module named serial

Am I missing a dependency?

[UPDATE 2]

I figured out I needed to do:

pip install pyserial

But now it fails with:

[kevin@TARDIS rosserial]$ rosrun rosserial_python serial_node.py  /dev/cu.usbserial-A4001lNd
[INFO] [WallTime: 1330658506.244201] ROS Serial Python Node
[INFO] [WallTime: 1330658506.251605] Connected on /dev/cu.usbserial-A4001lNd at 57600 baud
[INFO] [WallTime: 1330658508.750410] Note: publish buffer size is 280 bytes
[INFO] [WallTime: 1330658508.750905] Setup publisher on chatter [std_msgs/String]
[INFO] [WallTime: 1330658512.739698] Packet Failed :  Failed to read msg data
[INFO] [WallTime: 1330658517.747113] Packet Failed :  Failed to read msg data
[INFO] [WallTime: 1330658519.745485] Packet Failed :  Failed to read msg data
[INFO] [WallTime: 1330658526.749475] Packet Failed :  Failed to read msg data
[INFO] [WallTime: 1330658529.758370] Packet Failed :  Failed to read msg data
Traceback (most recent call last):
  File "/Users/kevin/ros_sandbox/rosserial/rosserial_python/nodes/serial_node.py", line 58, in <module>
    client.run()
  File "/Users/kevin/ros_sandbox/rosserial ...
(more)
2014-08-21 23:16:15 -0500 received badge  Good Answer (source)
2014-07-04 16:00:48 -0500 received badge  Nice Answer (source)
2014-07-02 14:10:44 -0500 received badge  Famous Question (source)
2014-06-30 04:20:12 -0500 received badge  Notable Question (source)
2014-06-29 05:42:05 -0500 received badge  Popular Question (source)
2014-06-29 05:41:34 -0500 received badge  Self-Learner (source)
2014-06-29 04:44:47 -0500 received badge  Nice Question (source)
2014-06-28 22:05:37 -0500 answered a question rospack failed to build in Hydro, can't find PythonLibs

Yes, it appears to due to cmake 3.0. In rospack/CMakeLists.txt, remove/comment out:

set(PythonLibs_FIND_VERSION "${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}")
find_package(PythonLibs REQUIRED)

and add/replace with:

find_package(PythonLibs "${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}" REQUIRED)

That seems to do the trick. Thanks Dirk!

2014-06-28 20:52:26 -0500 commented question rospack failed to build in Hydro, can't find PythonLibs

When I updated brew, it installed cake 3.0.0. Yes, I am using python 2.7.5 that comes with Mavericks.

2014-06-28 19:39:12 -0500 edited question rospack failed to build in Hydro, can't find PythonLibs

I followed the instructions to install Hydro from source for OSX and rospack fails to build because it cake can't seem to find PythonLibs. The full out put is shown below:

[nina@Dalek ros_catkin_ws]$ ./src/catkin/bin/catkin_make_isolated
--install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/hydro Base path: /Users/nina/tmp/ros/ros_catkin_ws Source space: /Users/nina/tmp/ros/ros_catkin_ws/src Build space: /Users/nina/tmp/ros/ros_catkin_ws/build_isolated Devel space: /Users/nina/tmp/ros/ros_catkin_ws/devel_isolated Install space: /opt/ros/hydro Additional CMake Arguments:
-DCMAKE_BUILD_TYPE=Release ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~  traversing 48 packages in topological order: ~~  - catkin ~~  - genmsg ~~  - gencpp ~~  - genlisp ~~ 
- genpy ~~  - console_bridge (plain cmake) ~~  - cpp_common ~~  - message_generation ~~  - message_runtime ~~  - mk ~~  - ros ~~ 
- ros_comm ~~  - rosbash ~~  - rosboost_cfg ~~  - rosbuild ~~  - rosclean ~~  - roscpp_traits ~~  - roscreate ~~  - rosgraph ~~  - roslang ~~  - roslisp ~~  - rosmake ~~  - rosmaster ~~  - rosmsg ~~  - rospack ~~  - roslib ~~  - rosparam ~~  - rospy ~~  - rosservice ~~  - rostime ~~  - roscpp_serialization ~~  - rosbag_storage ~~  - roslaunch ~~  - rosunit ~~  - rosconsole ~~  - rostest ~~  - std_msgs ~~  - rosgraph_msgs ~~ 
- std_srvs ~~  - xmlrpcpp ~~  - roscpp ~~  - rosout ~~  - message_filters ~~ 
- rosnode ~~  - rostopic ~~  - roswtf ~~  - topic_tools ~~  - rosbag ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

==> Processing catkin package: 'catkin' Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/Users/nina/tmp/ros/ros_catkin_ws/build_isolated/catkin'
==> make -j4 -l4 in '/Users/nina/tmp/ros/ros_catkin_ws/build_isolated/catkin'
==> make install in '/Users/nina/tmp/ros/ros_catkin_ws/build_isolated/catkin' Install the project...
-- Install configuration: "Release"
-- Installing: /opt/ros/hydro/.catkin
-- Installing: /opt/ros/hydro/_setup_util.py
-- Installing: /opt/ros/hydro/env.sh
-- Installing: /opt/ros/hydro/setup.bash
-- Installing: /opt/ros/hydro/setup.sh
-- Installing: /opt/ros/hydro/setup.zsh

... other output ...

==> Processing catkin package: 'rospack'
==> Building with env: '/opt/ros/hydro/env.sh'
==> cmake /Users/nina/tmp/ros/ros_catkin_ws/src/rospack
-DCATKIN_DEVEL_PREFIX=/Users/nina/tmp/ros/ros_catkin_ws/devel_isolated/rospack
-DCMAKE_INSTALL_PREFIX=/opt/ros/hydro -DCMAKE_BUILD_TYPE=Release in '/Users/nina/tmp/ros/ros_catkin_ws/build_isolated/rospack'
-- Using CATKIN_DEVEL_PREFIX: /Users/nina/tmp/ros/ros_catkin_ws/devel_isolated/rospack
-- Using CMAKE_PREFIX_PATH: /opt/ros/hydro
-- This workspace overlays: /opt/ros/hydro
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Python version: 2.7
-- Using default Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /Users/nina/tmp/ros/ros_catkin_ws/build_isolated/rospack/test_results
-- Found gtest: gtests will be built CMake Warning (dev) at /opt/ros/hydro/share/catkin/cmake/tools/doxygen.cmake:40 (GET_TARGET_PROPERTY):   Policy CMP0045 is not set: Error on non-existent target in   get_target_property.  Run "cmake
--help-policy CMP0045" for policy details.   Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "doxygen". Call Stack (most recent call first):   /opt/ros/hydro/share/catkin/cmake/all.cmake:139 (include)   /opt/ros/hydro/share/catkin/cmake/catkinConfig.cmake:20 (include)   CMakeLists.txt:4 (find_package) This warning is for project developers.  Use -Wno-dev to suppress it.

-- catkin 0.5.88
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   filesystem
--   program_options
--   system CMake Error at /usr/local/Cellar/cmake/3.0.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):   Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS)   (Required is at least version "2.7") Call Stack (most recent call first):   /usr/local/Cellar/cmake/3.0.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE)   /usr/local/Cellar/cmake/3.0.0/share/cmake/Modules/FindPythonLibs.cmake:197 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)   CMakeLists.txt ...
(more)