babakkhoda / raspy-juice

Automatically exported from code.google.com/p/raspy-juice
0 stars 0 forks source link

rj_setservo hands SSH session #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Issue 2 or more rj_setservo or i2cset commands in a sequence 
2. SSH session established to RPi is not responding

What is the expected output? What do you see instead?

RPi shall stay accessible whenever you execute "set" command for Raspy Juice.

What version of the product are you using? On what operating system?

Raspbian “wheezy”. 

Please provide any additional information below.

Commands are executed via remote ssh session.
Both native calls and scripts cause the same issue.
The source code for them is available here:

https://github.com/leoz2011/rpi-car

A possible fix might be to set attributes properly on "tcsetattr" call.
See similar fix here:
https://github.com/RollingLinux/motor-lib/commit/83e2656f821bff57874f4e1c06a8894
99e89e674

Original issue reported on code.google.com by leonid.z...@gmail.com on 20 Nov 2012 at 8:52

GoogleCodeExporter commented 8 years ago
Typo in issue title: "hands" should be "hangs".

Original comment by leonid.z...@gmail.com on 20 Nov 2012 at 8:55

GoogleCodeExporter commented 8 years ago
Switching from 5V to 12V power source solved this problem.

Please ignore this ticket.

Regards,
Leonid.

Original comment by leonid.z...@gmail.com on 22 Nov 2012 at 5:50