- Posts: 1111
- Thank you received: 0
c++ compiling error
2 years 1 week ago #312799
by bkt
Replied by bkt on topic c++ compiling error
Please Log in to join the conversation.
2 years 1 week ago #312827
by bkt
Replied by bkt on topic c++ compiling error
Hi Grotius ... THE BOSS .... (or mayight "the boss" with guitar can offended?
) ) ...
any how ... my suspicious is not working in these manner .... axis.sig_name think not work at all .... maybe work pin_name .... but not sure axis.classicladder.0.in-10 can be set .....
the error above:
Issuing EMC_TRAJ_SET_ROTATION -- ( +226,+360, +0,0.000000,)
void MainWindow::toggleBnt_hal(bool) name Toggle received : "hal_cmd_3"
int do_setp_cmd(char*, char*) Received SETP name = "axis.hal_cmd_3" ;
int do_setp_cmd(char*, char*) Received char = axis.hal_cmd_3
/usr/bin/linuxcnc: line 955: 127356 Segmentation fault (core dumped) $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
task: 0 cycles, min=0.000002, max=0.011689, avg=-1.000000, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
in attach sen_command.h modify for "const" error .....
regards
Attachment not found
any how ... my suspicious is not working in these manner .... axis.sig_name think not work at all .... maybe work pin_name .... but not sure axis.classicladder.0.in-10 can be set .....
the error above:
Warning: Spoiler!
Issuing EMC_TRAJ_SET_ROTATION -- ( +226,+360, +0,0.000000,)
void MainWindow::toggleBnt_hal(bool) name Toggle received : "hal_cmd_3"
int do_setp_cmd(char*, char*) Received SETP name = "axis.hal_cmd_3" ;
int do_setp_cmd(char*, char*) Received char = axis.hal_cmd_3
/usr/bin/linuxcnc: line 955: 127356 Segmentation fault (core dumped) $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
task: 0 cycles, min=0.000002, max=0.011689, avg=-1.000000, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
in attach sen_command.h modify for "const" error .....
Attachment not found
regards
Please Log in to join the conversation.
2 years 1 week ago #312828
by bkt
Replied by bkt on topic c++ compiling error
ok after check .... I use signal so do_sets_cmd is more appropriate .... any how I insert a lot of debug row ..... and all output teminate before call to rtapi ....
terminal show these:
regards
Code:
QString strOne = QString::fromLocal8Bit(name);
qDebug() << Q_FUNC_INFO << "Received name = " << strOne << " ;";
//rtapi_print_msg(RTAPI_MSG_DBG, "setting signal '%s'\n", name);
/* get mutex before accessing shared data */
rtapi_mutex_get(&(hal_data->mutex));
qDebug() << Q_FUNC_INFO << "hal_data_mutex name = " << strOne << " ;";
/* search signal list for name */
sig = halpr_find_sig_by_name(name);
qDebug() << Q_FUNC_INFO << "halpr_find_sig_by_name name = " << strOne << " sig value = " << sig << " ;";
terminal show these:
Code:
Issuing EMC_TRAJ_SET_G92 -- ( +227,+424, +0,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,)
Issuing EMC_TRAJ_SET_ROTATION -- ( +226,+360, +0,0.000000,)
void MainWindow::toggleBnt_hal(bool) name Toggle received : "hal_cmd_3"
int do_sets_cmd(char*, char*) Received name = "hal_cmd_3" ;[color=#e74c3c] /* these is the last mark before rtapi call */[/color]
/usr/bin/linuxcnc: line 955: 135813 Segmentation fault (core dumped) $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS $EXTRA_ARGS
Shutting down and cleaning up LinuxCNC...
task: 0 cycles, min=0.000002, max=0.012565, avg=-1.000000, 0 latency excursions (> 10x expected cycle time of 0.010000s)
Note: Using POSIX realtime
regards
Please Log in to join the conversation.
2 years 1 week ago #312830
by bkt
Replied by bkt on topic c++ compiling error
in attach my ini and hal file used for test (hal is more long I stopped it at foundamental) maybe I make somethings wrong and not know it ....
Attachment not found
Attachment not found
Please Log in to join the conversation.
2 years 1 week ago #312853
by bkt
Replied by bkt on topic c++ compiling error
hi all ... Hi Grotius ...
project complete with modification
.... after these ..... problem was solved in few step with new c++ code for char and so (from GCC7 to GCC13) ... all other depends because not insert hal_connection(); call on mainwindows ..... any how these help me to remember what learn in the past ... Too many things to do... this way, you forget what you've learned.
@Grotius .... Yesterday you send me in right directions .... but not see it
project complete with modification
.... after these ..... problem was solved in few step with new c++ code for char and so (from GCC7 to GCC13) ... all other depends because not insert hal_connection(); call on mainwindows ..... any how these help me to remember what learn in the past ... Too many things to do... this way, you forget what you've learned.
@Grotius .... Yesterday you send me in right directions .... but not see it
Attachment not found
Please Log in to join the conversation.
2 years 1 week ago #312884
by Grotius
Replied by Grotius on topic c++ compiling error
Hi Bkt,
You keep on dumping the core.
Nice you have a link to your project page.
What thing should i test for you? Please one thing at a time.
You keep on dumping the core.
Attachment not found
Nice you have a link to your project page.
What thing should i test for you? Please one thing at a time.
Please Log in to join the conversation.
2 years 1 week ago #312897
by bkt
Replied by bkt on topic c++ compiling error
maybe bad explain .... now there are not problem. Or at least it works .... thanks a gain.
After these try to insert on cmake opcua .... little bit tortuose than qmake ..... but quite solve .... thinks I done a repo on these. Can help somethings or my mind in future.....
Any how if you would test ... no worry ... for sure you discover somethings of worses .... I have insert "hal_connection();" on minwindows? Not remember ...
@tommilight .... p.s: solution given for compile over linuxmint22 for sure it work ... but running these post code with inifile debug level 12 i can see strange and ureal warning messages ... plus think calssicladder gui work not so good as can be ... but it works. I know andyPugh work on these in these days .... see on maling list. If woul you try by your side.... we can help
After these try to insert on cmake opcua .... little bit tortuose than qmake ..... but quite solve .... thinks I done a repo on these. Can help somethings or my mind in future.....
Any how if you would test ... no worry ... for sure you discover somethings of worses .... I have insert "hal_connection();" on minwindows? Not remember ...
@tommilight .... p.s: solution given for compile over linuxmint22 for sure it work ... but running these post code with inifile debug level 12 i can see strange and ureal warning messages ... plus think calssicladder gui work not so good as can be ... but it works. I know andyPugh work on these in these days .... see on maling list. If woul you try by your side.... we can help
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
2 years 1 week ago #312911
by tommylight
Replied by tommylight on topic c++ compiling error
I have never used clasicladder, but i always use Axis, PlasmaC and QtPlasmaC.
Gathering some stuff to build a mill, so might start using QtDragon or QtPyVCP, no idea when though.
-
Rant
Been 8 days since i got delivery of 410W solar panels, they are still inside the house...
Gathering some stuff to build a mill, so might start using QtDragon or QtPyVCP, no idea when though.
-
Rant
Been 8 days since i got delivery of 410W solar panels, they are still inside the house...
Please Log in to join the conversation.
2 years 1 week ago #312986
by bkt
Replied by bkt on topic c++ compiling error
I write in english in very bad manner .....
@tommy Any how until rain is quite difficult pose solar panel ..... think at your home is similar to here .... it rain from 1 month more or less with some days of sun ..... sometime I wake up and think to live in Manchester ...... .... quite sure Grotius have more sun than here. I'm italian .... think Grotius live in UK and you, think to remember live other side of Adriatic sea right? ... a peace of "nostrum mare" ....
@tommy Any how until rain is quite difficult pose solar panel ..... think at your home is similar to here .... it rain from 1 month more or less with some days of sun ..... sometime I wake up and think to live in Manchester ...... .... quite sure Grotius have more sun than here. I'm italian .... think Grotius live in UK and you, think to remember live other side of Adriatic sea right? ... a peace of "nostrum mare" ....
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
2 years 1 week ago #312989
by tommylight
Replied by tommylight on topic c++ compiling error
Grotius is i Holand, so less sun for him! 
I am in Kosovo, so lower part of eastern Europe, should be same as middle Italy for sun.
Been quite sunny theese days, so i just threw the panels on the shop roof and did some provisional wiring to test, got about 300W at 5:45PM, so not bad. Will get another panel later. I have to anker them to something, it gets windy sometimes.
I am in Kosovo, so lower part of eastern Europe, should be same as middle Italy for sun.
Been quite sunny theese days, so i just threw the panels on the shop roof and did some provisional wiring to test, got about 300W at 5:45PM, so not bad. Will get another panel later. I have to anker them to something, it gets windy sometimes.
Please Log in to join the conversation.
Time to create page: 0.145 seconds
