-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hello Matthew
First, a big thank you for your csharp touchplus device commander program last year !
Though I have posted last month a message on github to Umar Nizamani
umarniz/TouchPlusLib#2
to get his help on C++, I think we also need a csharp expert to have win_cursor_plus.exe working on https://github.com/Ractiv/touch_plus_source_code/tree/master !
Indeed, in VS Community 2015, I've uncommented some code on main.cpp in track_plus to get win_cursor_plus.exe compiled and running from "C:\touch_plus_source_code\build", after copying turbojpeg.dll to build's folder, because tasklist command in processes.cpp doesn't run from software's installer folder "C:\Program Files (x86)\Ractiv\Touch+ Software" for blank spaces characters in path.
///*
static bool show_wiggle_sent = false;
if (!show_wiggle_sent)
{
if (child_module_name != "")
ipc->open_udp_channel(child_module_name);
ipc->send_message("menu_plus", "show window", "");
ipc->send_message("menu_plus", "show wiggle", "");//todo
}
show_wiggle_sent = true;
//*/
///*
if (child_module_name != "" && child_module_path != "")
{
static bool first = true;
if (first && process_running(child_module_name + extension0))
{
kill_process(child_module_name + extension0);
while (process_running(child_module_name + extension0))
{
console_log("wait kill");
Sleep(1000);
}
}
first = false;
}
//*/
//
if (child_module_name != "" && child_module_path != "" && !process_running(child_module_name + extension0))
//
create_process(child_module_path, child_module_name + extension0);
I haven't uncommented these lines though I don't know if it's important or not but it doesn't seems to make any difference at running :
// imshow("image_preprocessed1", image_preprocessed1);
// setMouseCallback("image_preprocessed1", left_mouse_cb, NULL);
// waitKey(1);
// return false;
// ipc->send_message("menu_plus", "hide window", "");
I get this in console running C:\touch_plus_source_code\build\win_cursor_plus\win_cursor_plus.exe :
"message received open udp channel win_cursor_plus0
message sent: track_plus open udp channel 54452
bound to UDP port 54452"
but I can't get any same green win cursor as seen on v0.55b on Alexandru Bauer's computer : https://www.youtube.com/watch?v=ulFTmjiwmAA
Maybe it's a typically csharp issue on win_cursor_plus and win_cursor_plus_fallback.
Thanks in advance for maybe a new help from you... if you have a little time again for us...
I'm gonna contact Corey Manders to have his global feeling on Ractiv's ambitious (dead ?) project and on OSX port for existing code.
I would like to get also his scientific and technical point of view on gesture recognition and hand tracking with the touchplus device because part of the wheel seems to have already been invented, see : (https://github.com/nickgillian/grt), (https://github.com/OpenGP/htrack).
Best Regards,
Christian LERICHE
known as The Frog and also touchhope on Wassim Gharbi's website