Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in global navigation #119

Closed
aitormf opened this issue Mar 13, 2017 · 1 comment
Closed

Bug in global navigation #119

aitormf opened this issue Mar 13, 2017 · 1 comment

Comments

@aitormf
Copy link
Contributor

aitormf commented Mar 13, 2017

In global_navigation practice, I've tried to get robot orientation using self.sensor.getRobotTheta(). When I run the practice it gives an error. It seems that Pose3D doesn't have the yaw attribute. The error is:

Exception in thread Thread-2: 
Traceback (most recent call last): 
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner 
    self.run() 
  File "/home/vanejessi/Escritorio/Vanessa/TeachingRobotics/src/global_navigation/MyAlgorithm.py", line 36, in run 
    self.execute() 
  File "/home/vanejessi/Escritorio/Vanessa/TeachingRobotics/src/global_navigation/MyAlgorithm.py", line 267, in execute 
    orientationRobot = self.sensor.getRobotTheta() 
  File "/home/vanejessi/Escritorio/Vanessa/TeachingRobotics/src/global_navigation/sensors/sensor.py", line 78, in getRobotTheta 
    return self.pose3d.Yaw() 
AttributeError: 'Pose3D' object has no attribute 'Yaw' 

source

aitormf added a commit to aitormf/Academy that referenced this issue Mar 13, 2017
aitormf added a commit that referenced this issue Mar 13, 2017
[issue #119] solved bug with pose3d in global navigation
@aitormf
Copy link
Contributor Author

aitormf commented Mar 13, 2017

merged #120

@aitormf aitormf closed this as completed Mar 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant