Robotics Project Help Request

Robotics Project Help Request

Post just about everything that isn't directly related to Spring here!

Moderator: Moderators

Post Reply
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Robotics Project Help Request

Post 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?
User avatar
TurBoss
Jauria RTS Developer
Posts: 89
Joined: 27 Jan 2014, 01:04

Re: Robotics Project Help Request

Post 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
MetalSucker
Posts: 98
Joined: 22 Sep 2014, 20:29

Re: Robotics Project Help Request

Post 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
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10454
Joined: 24 Jan 2006, 21:12

Re: Robotics Project Help Request

Post 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.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: Robotics Project Help Request

Post by dansan »

You could try vncserver as the X server.
Post Reply

Return to “Off Topic Discussion”