Closed pooyanjamshidi closed 6 years ago
@pooyan can you look at the amcl_pose/pose topic and also see if the rainbow log says something like "current pose is null" or "current pose is not at a location on the map". Let's deal with the IG waypoint exceptions and not worry about the battery ones for now.
@schmerl here is the /amcl_pose topic:
header:
seq: 22
stamp:
secs: 290
nsecs: 180000000
frame_id: "map"
pose:
pose:
position:
x: -23.9230631296
y: 10.9749381728
z: 0.0
orientation:
x: 0.0
y: 0.0
z: -0.00232683652543
w: 0.999997292912
covariance: [0.006048904724707427, 8.048234803936793e-06, 0.0, 0.0, 0.0, 0.0, 8.048234803936793e-06, 0.0014496269530468453, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0007812801151868518]
---
header:
seq: 23
stamp:
secs: 290
nsecs: 590000000
frame_id: "map"
pose:
pose:
position:
x: -23.6401007063
y: 10.9735587841
z: 0.0
orientation:
x: 0.0
y: 0.0
z: 0.00179133089294
w: 0.999998395566
covariance: [0.007293003071822568, -0.00011058755427484357, 0.0, 0.0, 0.0, 0.0, -0.00011058755421800015, 0.0015211488106103843, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0010699321756599722]
and rainbow.log
:
rainbow_c2a3.log
@schmerl More exceptions:
cp1_ta | java.util.NoSuchElementException
cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54)
cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212)
cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246)
cp1_ta | at java.lang.Thread.run(Thread.java:748)
cp1_ta | java.util.NoSuchElementException
cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54)
cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212)
cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246)
cp1_ta | at java.lang.Thread.run(Thread.java:748)
cp1_ta | java.util.NoSuchElementException
cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54)
cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212)
cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246)
cp1_ta | at java.lang.Thread.run(Thread.java:748)
cp1_ta | java.util.NoSuchElementException
cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54)
cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212)
cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246)
cp1_ta | at java.lang.Thread.run(Thread.java:748)
cp1_ta | java.util.NoSuchElementException
cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476)
cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474)
cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54)
cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212)
cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246)
cp1_ta | at java.lang.Thread.run(Thread.java:748)
This is a different issue. Let's not say that all exceptions are the same bug.
On Tue, May 15, 2018 at 12:09 PM Pooyan Jamshidi notifications@github.com wrote:
@schmerl https://github.com/schmerl More exceptions:
cp1_ta | java.util.NoSuchElementException cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474) cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54) cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212) cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246) cp1_ta | at java.lang.Thread.run(Thread.java:748) cp1_ta | java.util.NoSuchElementException cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474) cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54) cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212) cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246) cp1_ta | at java.lang.Thread.run(Thread.java:748) cp1_ta | java.util.NoSuchElementException cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474) cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54) cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212) cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246) cp1_ta | at java.lang.Thread.run(Thread.java:748) cp1_ta | java.util.NoSuchElementException cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474) cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54) cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212) cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246) cp1_ta | at java.lang.Thread.run(Thread.java:748) cp1_ta | java.util.NoSuchElementException cp1_ta | at java.util.HashMap$HashIterator.nextNode(HashMap.java:1444) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1476) cp1_ta | at java.util.HashMap$EntryIterator.next(HashMap.java:1474) cp1_ta | at org.sa.rainbow.brass.plan.p2_cp1.DecisionEngineCP1.selectPolicy(DecisionEngineCP1.java:54) cp1_ta | at org.sa.rainbow.brass.adaptation.p2_cp1.CP1BRASSAdaptationPlanner.runAction(CP1BRASSAdaptationPlanner.java:212) cp1_ta | at org.sa.rainbow.core.AbstractRainbowRunnable.run(AbstractRainbowRunnable.java:246) cp1_ta | at java.lang.Thread.run(Thread.java:748)
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cmu-mars/issues/issues/89#issuecomment-389223822, or mute the thread https://github.com/notifications/unsubscribe-auth/AD9_ANbEdjo-qqmQiE96OjjbOqIpYt2dks5tyv2-gaJpZM4T_bQ- .
After many back and forth and rebuilt, the
NullPointerException
still existing when I start the mission and even before issuing any perturbations.and this: