AP Action problems

Syrox Absolain shared this bug 6 years ago
Outdated

The autopilot is executing incorrect actions upon hitting the end of a set of patrol waypoints.


The remote has 4 waypoints (and associated actions), and is set in Patrol Mode:

Base Connector (Timer Block Dock, Autopilot Off)

Base Approach (Toggle Precision Mode)

Outpost Approach (Toggle Precision Mode)

Outpost Connector (Timer Block Dock, Autopilot Off)

I have the following Timer Blocks:

Timer Block Dock (10 s): Turn Connector On (just in case), Lock Connector, Toggle Recharge on batteries (to recharging), Start Timer Block Undock

Timer Block Undock (4 min): Unlock Connector, Toggle Recharge on batteries (to not recharging, available for energy output), Autopilot On


Here's the intended flow:

The cycle is started nearby my base connector. the ship navigates to the connector, and upon hitting the waypoint, executes the docking timer block, which will lock the connector, recharge the batteries, and start the undock timer. 4 minutes later, the undock timer will unlock the connector, turn the batteries back on, and activate the AP. The ship will still be in Precision Mode.

The ship navigates to my approach waypoint (to get it out of the valley) and turn off Precision Mode.

The ship navigates to the other approach waypoint, and reactivates Precision Mode.

The ship navigates to the connector, activates the Docking Timer Block, and turns off Autopilot.

The two timer block connect the ship, recharge the batteries, wait 4 minutes, turn the batteries on, disconnect, and turn AP back on.


-------------------

on hitting the last point, it correctly docks, waits, undocks, and proceeds to the next waypoint. However, when it hits the first waypoint (next to last on the list, as its traveling back up with waypoint list), it incorrectly executes the last waypoint's action (it turns off the autopilot and turns on the docking timer at the approach point).

With my setup, even if I manually save the ship by stopping the timer or turning the batteries back on, it'll reactivate those actions every time i turn the autopilot on.


It appears that the flag for "has the waypoint been reached" isn't being reset, so when the autopilot is reactivated, the AP is saying "I made it to the last point, let's perform its actions" even if it's nowhere near the last point.


world is attached, with the ship in its broken state.

Replies (3)

photo
1

also, following that, it's running waypoints out of order. It went from Outpost Connector, to Outpost Approach (where it experienced issues) to Base Approach, and then skipped over Base Connector and is going directly back to Outpost Approach. Something is getting lost in the indexing of waypoints and actions, maybe?

photo
1

Update, I built a testbed and ran some isolated tests on the patrol autopilot issues.

Posted here: https://www.youtube.com/watch?v=sjLS57f5Qvk&feature=youtu.be

It's not a missing index, the AP activating actions from all over the list, sometimes performing every action on the list at once.

photo
1

Circling looks fine.

photo
photo
1

Hello, Engineer!


Thank you for your feedback! Your topic has been added between considered issues.


We will address all reported issues during future development and we will attempt to fix your issue as soon as possible. We are currently close to a Major release, which is under heavy development and this takes up a lot of our time.


Please keep voting for the issue as it will help us to identify the most serious bugs.


We really appreciate your patience.


Kind Regards


Keen Software House: QA Department

Leave a Comment
 
Attach a file