RIVeR-Lab / epos_hardware

Other
12 stars 39 forks source link

Could not open device #11

Closed grafoteka closed 8 years ago

grafoteka commented 8 years ago

I'm trying to use this package, and I'm having some troubles. I can run the list devices as the wiki says: rosrun epos_hardware list_devices [--rs232]

And I get the serial number of my controller, but if I tried to get the state I get some errors. My unit is a Maxon MCD Epos, which includes and EPOS version 1 controller and is connected via RS232.

I modified the configuration of get_state.cpp as the manual of Maxon says: if(handle = epos_factory.CreateNodeHandle("EPOS", "MAXON_RS232", "RS232", serial_number, &error_code)) {

But I have the next error: $ rosrun epos_hardware get_state 602060003005 Searching for RS232 EPOS: 0x602060003005 Could not open device: Error reading RS232 Data

grafoteka commented 8 years ago

Finally I could connect with the modification of @JimmyDaSilva