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

darshandoria's profile - activity

2020-10-27 15:11:15 -0500 received badge  Notable Question (source)
2019-10-06 16:17:44 -0500 received badge  Famous Question (source)
2019-10-06 16:17:44 -0500 received badge  Notable Question (source)
2019-10-06 16:17:44 -0500 received badge  Popular Question (source)
2017-08-09 07:17:39 -0500 received badge  Famous Question (source)
2017-05-02 15:07:53 -0500 marked best answer Creating GUI for ROS

Dear all, i am a pg student working on robotics, i have configured ROS Indigo in my Ubuntu 14.04LTS, also interfaced and drive multiple servo motors using Arduino using ROS package. But till now, to drive servo motor, i was giving command from the terminal window, which i want to drive from the GUI. For this i have created a GUI window in QT, but how to connect this GUI to my ROS package as well as Arduino IDE, i have wasted my lot time to find this. Can anybody help me to find out the solution for this.

I would be very thankful for this task. Thanks in advance

2017-03-06 06:09:03 -0500 received badge  Taxonomist
2016-05-26 00:06:54 -0500 commented answer Raspbian ROS Indigo - Rosserial_xbee error

I am too facing this issue. has anybody solved it ? if yes, then please provide the solution. Thanks in advance

2016-05-25 01:54:19 -0500 answered a question failed to connect xbee.

It gets solved by setting the baud rate of 57600 in X-CTU.

2016-05-23 05:35:20 -0500 commented answer failed to connect xbee.

i am also getting the same error though connected xbee on ttyUSB0 and also i can connect it to XCTU

2016-05-23 05:35:20 -0500 received badge  Commentator
2016-04-12 08:22:57 -0500 received badge  Famous Question (source)
2016-03-06 23:01:22 -0500 received badge  Notable Question (source)
2016-02-24 01:39:56 -0500 marked best answer Install ROS on Windows

Dear all, I am trying to install ROS on windows from the "http://wiki.ros.org/win_ros/groovy/Msvc%20Compiled%20SDK". I have installed all the dependencies as stated in this link, but still not able to write command "winros_init_workspace"....it shows that "winros_init_workspace" is not recognised as an internal or external command.

I know that ROS is not fully compatible with windows, but i just wanted to create one subscriber to get values only.

Please help to sove this, I am thanking you all in advance.

2016-02-24 01:39:19 -0500 received badge  Organizer (source)
2016-02-22 08:33:50 -0500 received badge  Famous Question (source)
2016-02-22 08:33:50 -0500 received badge  Notable Question (source)
2016-02-22 07:10:50 -0500 received badge  Popular Question (source)
2016-02-22 07:07:59 -0500 asked a question can't open file _parent_package_path.py in Windows

Hello,

I have gone through this link and installed all the packages successfully. But when i try >>call C:\opt\ros\hydro\x86\setup.bat, it shows me error : python: can't open file '_parent_package_path.py': No such file or directory.

How to fix this.

Thanks.

2016-02-16 20:39:14 -0500 received badge  Notable Question (source)
2016-02-16 03:57:39 -0500 commented answer publish multiple data on one topic

Thank You so much all of you !!!

2016-02-16 03:41:46 -0500 commented question publish multiple data on one topic

ok i will take care of it

2016-02-16 03:39:39 -0500 received badge  Popular Question (source)
2016-02-16 03:32:29 -0500 answered a question publish multiple data on one topic

Thank you sir for your answer.

But still getting the error as "Segmentation fault(core dumped)"

Please consider my procedure:

sensor_msgs::JointState joint;
joint.position[1] = 50;
joint.velocity[1] = 100;
joint.effort[1] = 90;

dd.publish(joint);

qDebug() << "position =" << joint.position[1];
qDebug() << "velocity =" << joint.velocity[1];
qDebug() << "effort =" << joint.effort[1];
2016-02-16 00:19:05 -0500 asked a question publish multiple data on one topic

Hello,

Is it possible to publish multiple data i.e angle for servo1 and angle for servo2 on one topic ? If yes, please show me answer how to do it.

Thanks in advance.


Edit: Thank you sir for your answer.

But still getting the error as "Segmentation fault(core dumped)"

Please consider my procedure:

sensor_msgs::JointState joint;
joint.position[1] = 50;
joint.velocity[1] = 100;
joint.effort[1] = 90;

dd.publish(joint);

