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

vcdanda's profile - activity

2023-08-02 02:13:10 -0500 received badge  Famous Question (source)
2023-08-02 02:13:10 -0500 received badge  Notable Question (source)
2022-01-27 01:06:12 -0500 asked a question rosapi node is still alive while the service server inside won't response.

rosapi node is still alive while the service server inside won't response. hi, we are working with the official rosapi n

2020-05-13 14:41:22 -0500 received badge  Famous Question (source)
2018-08-01 08:48:15 -0500 received badge  Famous Question (source)
2018-08-01 08:48:15 -0500 received badge  Notable Question (source)
2018-03-22 11:56:15 -0500 received badge  Popular Question (source)
2018-03-12 04:07:17 -0500 received badge  Famous Question (source)
2018-01-19 07:14:38 -0500 received badge  Famous Question (source)
2017-12-05 09:04:39 -0500 asked a question How to add the plan to the global planner.

How to add the plan to the global planner. I want to add a plan(already done) to the global planner. It will task much t

2017-12-05 01:04:21 -0500 received badge  Popular Question (source)
2017-12-05 00:14:46 -0500 commented answer How to add a linked library for a cpp file in the CMakelists.

But this jsoncpp is only a jsoncpp.a which is a static library. I want to add it in my path planner, it seems it cannot

2017-12-05 00:11:07 -0500 commented answer How to add a linked library for a cpp file in the CMakelists.

Thanks Akif. I've tried your method recently. It didn't work because it tells me an error: undefined reference to 'json

2017-12-04 19:50:21 -0500 edited question cmakelists compiling questions

cmakelists compiling questions Hi, this is a new linux user. When I compile my CMakelists, it gives me this error. /usr

2017-12-04 10:11:17 -0500 received badge  Notable Question (source)
2017-12-04 04:30:34 -0500 asked a question cmakelists compiling questions

cmakelists compiling questions Hi, this is a new linux user. I want to add my own global planner into the ros navigation

2017-10-30 05:40:06 -0500 received badge  Notable Question (source)
2017-10-07 13:26:30 -0500 received badge  Popular Question (source)
2017-10-07 08:09:22 -0500 received badge  Supporter (source)
2017-10-07 08:09:22 -0500 marked best answer how to prevent navigate backwards, and only rotate and move forwards for navigation?

Hi, I'm using navigation stack and using teb_local_planner for path planning. But when I use it, I found there's problem for the robot because it will move backwards while my laser can only detect the forward area. Is there any parameter that I can adjust to make it only rotate and move forward?

I've searched on the website, someone said they change the min_vel to negative, and someone said to change the escape_vel to 0. I have no idea about these, and maybe other parameters I need to know in advance?

Anyone familiar with teb_local_planner? I'm glad to hear your advice. Thanks.

2017-10-07 08:09:13 -0500 commented answer how to prevent navigate backwards, and only rotate and move forwards for navigation?

Never thought about this solution. Sounds pretty reasonable, I'll do as what you have said by changing these parameters

2017-10-07 05:41:04 -0500 received badge  Enthusiast
2017-10-06 17:18:57 -0500 received badge  Student (source)
2017-10-06 11:57:06 -0500 asked a question how to prevent navigate backwards, and only rotate and move forwards for navigation?

how to prevent navigate backwards, and only rotate and move forwards for navigation? Hi, I'm using navigation stack and

2017-07-31 06:53:51 -0500 received badge  Popular Question (source)
2017-07-27 06:44:02 -0500 marked best answer How to add a linked library for a cpp file in the CMakelists.

Hi, this is a new user to use Cmakelists. I want to use a C++ file which can help me analysis the json file. Normally, when I make it executable, I run g++ json.cpp -o -ljson However, when I tried to add the c++ file in the ros package, I have some problems to make them.

Here is my original makefile:

 LIB=-L/usr/local/lib/libjson/ -ljson

haha: a.o
    g++ -o a -std=c++0x a.o $(LIB)
sdfds: a.cpp 
    g++ -c a.cpp
# dfasasdf:
#   rm  a.o a
clean: 
    rm edit a.o

Here is my CMakelist.txt: cmake_minimum_required(VERSION 2.8.3) project(rosauth)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
find_package(catkin REQUIRED COMPONENTS roscpp message_generation rostest)

#######################################
## Declare ROS messages and services ##
#######################################

