Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection Error #20

Open
pnambiar opened this issue May 12, 2014 · 4 comments
Open

Connection Error #20

pnambiar opened this issue May 12, 2014 · 4 comments

Comments

@pnambiar
Copy link

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

@dikke
Copy link

dikke commented Aug 21, 2015

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.

@wjwwood
Copy link
Member

wjwwood commented Aug 21, 2015

@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.

@dikke
Copy link

dikke commented Aug 21, 2015

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.

s1

Second photo uses USB connection, there is error.......

s2

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

@wjwwood
Copy link
Member

wjwwood commented Aug 25, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants