Page 1 of 1

Robotics Project Help Request

Posted: 21 Jan 2015, 16:02
by PicassoCT
well, i m not trying to get somebody to do my work.. its more..

we have a robot, and it uses a mouse for navigation - we use Ubuntu 12.04 LT - and the problem is, everytime we disconnect the test monitor- the mouse sensor which is basically a shellscript setting and getting the mouse position - gets bonkers.

So how to give a linux the ilusion of a always connected screen?

Re: Robotics Project Help Request

Posted: 21 Jan 2015, 16:35
by TurBoss
Hi,

just to try

crtl + alt + f1 then login

$startx script.sh

also can you try "GPM" wich is a mouse for terminal and boot without x then you can run the script from the console

example with gpm
http://positon.org/listen-to-mouse-even ... -text-mode
https://www.google.es/search?q=get+gmp+ ... mouse+bash

is not what you asked but is a workarround :D

Re: Robotics Project Help Request

Posted: 24 Jan 2015, 00:35
by MetalSucker
Other options would be reading directly from /dev/input/mouse0 (or whatever it would be called on your system) could work as root, or use Xvfb http://www.x.org/archive/X11R7.6/doc/ma ... fb.1.xhtml

Re: Robotics Project Help Request

Posted: 24 Jan 2015, 23:59
by PicassoCT
Thanks for your replys.. we tryied some stuff and stuck with the hardware monitor dummy..
it draws battery like a alcoholic barman but it works.

If i have time later, i will come back to this, and kick the gui-crap out of the system.

Re: Robotics Project Help Request

Posted: 25 Jan 2015, 23:30
by dansan
You could try vncserver as the X server.