You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2008-12-21 18:36:12

Paul
Member
From: Bonn, Germany
Registered: 2008-08-30
Posts: 846

Resistor problem

First:
I am totally stupid on electronics

Second:
Papywizrd / Merlin runs fine when connected with a 2m cable with 2 220Ohm resistors at the BT-Module end

Third:
Papywizard / Merlin does connect but then neverending miniwindow "Please wait" when connected with a 20cm cable with 2 220Ohm resistors at the BT-Module end

Fourth:
What is going wrong? I quadruple checked the correct wiring.

Last edited by Paul (2008-12-21 18:37:29)


Paul

close, but no cigar ... ... ...

Offline

 

#2 2008-12-21 18:45:38

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6180
Website

Re: Resistor problem

What you are saying is that it works fine with a 2m cable, and fails with a 20cm one? With exactly the same config?

Which plateform?


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#3 2008-12-21 18:54:13

Paul
Member
From: Bonn, Germany
Registered: 2008-08-30
Posts: 846

Re: Resistor problem

yes exactly the same components: on long cable OK, on short cable connect and neverending wait

platforms tested:
- WinXP SP3 Papywizard 1.4.0
- N770 Papywizard last dev. version


Paul

close, but no cigar ... ... ...

Offline

 

#4 2008-12-21 19:21:01

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6180
Website

Re: Resistor problem

And it freezes on both plateforms? No error message after a few seconds?

On the Nokia, try to launch papywizard from the console (osso-xterm):

$ papywizard.sh

You should see the log on the console...


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#5 2008-12-21 23:18:52

Paul
Member
From: Bonn, Germany
Registered: 2008-08-30
Posts: 846

Re: Resistor problem

Thats is the log connected to the short cable - BT-Module shows connect LED
--------------------------------------------------------------------------------
BusyBox v1.4.1 (2007-03-12 19:00:25 EET) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ papywizard.sh
2008-12-21 23:08:54,220::MainThread::DEBUG::Papywizard.l10n(): default locale=de_DE
2008-12-21 23:08:54,268::MainThread::DEBUG::Papywizard.l10n(): LANGUAGE=None
2008-12-21 23:08:54,280::MainThread::DEBUG::Papywizard.l10n(): langs=['de_DE', 'en_US', 'fr_FR', 'pl_PL']
2008-12-21 23:08:54,395::MainThread::DEBUG::Papywizard.l10n(): localeDir=/usr/share/locale/de/LC_MESSAGES/../..
2008-12-21 23:08:54,982::MainThread::INFO::Starting Papywizard...
2008-12-21 23:08:55,104::MainThread::INFO::Loading default presets
2008-12-21 23:08:55,522::MainThread::DEBUG::Preset.__init__(): loading name='4@0 + Z + N'
2008-12-21 23:08:55,636::MainThread::DEBUG::Preset.__init__(): loading name='3@-15 + Z'
2008-12-21 23:08:55,655::MainThread::DEBUG::Preset.__init__(): loading name='6@30 + 6@-15 + N'
2008-12-21 23:08:55,869::MainThread::DEBUG::Preset.__init__(): loading name='4@30 + 4@-30'
2008-12-21 23:08:55,983::MainThread::DEBUG::Preset.__init__(): loading name='3 + 6 + 12 + 6 + 3 (28mm)'
2008-12-21 23:08:56,121::MainThread::INFO::Loading user presets
2008-12-21 23:08:56,133::MainThread::WARNING::No user presets found
2008-12-21 23:08:56,330::MainThread::DEBUG::Spy.__init__(): yaw=0.0, pitch=0.0
2008-12-21 23:08:59,405::MainThread::DEBUG::ConfigManager.__init__(): versions: dist=['1', '5', '3'], user=['1', '5', '3']
2008-12-21 23:08:59,418::MainThread::DEBUG::ConfigManager.__init__(): user config. is up-to-date
2008-12-21 23:08:59,845::Spy::INFO::Starting Spy...
2008-12-21 23:08:59,858::Publisher::INFO::Starting Publisher...
2008-12-21 23:09:08,093::MainThread::INFO::Connecting to real hardware...
2008-12-21 23:09:18,881::Dummy-5::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
    answer = self.__driver.sendCmd(cmd)
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
    c = self._sock.recv(1)
  File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:18,896::Dummy-5::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:20,234::Dummy-5::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
    answer = self.__driver.sendCmd(cmd)
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
    c = self._sock.recv(1)
  File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:20,248::Dummy-5::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:21,421::Dummy-5::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
    answer = self.__driver.sendCmd(cmd)
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
    c = self._sock.recv(1)
  File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:21,435::Dummy-5::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:21,799::Dummy-5::EXCEPTION::Shooting.switchToRealHardware()
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/papywizard/model/shooting.py", line 282, in switchToRealHardware
    self.realHardware.init()
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/head.py", line 93, in init
    self.yawAxis.init()
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 251, in init
    self._sendCmd("L")
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 242, in _sendCmd
    raise HardwareError("Axis %d can't send command" % self._num)
HardwareError: Axis 1 can't send command
2008-12-21 23:09:21,822::MainThread::ERROR::Can't connect to hardware
Axis 1 can't send command
2008-12-21 23:09:27,173::MainThread::INFO::Go to simulation mode
2008-12-21 23:09:28,368::MainThread::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
    answer = self.__driver.sendCmd(cmd)
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
    c = self._sock.recv(1)
  File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:28,379::MainThread::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:29,701::MainThread::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
    answer = self.__driver.sendCmd(cmd)
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
    c = self._sock.recv(1)
  File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:29,717::MainThread::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:30,905::MainThread::EXCEPTION::Axis._sendCmd
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 235, in _sendCmd
    answer = self.__driver.sendCmd(cmd)
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/bluetoothDriver.py", line 122, in sendCmd
    c = self._sock.recv(1)
  File "<string>", line 5, in recv
BluetoothError: timed out
2008-12-21 23:09:30,918::MainThread::WARNING::Axis._sendCmd(): axis 1 can't sent command. Retrying...
2008-12-21 23:09:30,944::MainThread::EXCEPTION::Shooting.switchToSimulatedHardware()
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/papywizard/model/shooting.py", line 295, in switchToSimulatedHardware
    self.realHardware.shutdown() # Test if init first
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/head.py", line 109, in shutdown
    self.yawAxis.stop()
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 371, in stop
    self._sendCmd("L")
  File "/usr/lib/python2.5/site-packages/papywizard/hardware/axis.py", line 242, in _sendCmd
    raise HardwareError("Axis %d can't send command" % self._num)
HardwareError: Axis 1 can't send command
%
--------------------------------------------------------------------------------

Thats is the log connected to the long cable
--------------------------------------------------------------------------------


BusyBox v1.4.1 (2007-03-12 19:00:25 EET) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ papywizard.sh
2008-12-21 23:18:32,017::MainThread::DEBUG::Papywizard.l10n(): default locale=de_DE
2008-12-21 23:18:32,065::MainThread::DEBUG::Papywizard.l10n(): LANGUAGE=None
2008-12-21 23:18:32,076::MainThread::DEBUG::Papywizard.l10n(): langs=['de_DE', 'en_US', 'fr_FR', 'pl_PL']
2008-12-21 23:18:32,169::MainThread::DEBUG::Papywizard.l10n(): localeDir=/usr/share/locale/de/LC_MESSAGES/../..
2008-12-21 23:18:32,788::MainThread::INFO::Starting Papywizard...
2008-12-21 23:18:32,928::MainThread::INFO::Loading default presets
2008-12-21 23:18:33,353::MainThread::DEBUG::Preset.__init__(): loading name='4@0 + Z + N'
2008-12-21 23:18:33,472::MainThread::DEBUG::Preset.__init__(): loading name='3@-15 + Z'
2008-12-21 23:18:33,592::MainThread::DEBUG::Preset.__init__(): loading name='6@30 + 6@-15 + N'
2008-12-21 23:18:33,713::MainThread::DEBUG::Preset.__init__(): loading name='4@30 + 4@-30'
2008-12-21 23:18:33,827::MainThread::DEBUG::Preset.__init__(): loading name='3 + 6 + 12 + 6 + 3 (28mm)'
2008-12-21 23:18:33,964::MainThread::INFO::Loading user presets
2008-12-21 23:18:33,976::MainThread::WARNING::No user presets found
2008-12-21 23:18:34,085::MainThread::DEBUG::Spy.__init__(): yaw=0.0, pitch=0.0
2008-12-21 23:18:37,346::MainThread::DEBUG::ConfigManager.__init__(): versions: dist=['1', '5', '3'], user=['1', '5', '3']
2008-12-21 23:18:37,357::MainThread::DEBUG::ConfigManager.__init__(): user config. is up-to-date
2008-12-21 23:18:37,792::Spy::INFO::Starting Spy...
2008-12-21 23:18:37,959::Publisher::INFO::Starting Publisher...
2008-12-21 23:18:48,839::MainThread::INFO::Connecting to real hardware...
2008-12-21 23:19:01,770::MainThread::INFO::Now connected to real hardware
2008-12-21 23:19:31,829::MainThread::INFO::Set hardware originSegmentation fault
--------------------------------------------------------------------------------

Trying to quit Papywizard crashes with segmentation fault
~ $

Last edited by Paul (2008-12-21 23:25:39)


Paul

close, but no cigar ... ... ...

Offline

 

#6 2008-12-21 23:55:06

fma38
Moderator
From: Grenoble, France
Registered: 2005-12-07
Posts: 6180
Website

Re: Resistor problem

Short cable: Bluetooth connection is OK; the problem occurs when Papywizard try to get the answer from the Merlin head... It is either because the command never reached the head, or because the answer can't reach Papywizard. Could you try this:

http://www.autopano.net/forum/p33669-20 … -01#p33669

Long cable: seg. fault is never good, especially with python as something occured in a C library (which I don't have any control on)... Does it works fine when launched from maemo menus, and only crashes when started from shell? Well, in fact, if it crashes when you quit, you may don't see the problem, as the program exits in any case...


Frédéric

Canon 20D + 17-40/f4 L USM + 70-200/f4 L USM + 50/f1.4 USM
Merlin/Orion panohead + Papywizard on Nokia N800 and HP TC-1100

Offline

 

#7 2008-12-26 23:21:54

claudevh
Moderator
From: Mont-Saint-André (Belgium)
Registered: 2007-11-25
Posts: 1389
Website

Re: Resistor problem

Hi Paul,

Long/short cable  ...

Is you problem solved now ?

cool


cool Claude cool
Merlin + Papywizard on Windows 7 & Nokia 770 § N810 & Acer (Netbook) + PanoramaApp Androïd + Deltawave PapyMerlin BT + Autopano
Spherical Pano (180 x 360) with Canon 40D + Canon EF-S 10-22mm f/3.5-4.5 Zoom & Pôle Pano with Canon 5D MK2 and shaved Tokina 10-17 3.5-4.5 AF DX Fisheye
Gigapixel photography with Nikon D200 + Sigma 70-200 F 2.8 EX DG APO HSM

Offline

 

#8 2008-12-28 12:16:49

Paul
Member
From: Bonn, Germany
Registered: 2008-08-30
Posts: 846

Re: Resistor problem

claudevh wrote:

Hi Paul,

Long/short cable  ...

Is you problem solved now ?

cool

only partly solved:
BT works fine with short cable when I plugin the Handcontroller too
without HC BT does connect, but PW shows neverending the little "please wait"-window


Paul

close, but no cigar ... ... ...

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson