ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
In your handle_trigger_transition
method, you have
if state == START.State:
but the variable state
is not defined, you probably want to use self.state
or req.state
instead. You also use START.State
instead of State.START
and STATE.AT_LOC_2
instead of State.AT_LOC_2
There's a few times that State
is written as STATE
.
Also, it appears that in a few instances you're trying to access methods without using self
. You should use self.<instance-method>()
instead.