c++ compiling error
21 Oct 2024 21:24 - 21 Oct 2024 21:46 #312799
by bkt
Replied by bkt on topic c++ compiling error
Attachments:
Last edit: 21 Oct 2024 21:46 by bkt.
Please Log in or Create an account to join the conversation.
22 Oct 2024 06:17 - 22 Oct 2024 06:19 #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
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 .....
regards
Attachments:
Last edit: 22 Oct 2024 06:19 by bkt.
Please Log in or Create an account to join the conversation.
22 Oct 2024 06:37 #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
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:
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
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
22 Oct 2024 06:43 #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 ....
Attachments:
Please Log in or Create an account to join the conversation.
22 Oct 2024 13:31 #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
Attachments:
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
22 Oct 2024 17:54 #312884
by Grotius
Replied by Grotius on topic c++ compiling error
Attachments:
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
22 Oct 2024 20:47 - 22 Oct 2024 20:51 #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
Last edit: 22 Oct 2024 20:51 by bkt.
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
22 Oct 2024 22:54 #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 or Create an account to join the conversation.
23 Oct 2024 17:19 #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" ....
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
23 Oct 2024 17:32 #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.
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
Time to create page: 0.250 seconds