Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapper does not work properly #8

Open
magdesign opened this issue Jan 3, 2017 · 6 comments
Open

Mapper does not work properly #8

magdesign opened this issue Jan 3, 2017 · 6 comments

Comments

@magdesign
Copy link
Owner

magdesign commented Jan 3, 2017

If your mapper presets do not work, or the delete function or something strange regarding the mapper,
do following:

If there is still something strange, please tell me, I can only fix bugs if I know them :-)
If you find a bug and fixed it yourself, please contribute!

@thomaswinged
Copy link

I've followed provided steps and still I couldn't make mapper to work properly. I figured out that key bindings differs from ones that has original PiMapper. For example shortcut 'i' does not show layer info, but key 'c' works that way. I spent some time trying to find proper shortcuts using keyboard connected via USB, and found out that everything works fine, only keymap is different. Has PocketVJ been purposely written to interpret those shortcuts that way? Could you give me a hint how to remap PocketVJ's PiMapper?

@magdesign
Copy link
Owner Author

I made custom shortcuts, do you want to compile a special version ofxPiMapper?
Otherwise you dont have to compile, just hit "update mapper".

If you want to change the shortcuts by yourself, do it in /src/Application/Application.cpp and in src/Application/Modes/ProjectionMappingMode.cpp
But there is the possibility that kris made massive changes.... report back!

@thomaswinged
Copy link

thomaswinged commented Apr 26, 2017

I figured out that I skipped a step where I should install virtual keyboard a'ka fsayskeyboard, and that's why there was no panel response :x
After I installed it, the mapper panel kinda works, but the problem is that there are enormous lags. In addition it keeps repeating last sent input once in a while even though I'm not clicking any button, it stops after one or two minutes. I tested 'fsayskeyboard' through ssh and it works well. Any idea why using PocketVJ's mapper panel lags so badly?

'journalctl -a' outputs following after clicking "Move Big Right" and then "Move Big Down":

Apr 26 13:26:33 raspberrypi sudo[927]: www-data : TTY=unknown ; PWD=/var/www ; USER=root ; COMMAND=/var/www/sync/mapperrightbig
Apr 26 13:26:33 raspberrypi sudo[927]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 26 13:26:37 raspberrypi ntpd_intres[746]: DNS 3.debian.pool.ntp.org -> 149.202.97.123
Apr 26 13:26:49 raspberrypi sudo[943]: www-data : TTY=unknown ; PWD=/var/www ; USER=root ; COMMAND=/var/www/sync/mapperdownbig
Apr 26 13:26:49 raspberrypi sudo[943]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 26 13:26:52 raspberrypi sudo[943]: pam_unix(sudo:session): session closed for user root
Apr 26 13:26:52 raspberrypi lighttpd[756]: /opt/fsayskeyboard: no process found

PS In case you remapped the keys on purpose, it would be great if help/info panel would dislay correct keybindings, because right now it shows the old ones.

@magdesign
Copy link
Owner Author

Could you figure out something about the lag, I still have sometimes lag in mapper remote control and do not know why exactly. Appreciate any hint!

BTW. Mapper with correct Keybinding is here: https://github.com/magdesign/ofxPiMapper

@GabrioGi
Copy link

Toggle perspective doesn't do any effect on gridwarp.
Try with this:

  • create a new "gridwarp plane"
  • add a new row
  • move some points
    The video inside is spidery like in the video tutorial mapping2.
  • click on perspective
    Nothing happens and the video doesn't modify like in the tutorial

@magdesign
Copy link
Owner Author

Toggle perspective only works on quads.
If you need a "grid", cut your video in several quads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants