Hexy with onboard Linux

Post all your hardware and software upgrades/projects here.

Re: Hexy with onboard Linux

Postby klims » Wed Jan 15, 2014 10:44 pm

TooManySecrets wrote:What python did you use?

Using Python 2.7.6 on both Linux and Windows.

The only stuff I found online about the error was related to using the python interactive shell
http://stackoverflow.com/questions/1677 ... ot-defined
klims
 
Posts: 31
Joined: Thu Aug 01, 2013 1:31 am

Re: Hexy with onboard Linux

Postby TooManySecrets » Wed Jan 15, 2014 11:05 pm

Im using python 2.7.3
What are the dependencies for your pomoco?
Image
TooManySecrets
 
Posts: 79
Joined: Mon Jan 14, 2013 5:02 pm

Re: Hexy with onboard Linux

Postby klims » Thu Jan 16, 2014 12:33 am

TooManySecrets wrote:Im using python 2.7.3
What are the dependencies for your pomoco?


I have no idea, and I don't know how to check.
From memory I needed to include os to get the __file__ attribute to work.
klims
 
Posts: 31
Joined: Thu Aug 01, 2013 1:31 am

Re: Hexy with onboard Linux

Postby TooManySecrets » Thu Jan 16, 2014 12:48 am

Ok scrap that i got it mostly working on my raspberry pi but i got this now.

i ran it with -n and -j

Code: Select all
 File "PoMoCo.py", line 73, in <module>
    GUI.noGUI(controller)
  File "/home/pi/PoMoCo 2.3.6/PoMoCo-master/PoMoCo/GUI.py", line 1447, in noGUI
    app.estop
NameError: global name 'app' is not defined

Image
TooManySecrets
 
Posts: 79
Joined: Mon Jan 14, 2013 5:02 pm

Re: Hexy with onboard Linux

Postby klims » Thu Jan 16, 2014 12:57 am

TooManySecrets wrote:Ok scrap that i got it mostly working on my raspberry pi but i got this now.
i ran it with -n and -j
[/code]


I probably didn't make it clear, but the NoGUI version (-n) doesn't work with any of the other options apart from -f=FPS.
If you want to use the -j you must have a GUI
klims
 
Posts: 31
Joined: Thu Aug 01, 2013 1:31 am

Re: Hexy with onboard Linux

Postby TooManySecrets » Thu Jan 16, 2014 1:24 am

does the -n go directly into kinematic mode also?

If so then i did not understand it.

edit:
just tried only with -n and the same thing happened.
Image
TooManySecrets
 
Posts: 79
Joined: Mon Jan 14, 2013 5:02 pm

Re: Hexy with onboard Linux

Postby klims » Thu Jan 16, 2014 2:08 am

Command line arguments:
When using the -n argument the only other allowed argument is -f
-n Run PoMoCo headless (No GUI)
-f=FPS Specify an FPS for PoMoCo to run at (only works when running PoMoCo headless)
Code: Select all
python PoMoCo.py -n

Code: Select all
python PoMoCo.py -n -f=50


When not using the -n argument (No GUI) you can use the following arguments:
-j Immediately launch into Kinematic Control mode (enable joystick)
-c Launch the camera viewer on start
-v Launch camera server on start
Code: Select all
python PoMoCo.py -j

Code: Select all
python PoMoCo.py -j -c

Code: Select all
python PoMoCo.py -j -u
klims
 
Posts: 31
Joined: Thu Aug 01, 2013 1:31 am

Re: Hexy with onboard Linux

Postby TooManySecrets » Thu Jan 16, 2014 2:59 am

TooManySecrets wrote:does the -n go directly into kinematic mode also?

If so then i did not understand it.

edit:
just tried only with -n and the same thing happened.



like i said. Anyway to tired to mess around with it anymore.
Image
TooManySecrets
 
Posts: 79
Joined: Mon Jan 14, 2013 5:02 pm

Re: Hexy with onboard Linux

Postby klims » Thu Jan 16, 2014 9:56 pm

You're right, I seem to have broken the ability to run without the GUI at some stage of development

I thought it was going to be a very handy feature at one stage, but the more work I do on hexy the more I realise I need the GUI. I think I'll just remove it in future versions.
klims
 
Posts: 31
Joined: Thu Aug 01, 2013 1:31 am

Re: Hexy with onboard Linux

Postby mickkay » Thu Jan 16, 2014 11:26 pm

Hello,
Could you please post your version of picuntu RC3, so I can download it?
I would be so grateful.
mickkay
 
Posts: 6
Joined: Thu Jan 16, 2014 11:15 pm

PreviousNext

Return to Projects and Upgrades

Who is online

Users browsing this forum: No registered users and 2 guests

cron