Maneuver + Plan.DB

35 views
Skip to first unread message

Håvard Lægreid Andersen

unread,
May 12, 2014, 12:17:49 PM5/12/14
to lsts-to...@googlegroups.com
Hi

Using the RowsManeuver as a template, I have created my own set of maneuvers.
These have been implemented both in Dune and Neptus, and work fine for simulation.

However, there is one small problem, when I restart Neptus and try to run an old plan from the database, I get an error saying that the plan has no maneuvers. 
This happens whether the plan consists of one new maneuver alone or one new maneuver combined with exisiting(such as Goto).

I assume this is because there are some functions for storing a plan, that I have not found and therefore not implemented for my maneuvers. 
Is there anyone with this knowledge that can point me in the right direction?

regards 
Håvard

Paulo Dias

unread,
May 12, 2014, 1:06:02 PM5/12/14
to Håvard Lægreid Andersen, lsts-to...@googlegroups.com
Hi Håvard,

  Who exactly is giving the error? Neptus or DUNE? Can you see the complete plan in Neptus after restart? That is is Neptus loading the plan ok after restart?
  Could you provide some screenshot and debug output and the steps you made?

regards,
Paulo

--
You received this message because you are subscribed to the Google Groups "LSTS Toolchain" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lsts-toolchai...@googlegroups.com.
Visit this group at http://groups.google.com/group/lsts-toolchain.
To view this discussion on the web visit https://groups.google.com/d/msgid/lsts-toolchain/4669942d-bf32-496b-97c1-98c36143bca5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Håvard Lægreid Andersen

unread,
May 13, 2014, 5:10:37 AM5/13/14
to lsts-to...@googlegroups.com, Håvard Lægreid Andersen
Hi

It appears I managed to fix the problem myself.


The problem was Neptus not finding the maneuver at startup, because they were located in new package rather then pt.lsts.neptus.mp.maneuvers. When restarting Neptus the maneuvers in the plans were set to null, the plan was not shown on the map, and Dune gave the following error when trying to simulate (after the plan was sent again).



After moving the java-classes for the new maneuvers to pt.lsts.neptus.mp.maneuvers  everything appears to work fine.
Reply all
Reply to author
Forward
0 new messages