qDebug() << "position =" << joint.position[1];
qDebug() << "velocity =" << joint.velocity[1];
qDebug() << "effort =" << joint.effort[1];
2015-12-28 07:01:42 -0500 received badge  Scholar (source)
2015-12-28 06:16:23 -0500 commented answer CMake error trying to link target to libraries

Thank You so much sir, for your great help ! Made changes as suggested by you solved my problem. Thank you once again.

2015-12-28 03:04:45 -0500 received badge  Notable Question (source)
2015-12-28 00:09:51 -0500 answered a question CMake error trying to link target to libraries

Thank you so much for quick and prompt reply.

But if i change that line to target_link_libraries(js_info ${catkin_LIBRARIES} )

like this. I get the following error.

darshan@darshan-Inspiron-N4010:~/catkin_ws$ catkin_make Base path: /home/darshan/catkin_ws Source space: /home/darshan/catkin_ws/src Build space: /home/darshan/catkin_ws/build Devel space: /home/darshan/catkin_ws/devel Install space: /home/darshan/catkin_ws/install ####

Running command: "make cmake_check_build_system" in "/home/darshan/catkin_ws/build"

#### ####

Running command: "make -j4 -l4" in "/home/darshan/catkin_ws/build"

#### [ 0%] Built target _rosserial_arduino_generate_messages_check_deps_Test [ 0%] [ 0%] [ 0%] Built target _rosserial_msgs_generate_messages_check_deps_RequestParam Built target _rosserial_msgs_generate_messages_check_deps_RequestServiceInfo Built target _rosserial_arduino_generate_messages_check_deps_Adc [ 0%] Built target _rosserial_msgs_generate_messages_check_deps_Log [ 0%] Built target _rosserial_msgs_generate_messages_check_deps_TopicInfo [ 0%] Built target _rosserial_msgs_generate_messages_check_deps_RequestMessageInfo [ 0%] Built target std_msgs_generate_messages_py [ 13%] Built target abc [ 13%] Built target _beginner_tutorials_generate_messages_check_deps_Num [ 13%] Built target std_msgs_generate_messages_lisp [ 13%] Built target _beginner_tutorials_generate_messages_check_deps_AddTwoInts [ 13%] Built target std_msgs_generate_messages_cpp [ 15%] Built target hello Linking CXX executable /home/darshan/catkin_ws/devel/lib/joy/joystick [ 28%] Built target gui_ros Linking CXX executable /home/darshan/catkin_ws/devel/lib/joy/js_info [ 30%] Built target hello_world [ 43%] Built target example [ 46%] Built target rosserial_arduino_generate_messages_lisp [ 47%] Built target turtle_teleop_joy [ 53%] Built target rosserial_arduino_generate_messages_py /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 6 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 7 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 8 has invalid symbol index 12 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 9 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 10 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 11 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 12 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 13 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 14 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 15 has invalid symbol index 13 /usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 16 has invalid symbol index ... (more)

2015-12-24 02:14:55 -0500 received badge  Popular Question (source)
2015-12-23 06:28:00 -0500 received badge  Popular Question (source)
2015-12-23 05:04:45 -0500 asked a question CMake error trying to link target to libraries

Dear All, I am using Ubuntu 14.04 and ROS Indigo.

I have created a pkg named "joy" in which there are two source file named joystick.cpp and js_info.cpp under joy/src folder. also i have header file joystick.h under include/joy folder.

i have compiled that 3 files and they work correctly.

But when i placed this files as told you above, gives me error as shown below:

CMake Error at joy/CMakeLists.txt:61 (target_link_libraries):
  Target "joystick" of type EXECUTABLE may not be linked into another target.
  One may link only to STATIC or SHARED libraries, or to executables with the
  ENABLE_EXPORTS property set.

-- Configuring incomplete, errors occurred!
See also "/home/darshan/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/darshan/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

This below shown is my CMakeLists.txt file:

cmake_minimum_required(VERSION 2.8.3)
project(joy)

find_package(catkin REQUIRED COMPONENTS
  roscpp
  rospy
  std_msgs
)
catkin_package(
  INCLUDE_DIRS include
  CATKIN_DEPENDS roscpp rospy std_msgs
)
include_directories(include
  ${catkin_INCLUDE_DIRS}
)
add_executable(joystick src/joystick.cpp)
target_link_libraries(joystick ${catkin_LIBRARIES})

