Open pnambiar opened 10 years ago
I have this same error as well when connecting Segway using USB mode. On the other hand, if I use the serial mode, I got this error.....
Root@Sony$: roslaunch segwayrmp segwayrmp.launch
....
setting /run_id to 8dad0fda-483d-11e5-80fb-d0df9ada3503
process[rosout-1]: started with pid [3824]
started core service [/rosout]
process[segway_rmp_node-2]: started with pid [3841]
[ INFO] [1440186491.945094335]: Accel limits: linear: pos = 0.000000, neg = 0.000000, angular: pos = 0.000000, neg = 0.000000.
[ INFO] [1440186491.946291261]: Velocity limits: linear: 0.000000, angular: 0.000000.
terminate called after throwing an instance of 'segwayrmp::ConfigurationException'
what(): ConfigurationException occurred at line 245 of `/opt/ros/indigo/share/libsegwayrmp-master/src/segwayrmp.cc`: Error configuring the SegwayRMP: Library is not built with Serial support
I can guarantee that the "libsegwayrmp" package was compiled with "serial" as it says libewayrmp serial supported during its compilation. This might be a problem of CMakeList.
@dikke these errors seem to be different.
As for your error, if you're sure you built with Serial support then you might be using a different instance of the headers? The availability of the Serial support is baked in at CMake time if I remember correctly.
I don't have a segway to test with, so the most I can suggest is that you rebuild it and make sure it has Serial support enabled and that it finds the serial library it needs to build in serial support.
Thank you for your reply. I have further tried with the segwayrmp_gui. This is a binary comes from "libsegwayrmp" package. Please see the result below.
First Photo uses serial connection, no errors.
Second photo uses USB connection, there is error.......
The problem is that, I still can't get the serial version working with "segwayrmp" package. There must be dependency issue during the compilation. The problem, is perhaps, found in here: https://github.com/segwayrmp/libsegwayrmp/blob/master/cmake/segwayrmp_serial.cmake
That is strange. I agree that the only thing that could really be happening is that the segwayrmp
package is finding and linking against the wrong libsegwayrmp
library.
Error connecting: ConnectionFailedException occurred at line 371 of
/home/priya/ros_workspace/libsegwayrmp/src/impl/rmp_ftd2xx.cc
: Error connecting to the SegwayRMP: FTD2XX error while opening the usb port: FT_DEVICE_NOT_OPENED