hongbin-liu / nxt-python

Automatically exported from code.google.com/p/nxt-python
GNU General Public License v3.0
0 stars 0 forks source link

nxt.motcont port different from motor.py port #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. in motcont, ports 3 4 and 5 refer to multiple motors and if one activates 
them, the "interval" is tracked for such port rather than for the motors 
individually
2. so if one gives a command to ports 3, 4 or 5 and immediately after sends a 
command to a single motor, the pause that motcont needs for that motor is not 
enforced.
3. also, it would be more elegant/integrated in NXT-Python to use PORT_A + 
PORT_B + PORT_B (which is "7") instead of "5" when giving orders to multiple 
motors.

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

What version of nxt-python are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by Andrea.G...@gmail.com on 16 Oct 2012 at 9:46

GoogleCodeExporter commented 9 years ago
I did not write point 3 correctly and I do not know how to edit a post.

Original comment by Andrea.G...@gmail.com on 16 Oct 2012 at 10:03

GoogleCodeExporter commented 9 years ago
In reviewing issues I have come upon this one and managed to understand the 
problem you're describing. Thanks for pointing this out, I will look at getting 
it fixed. The code is quite simple and if anyone else wants to take a crack at 
it, it'd probably speed things up. Thanks!

Original comment by marcus@wanners.net on 2 Feb 2013 at 4:31