Can't launch ronex driver

34 views
Skip to first unread message

Craig Sherstan

unread,
Jul 23, 2015, 2:14:29 PM7/23/15
to RoNeX SIG
It's been a few months since I used the Ronex, so maybe I'm just forgetting something, but I seem to be unable to launch the device.

I have simply used the commands:

sudo -s
roslaunch sr_ronex_launch sr_ronex.launch

I've highlighted the error below. Unfortunately, when the log file it references does not seem to exist.

Any ideas?

 roslaunch sr_ronex_launch sr_ronex.launch
... logging to /home/craig/.ros/log/c934de38-3164-11e5-93f2-e8b1fcc00c38/roslaunch-bender-29346.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://10.0.1.182:41559/

SUMMARY
========

PARAMETERS
 * /robot_description: <?xml version="1....
 * /rosdistro: indigo
 * /rosversion: 1.11.9

NODES
  /
    ronex (ros_ethercat_loop/ros_ethercat_loop)
    ronex_ctrl_spawner (sr_ronex_controllers/load_passthrough_controllers.py)


core service [/rosout] found
process[ronex-1]: started with pid [29367]
process[ronex_ctrl_spawner-2]: started with pid [29385]
[ WARN] [1437674477.266878198]: Using device 'RoNeX - Bridge module mk3' with product code 33554432
[ WARN] [1437674477.307327866]: Using device 'RoNeX - General I/O module mk3' with product code 33554433
[ INFO] [1437674477.308189507]: Using EC_QUEUED
[ INFO] [1437674477.308237105]: First FMMU (command) : Logical address: 0x00010000 ; size:  44 bytes ; ET1200 address: 0x00001000
[ INFO] [1437674477.308257778]: Second FMMU (status) : Logical address: 0x0001002C ; size:  30 bytes ; ET1200 address: 0x000010B0
[ INFO] [1437674477.308327691]: Finished constructing the SrBoardMk2GIO driver
[ INFO] [1437674477.395724341]: Device #00: Product code: 33554432 (0X02000000) , Serial #: 1409670836 (0X5405DEB4)
[ INFO] [1437674477.395794260]: Device #01: Product code: 33554433 (0X02000001) , Serial #: 1409578703 (0X540476CF)
[ INFO] [1437674477.403718446]: Adding a general_io RoNeX module to the hardware interface: /ronex/general_io/1409578703
[INFO] [WallTime: 1437674479.815505] Waiting for the ronex to be loaded properly.
[INFO] [WallTime: 1437674479.818911] Waiting for controller_manager services: list/load/switch
[INFO] [WallTime: 1437674479.821737] Starting controllers: ['ronex_1409578703_passthrough']
Service did not process request: transport error completing service call: unable to receive data from sender, check sender's logs for details
[ronex-1] process has died [pid 29367, exit code -11, cmd nice -n -20 /opt/ros/indigo/lib/ros_ethercat_loop/ros_ethercat_loop -i eth0 -r /robot_description __name:=ronex __log:=/home/craig/.ros/log/c934de38-3164-11e5-93f2-e8b1fcc00c38/ronex-1.log].
log file: /home/craig/.ros/log/c934de38-3164-11e5-93f2-e8b1fcc00c38/ronex-1*.log
[ronex_ctrl_spawner-2] process has finished cleanly
log file: /home/craig/.ros/log/c934de38-3164-11e5-93f2-e8b1fcc00c38/ronex_ctrl_spawner-2*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Craig Sherstan

unread,
Jul 23, 2015, 2:26:19 PM7/23/15
to RoNeX SIG, craig.s...@gmail.com
Further, there are 2 lights blinking on the device.

On the bridge module there is a yellow blinking light on the ethercat connector.
On the GPIO module there is a green light that is blinking. From what I understand that means that it is "pre-operational", but I'm not sure what that means.

Ugo Cupcic

unread,
Jul 24, 2015, 4:34:51 AM7/24/15
to Craig Sherstan, RoNeX SIG
Dear Craig,

Sorry to hear you're having issues with the RoNeX. I'm not exactly sure what's happening here. From the log the driver seems pretty happy until it crashes. Could you try those 2 things?

