OSH appears to be connected with the local mavlinkproxy/SITL stack (using port 5760 based on this mavproxy config: "mavproxy.py" "--out" "127.0.0.1:14550" "--master" "tcp:127.0.0.1:5760" "--sitl" "127.0.0.1:5501" "--map" "--console")
2023-06-20 09:53:55.580 INFO DefaultSystemRegistry [ForkJoinPool.commonPool-worker-2] - System registered: urn:osh:sensor:mavlink:15694398 (0 FOIs, 2 datastreams, 1 command inputs, 0 members)
After arming (using the Mavlink console), attempt to issue a Takeoff command via OSH results in either this message (with no effect on Mavlink):
2023-06-20 09:54:03.587 ERROR DefaultSystemRegistry [EventBus-10] - Error dispatching commands to New MAVLink System / navCommands
java.lang.IllegalStateException: Command ID cannot be reassigned
Attempted several other commands (RTL, Goto) and received the following error:
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
Attempted to add and execute Land command, and received the following error:
org.sensorhub.api.datastore.DataStoreException: Datastore already contains command stream for the same system, control input and validTime
Attempted to delete the system info in the Federated DB, and got this:
2023-06-20 10:24:25.685 ERROR AdminUIModule:125edb9e [qtp2060275176-25] - Error deleting system java.lang.NullPointerException: Cannot invoke "org.sensorhub.api.ISensorHub.getEventBus()" because the return value of "org.sensorhub.api.database.IObsSystemDatabaseModule.getParentHub()" is null
Attempted to remove the Federated DB, and got this:
Did a re-init of Fed DB. Also addded in H2 and added mavlink to it. Remove, re-installed/configured mavlink sensor. Attempting to run it now gives me this:
"mavproxy.py" "--out" "127.0.0.1:14550" "--master" "tcp:127.0.0.1:5760" "--sitl" "127.0.0.1:5501" "--map" "--console"
)2023-06-20 09:53:55.580 INFO DefaultSystemRegistry [ForkJoinPool.commonPool-worker-2] - System registered: urn:osh:sensor:mavlink:15694398 (0 FOIs, 2 datastreams, 1 command inputs, 0 members)
After arming (using the Mavlink console), attempt to issue a Takeoff command via OSH results in either this message (with no effect on Mavlink):
or one of several other error messages:
or
Attempted several other commands (RTL, Goto) and received the following error:
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
Attempted to add and execute Land command, and received the following error:
org.sensorhub.api.datastore.DataStoreException: Datastore already contains command stream for the same system, control input and validTime
Attempted to delete the system info in the Federated DB, and got this:
2023-06-20 10:24:25.685 ERROR AdminUIModule:125edb9e [qtp2060275176-25] - Error deleting system java.lang.NullPointerException: Cannot invoke "org.sensorhub.api.ISensorHub.getEventBus()" because the return value of "org.sensorhub.api.database.IObsSystemDatabaseModule.getParentHub()" is null
Attempted to remove the Federated DB, and got this:
Did a re-init of Fed DB. Also addded in H2 and added mavlink to it. Remove, re-installed/configured mavlink sensor. Attempting to run it now gives me this: