Return Values
- **waypoint.set_action** returns int instead of bool now (-1, 0, ..., 14).
Exceptions/Errors
- IndexError and ValueError are raised if inputs are off. See docs for more details.
Changed
Waypoint
- **waypoint.set_action** return value changed
- old: **waypoint.set_action**(index=x, actiontype=y, param=z) -> bool
- new: **waypoint.set_action**(action_type=y, param=z) -> int
- returns index of added action or -1 if no free slots are available
- **waypoint.replace_action**(index=x, action_type=y, param=z) raises IndexError
- raises IndexError if index is not between and 14
POI
- **poi** altitude is now an **altitude** object
- **poi** altitude_mode attribute no longer exists