- power cycle the RoNeX (unplug it from the etherCAT / plug it back in, start the driver).
- start it with gdb: roslaunch sr_ronex_launch sr_ronex.launch debug:=true
(and press enter once it's finished printing lines to start the actual node, and "bt" to get a backtrace)

Cheers,

Ugo

--
You received this message because you are subscribed to the Google Groups "RoNeX SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ronex-sig+...@googlegroups.com.
Visit this group at http://groups.google.com/group/ronex-sig.
For more options, visit https://groups.google.com/d/optout.



--


Shadow Robot Company Ltd.
251 Liverpool Road, N1 1LX, UK
Registered Number 3308007 (England & Wales)

RoNeX - Building Robots with ROS Made Easy 

Hugo Elias

unread,
Jul 26, 2015, 12:02:58 PM7/26/15
to Ugo Cupcic, rone...@googlegroups.com, Craig Sherstan

The pre-operational blinking either means the driver crashed before it got to operational, or it tidily put it back to pre-operational after it crashed.

Hugo

Craig Sherstan

unread,
Aug 4, 2015, 7:36:00 PM8/4/15
to Hugo Elias, Ugo Cupcic, rone...@googlegroups.com
Hey guys, thanks for reply. Unfortunately I'm out of country till the end of month and won't be able to try your recommendations. But as an update, I had no problems running the device on a Hydro based machine. The problems seem to just be on my Indigo machine.

Thanks again.
--
Craig Sherstan
MSc Student
Computing Science
University of Alberta

Craig Sherstan

unread,
Sep 29, 2015, 6:58:29 PM9/29/15
to RoNeX SIG, hu...@shadowrobot.com, u...@shadowrobot.com
Ok, I've got some time to look at this and try your suggestions. So first, it works on my hydro machine, but does not work on my indigo machine.

I've tried cycling power, that doesn't help.

Launching it in debug using the commands you provided does not appear to make any difference or actually launch in debug.

Thanks again,
Craig
To unsubscribe from this group and stop receiving emails from it, send an email to ronex-sig+unsubscribe@googlegroups.com.


Shadow Robot Company Ltd.
251 Liverpool Road, N1 1LX, UK
Registered Number 3308007 (England & Wales)

RoNeX - Building Robots with ROS Made Easy 

--
You received this message because you are subscribed to the Google Groups "RoNeX SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ronex-sig+unsubscribe@googlegroups.com.


Shadow Robot Company Ltd.
251 Liverpool Road, N1 1LX, UK
Registered Number 3308007 (England & Wales)

RoNeX - Building Robots with ROS Made Easy 

Hugo Elias

unread,
Sep 30, 2015, 5:10:45 AM9/30/15
to Craig Sherstan, RoNeX SIG, Ugo Cupcic
OK, at least that suggests the problem is in the PC, rather than the Ronex.
Hugo


Craig
To unsubscribe from this group and stop receiving emails from it, send an email to ronex-sig+...@googlegroups.com.


Shadow Robot Company Ltd.
251 Liverpool Road, N1 1LX, UK
Registered Number 3308007 (England & Wales)

RoNeX - Building Robots with ROS Made Easy 

--
You received this message because you are subscribed to the Google Groups "RoNeX SIG" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ronex-sig+...@googlegroups.com.


Shadow Robot Company Ltd.
251 Liverpool Road, N1 1LX, UK
Registered Number 3308007 (England & Wales)

RoNeX - Building Robots with ROS Made Easy 
--
Craig Sherstan
MSc Student
Computing Science
University of Alberta

Toni Oliver

unread,
Sep 30, 2015, 6:13:35 AM9/30/15
to Hugo Elias, Craig Sherstan, RoNeX SIG, Ugo Cupcic
Hi Craig,

On your indigo machine, have you installed sr_ronex from source (github) or from the deb package ros-indigo-sr-ronex?

In both cases, my recommendation would be to update to the latest version. If you have a source installation and you need instructions on how to update, please let me know.


 


Shadow Robot Company Ltd.
251 Liverpool Road, N1 1LX, UK
Registered Number 3308007 (England & Wales)

 

RoNeX - Building Robots with ROS Made Easy 

Reply all
Reply to author
Forward
0 new messages