I have a smart lamp which has the actions turn ON/OFF. The action turn on increases the brightness in the room, however, due to the current environment state I cannot definitely state how much it will increase the brightness. Is there a way to model this uncertainty in PDDL?
(define (domain home)
(:requirements :typing :fluents)
(:types
phillipshue - lamp
)
(:predicates
(lamp_powerstate_on ?l -lamp)
)
(:functions
(brightness ?l - lamp)
)
(:action TurnOnLamp
:parameters ( ?l - lamp)
:precondition (and
(not(lamp_powerstate_on ?l))
)
:effect (and
(increase (brightness ?l) 1) (lamp_powerstate_on ?l)
)
)