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

Watchpoint placing bugs #147

Open
jfabry opened this issue Nov 18, 2016 · 0 comments
Open

Watchpoint placing bugs #147

jfabry opened this issue Nov 18, 2016 · 0 comments

Comments

@jfabry
Copy link
Owner

jfabry commented Nov 18, 2016

Placing of watchpoints is broken in the code below, trying the code of the event:

  • JFROSUtility poseOZ: robot odom pose pose.
  • angle > target
(var target :=[0])
(machine rotateLeft
	(var angle := [nil])
	(state rotating)
	(state end)
	(on reached rotating -> end)
	(event reached [
		angle := JFROSUtility poseOZ: robot odom pose pose.
		angle > target
			ifTrue: [ (angle - target) < 10]
			ifFalse: [ (target - angle) < 10]])
)
(spawn rotateLeft rotating)
``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant