Hi everyonerobot via modbus protocol. I use Tornado 2.2 to build .out file. After some work, I managed to build my project without any error. But now I get an error message when I try to load my program to the robot's controller.
I'm trying to use a modbus library for my robotics project (Staubli RX160 manipulator) in which the robot controller uses VxWorks 5.5.1 as operating system. I want to read force sensor data (ATI Force / Torque sensor) which is communicating with the
Loading /usbdsk0/boot/sys/cs8.out...
Undefined symbol: nanosleep (binding 1 type 0)
Error loading module from file: /usbdsk0/boot/sys/cs8.out
I did some research about this nanosleep function. I found out that this function is a POSIX function and it is defined under the header file time.h which is included in my project. Like I said Tornado does not give any errors after compiling.
In C:\Tornado2.2\target\config\all there is a file named configAll.h. There, under "INCLUDED SOFTWARE FACILITIES" I see
#define INCLUDE_ANSI_TIME
but under "EXCLUDED FACILITIES" there is
#define INCLUDE_POSIX_TIMERS
and also under "EXCLUDED NETWORK FACILITIES" there is
#define INCLUDE_POSIX_ALL
I cut and pasted these two excluded definitions under "INCLUDED SOFTWARE FACILITIES" but it didn't work.
I'm not too familiar with Tornado and VxWorks. Hope there is someone who has some information about them.
I would appreciate any suggestions (regarding this particular problem or not).
Thanks
Serhat
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 353 |
Nodes: | 16 (2 / 14) |
Uptime: | 74:36:23 |
Calls: | 7,639 |
Calls today: | 3 |
Files: | 12,802 |
Messages: | 5,691,779 |