## Generate services in the 'srv' folder
add_service_files(
  FILES
  Authentication.srv
)

## Generate added messages and services with any dependencies listed here
generate_messages(
  DEPENDENCIES
)

###################################################
## Declare things to be passed to other projects ##
###################################################

## LIBRARIES: libraries you create in this project that dependent projects also need
## CATKIN_DEPENDS: catkin_packages dependent projects also need
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(CATKIN_DEPENDS roscpp message_runtime)

###########
## Build ##
###########

include_directories(
    ${catkin_INCLUDE_DIRS}


)
include_directories(
/opt/JSON/jsoncpp-src-0.5.0/libs/linux-gcc-4.8/
)

## Declare a cpp executable
add_executable(ros_mac_authentication src/ros_mac_authentication.cpp)

## Specify libraries to link a library or executable target against
target_link_libraries(ros_mac_authentication
  ${catkin_LIBRARIES} crypto
)

add_dependencies(ros_mac_authentication ${PROJECT_NAME}_gencpp)


#############
## Install ##
#############

## Mark executables and/or libraries for installation
install(TARGETS ros_mac_authentication
  RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

#############
## Testing ##
#############

if(CATKIN_ENABLE_TESTING)
  ## Add gtest based cpp test target and link libraries
  add_executable(ros_mac_authentication_test test/ros_mac_authentication_test.cpp)
  add_dependencies(ros_mac_authentication_test ${PROJECT_NAME}_gencpp)
  target_link_libraries(ros_mac_authentication_test ${catkin_LIBRARIES} ${GTEST_LIBRARIES} crypto dl pthread)
  add_rostest(test/ros_mac_authentication.test)
endif()


add_executable(json
  src/json.cpp
)
add_dependencies(json ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(json
  ${catkin_LIBRARIES} json_linux-gcc-4.8_libmt
)

And I catkin_make it. it gives me this hint.

    Linking CXX executable /home/jimmy/catkin_ws/devel/lib/rosauth/json
    Scanning dependencies of target sick_tim310s01
    Scanning dependencies of target rbx2_utils_generate_messages
    Scanning dependencies of target sick_tim310
    Scanning dependencies of target sick_tim310_1130000m01
    Scanning dependencies of target sick_tim551_2050001
    Scanning dependencies of target sick_tim_datagram_test
    Scanning dependencies of target amcl
    [ 84%] Built target rbx2_utils_generate_messages
    Scanning dependencies of target robot_pose_ekf_gencpp
    [ 84%] Built target robot_pose_ekf_gencpp
    Scanning dependencies of target robot_pose_ekf_generate_messages
    [ 84%] Built target robot_pose_ekf_generate_messages
    /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11
    /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12
    /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2
    /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2
    /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11
    /usr/bin/ld: /usr/lib/debug/usr/lib/x86_64-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13
    /usr/bin/ld ...
(more)
2017-07-27 06:44:02 -0500 received badge  Scholar (source)
2017-07-26 02:24:08 -0500 asked a question How to add a linked library for a cpp file in the CMakelists.

How to add a linked library for a cpp file in the CMakelists. Hi, this is a new user to use Cmakelists. I want to use a

2017-05-03 07:30:12 -0500 received badge  Famous Question (source)
2017-05-03 01:15:45 -0500 received badge  Notable Question (source)
2017-04-19 08:51:27 -0500 received badge  Notable Question (source)
2017-03-22 05:08:55 -0500 received badge  Popular Question (source)
2017-03-16 22:26:40 -0500 received badge  Popular Question (source)
2017-03-16 22:26:39 -0500 answered a question ROSJava installation problem

It seems this source installation doesn't work, so I try the deb installation. Let's see what happened...

2017-03-16 06:23:19 -0500 asked a question ROSJava installation problem

Hi, I want to install rosjava in my labtop. And I follow the instructions

http://wiki.ros.org/rosjava/Tutorials...

And in step 3.3, When I input:

wstool merge https://raw.githubusercontent.com/me/...

I got the error:

ERROR in config: Unable to download URL [ https://raw.githubusercontent.com/me/... ]: HTTP Error 404: Not Found

It seems the address is not existed any more. Anyone has the idea what problem is this? How can I solve this problem?

2017-03-10 21:52:17 -0500 answered a question kinect 2 not working with ROS

The system tells me there's something wrong with the opencl. I will tell you the progress later. Anyone who has met the same problem are welcome to share their experience.

2017-03-10 01:19:15 -0500 asked a question kinect 2 not working with ROS

Hi, I have a problem to use kinect2 in my ROS and look for lots of ways to configure that but still cannot. Firstly, I follow the instructions from:

https://github.com/OpenKinect/libfree...

This link is the kinect driver in linux. It seems that everything works fine except

sudo dpkg -i debs/{libva,i965}*deb; sudo apt-get install -f

it tells me that it doesn't contain libva and i965 directory, and fails.

I used another way to install them:

sudo apt-get install libva-dev libjpeg-dev

I skipped this step, and followed the instruction to the end:

./Protonect

And this gives me four images which includes depth image and RGB image. However, I noticed that, when I executed this command, the output in the screen shows:

jimmy@eaibot:~/libfreenect2/bin$ ./Protonect Version: 0.2.0

Environment variables: LOGFILE=<protonect.log>

Usage: ./Protonect [-gpu=<id>] [gl | cl | clkde | cuda | cudakde | cpu] [<device serial="">]

    [-noviewer] [-norgb | -no

depth] [-help] [-version]

    [-frames <number of frames to process>]

To pause and unpause: pkill -USR1 Protonect

[Info] [Freenect2Impl] enumerating devices...

[Info] [Freenect2Impl] 13 usb devices connected

[Info] [Freenect2Impl] found valid Kinect v2 @4:9 with serial 002305464947

[Info] [Freenec

t2Impl] found 1 devices

libva info: VA-API version 0.35.0

libva info: va_getDriverName() returns 1

libva error: va_getDriverName() failed with operation failed,driver_name=i965

[Error] [VaapiRgbPacketProcessorImpl] vaInitialize(display, &major_ver, &minor_ver): operation failed

[Info] [Freenec

t2DeviceImpl] opening...

[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 608*33792

[Info] [Freenect2DeviceImpl] opened

[Info] [Freenect2DeviceImpl] starting...

[Debug] [Freenect2DeviceImpl] status 0x090000: 9729

[Debug] [Freenect2DeviceImpl] status 0x090000: 9731

[Info] [Freenect2DeviceImpl] submitting rgb transfers...

[Info] [Freenect2DeviceImpl] submitting depth transfers...

[Info] [Freenect2DeviceImpl] started

device serial: 002305464947

device fi

rmware: 4.0.3911.0

[Debug] [DepthPacketStreamParser] not all subsequences received 0

[Debug] [DepthPacketStreamParser] not all subsequences received 1008

[Debug] [DepthPacketStreamParser] skipping depth packet

[Debug] [DepthPacketStreamParser] skipping depth packet

[Info] [DepthPa

cketStreamParser] 2 packets were lost

[Debug] [DepthPacketStreamParser] skipping depth packet

[Info] [DepthPacketStreamParser] 1 packets were lost

[Debug] [DepthPacketStreamParser] skipping depth packet

[Debug] [DepthPacketStreamParser] skipping depth packet

[Debug] [DepthPacketStreamParser] skipping depth packet

[Debug] [DepthPacketStreamParser] skipping depth packet

^C[Info] [Freenect2DeviceImpl] stopping...

[Info] [Freenect2DeviceImpl] canceling rgb transfers...

[Info] [Freenect2DeviceImpl] canceling depth transfers...

[Info] [Freenect2DeviceImpl] stopped

[Info] [Freenect2DeviceImpl] closing...

[Info] [Freene

ct2DeviceImpl] releasing usb interfaces...

[Info] [Freenect2DeviceImpl] deallocating usb transfer pools...

[Info] [Freenect2DeviceImpl] closing usb device...

[Info] [Freenect2DeviceImpl] closed

[Info] [Freenect2DeviceImpl] closing...

[Info] [Freenect2DeviceImpl] already closed, doing nothing

From here, it shows there's some problem with the libva, however, I don't understand what the reminders mean. I used to be happy with the image and continue to work on the ROS. and the ROS results turn to be fairly disappointing!

I found a kinect ROS driver which is called iai-kinect2:

https://github.com/code-iai/iai_kinect2

And it fails when I run

roslaunch kinect2_bridge kinect2_bridge.launch

This is the main problem.(I want to show you the overall message from the screen, but sorry, I don't know how.) And it shows me no message and always shows some problems:

[Info] [OpenCLDepthPacketProcessorImpl] building OpenCL ... (more)

2017-03-09 23:51:30 -0500 asked a question kinect 2 not working with ROS

Hi, I have a problem to use kinect2 in my ROS and look for lots of ways to configure that but still cannot. Firstly, I follow the instructions from:

https://github.com/OpenKinect/libfree...

This link is the kinect driver in linux. It seems that everything works fine except

sudo dpkg -i debs/{libva,i965}*deb; sudo apt-get install -f

it tells me that it doesn't contain libva and i965 directory, and fails.

I used another way to install them:

sudo apt-get install libva-dev libjpeg-dev

I skipped this step, and followed the instruction to the end:

./Protonect

And this gives me four images which includes depth image and RGB image. However, I noticed that, when I executed this command, the output in the screen shows:

jimmy@eaibot:~/libfreenect2/bin$ ./Protonect Version: 0.2.0

Environment variables: LOGFILE=<protonect.log>

Usage: ./Protonect [-gpu=<id>] [gl | cl | clkde | cuda | cudakde | cpu] [<device serial="">]

    [-noviewer] [-norgb | -no

depth] [-help] [-version]

    [-frames <number of frames to process>]

To pause and unpause: pkill -USR1 Protonect

[Info] [Freenect2Impl] enumerating devices...

[Info] [Freenect2Impl] 13 usb devices connected

[Info] [Freenect2Impl] found valid Kinect v2 @4:9 with serial 002305464947

[Info] [Freenec

t2Impl] found 1 devices

libva info: VA-API version 0.35.0

libva info: va_getDriverName() returns 1

libva error: va_getDriverName() failed with operation failed,driver_name=i965

[Error] [VaapiRgbPacketProcessorImpl] vaInitialize(display, &major_ver, &minor_ver): operation failed

[Info] [Freenec

t2DeviceImpl] opening...

[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 608*33792

[Info] [Freenect2DeviceImpl] opened

[Info] [Freenect2DeviceImpl] starting...

[Debug] [Freenect2DeviceImpl] status 0x090000: 9729

[Debug] [Freenect2DeviceImpl] status 0x090000: 9731

[Info] [Freenect2DeviceImpl] submitting rgb transfers...

[Info] [Freenect2DeviceImpl] submitting depth transfers...

[Info] [Freenect2DeviceImpl] started

device serial: 002305464947

device fi

rmware: 4.0.3911.0

[Debug] [DepthPacketStreamParser] not all subsequences received 0

[Debug] [DepthPacketStreamParser] not all subsequences received 1008

[Debug] [DepthPacketStreamParser] skipping depth packet

[Debug] [DepthPacketStreamParser] skipping depth packet

[Info] [DepthPa

cketStreamParser] 2 packets were lost

[Debug] [DepthPacketStreamParser] skipping depth packet

[Info] [DepthPacketStreamParser] 1 packets were lost

[Debug] [DepthPacketStreamParser] skipping depth packet

[Debug] [DepthPacketStreamParser] skipping depth packet

[Debug] [DepthPacketStreamParser] skipping depth packet

[Debug] [DepthPacketStreamParser] skipping depth packet

^C[Info] [Freenect2DeviceImpl] stopping...

[Info] [Freenect2DeviceImpl] canceling rgb transfers...

[Info] [Freenect2DeviceImpl] canceling depth transfers...

[Info] [Freenect2DeviceImpl] stopped

[Info] [Freenect2DeviceImpl] closing...

[Info] [Freene

ct2DeviceImpl] releasing usb interfaces...

[Info] [Freenect2DeviceImpl] deallocating usb transfer pools...

[Info] [Freenect2DeviceImpl] closing usb device...

[Info] [Freenect2DeviceImpl] closed

[Info] [Freenect2DeviceImpl] closing...

[Info] [Freenect2DeviceImpl] already closed, doing nothing

From here, it shows there's some problem with the libva, however, I don't understand what the reminders mean. I used to be happy with the image and continue to work on the ROS. and the ROS results turn to be fairly disappointing!

I found a kinect ROS driver which is called iai-kinect2:

https://github.com/code-iai/iai_kinect2

And it fails when I run

roslaunch kinect2_bridge kinect2_bridge.launch

This is the main problem.(I want to show you the overall message from the screen, but sorry, I don't know how.) And it shows me no message and always shows some problems:

[Info] [OpenCLDepthPacketProcessorImpl] building OpenCL ... (more)