add_executable(js_info src/js_info.cpp)
target_link_libraries(js_info ${catkin_LIBRARIES} joystick)

Please provide me the solution. I would be thankful to all of you.


Edit: Thank you so much for quick and prompt reply.

But if i change that line to

target_link_libraries(js_info ${catkin_LIBRARIES} )

like this. I get the following error.

darshan@darshan-Inspiron-N4010:~/catkin_ws$ catkin_make
Base path: /home/darshan/catkin_ws
Source space: /home/darshan/catkin_ws/src
Build space: /home/darshan/catkin_ws/build
Devel space: /home/darshan/catkin_ws/devel
Install space: /home/darshan/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/darshan/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/darshan/catkin_ws/build"
####
[  0%] Built target _rosserial_arduino_generate_messages_check_deps_Test
[  0%] [  0%] [  0%] Built target _rosserial_msgs_generate_messages_check_deps_RequestParam
Built target _rosserial_msgs_generate_messages_check_deps_RequestServiceInfo
Built target _rosserial_arduino_generate_messages_check_deps_Adc
[  0%] Built target _rosserial_msgs_generate_messages_check_deps_Log
[  0%] Built target _rosserial_msgs_generate_messages_check_deps_TopicInfo
[  0%] Built target _rosserial_msgs_generate_messages_check_deps_RequestMessageInfo
[  0%] Built target std_msgs_generate_messages_py
[ 13%] Built target abc
[ 13%] Built target _beginner_tutorials_generate_messages_check_deps_Num
[ 13%] Built target std_msgs_generate_messages_lisp
[ 13%] Built target _beginner_tutorials_generate_messages_check_deps_AddTwoInts
[ 13%] Built target std_msgs_generate_messages_cpp
[ 15%] Built target hello
Linking CXX executable /home/darshan/catkin_ws/devel/lib/joy/joystick
[ 28%] Built target gui_ros
Linking CXX executable /home/darshan/catkin_ws/devel/lib/joy/js_info
[ 30%] Built target hello_world
[ 43%] Built target example
[ 46%] Built target rosserial_arduino_generate_messages_lisp
[ 47%] Built target turtle_teleop_joy
[ 53%] Built target rosserial_arduino_generate_messages_py
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 0 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 1 has invalid symbol index 12
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 2 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 3 has invalid symbol index 2
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 4 has invalid symbol index 11
/usr/bin/ld: /usr/lib/debug/usr/lib/i386-linux-gnu/crt1.o(.debug_info): relocation 5 has invalid symbol index 13
/usr/bin/ld: /usr/lib/debug ...
(more)
2015-12-22 17:38:03 -0500 received badge  Popular Question (source)
2015-12-17 07:12:34 -0500 asked a question hardware support

Dear all,

My question is that how many hardware/controllers does ROS support? May i have the list? And is there any specification for the controller/processor to get ROS supported? if yes then list the specifications.

Thank you !

2015-10-28 01:07:35 -0500 commented question Unable to ping a Windows machine from Linux

ok thank you !

2015-10-27 07:53:43 -0500 asked a question accelerate dc servo motor with time

respected all,

I am involved in the work for my study purpose in which i have configured servo motor using ROS ad arduino. But now i wanted servo motor to run in trapezoidal profile. Means it should accelerate(speed increases gradually) in initial stage, then after constant and at last speed must be decreased gradually to stop it. so that jerks is no more there.

So i would request you all that whether ROS provides any functionality for this profile as said above. I am using QT for GUI, in which angle and time are taken from user.

I would be thankful to all.

Thanks in advance

2015-10-26 00:33:49 -0500 asked a question Unable to ping a Windows machine from Linux

Dear All,

I have configured ROS in windows and everything works fine, now I wanted to connect Ubuntu(14.04) and windows 8 over ROS to use ROS functionality, for that i configured IP of both systems in etc file of respective machine.

Now when i ping ubuntu from Windows, it works fine, but when i ping windows from ubuntu, things are not working . . .

I have disabled Firewall in windows8 too.

Thanks in advance.

2015-10-23 02:12:02 -0500 answered a question ros::init(…) throws an error - Windows roscpp

Hello,

I was facing the same problem, so for the solution of this problem, i deleted the "ros"folder from C:\ drive and extract it again from the zip file, n it works fine.

2015-10-21 03:13:29 -0500 received badge  Notable Question (source)