The value of dradians in move_relative function, is this degree of rotation? If so, in which axis does it rotate?
Also, I am publishing pyparrot's commands to Bebop 1 for Reinforcement learning, I need to obtain an initial state of the drone. I saw move_relative function as most related to my problem where I can make my algorithm learn how much distance in x, y, z to cover to obtain optimal score.
Given a scenario, I run safe_takeoff(5) at default height, and from there I give control to RL algorithm which works on state and actions, it needs to know the initial state in this case x,y,z so it can learn and move relative according to the initial state. How do I find that initial state? It worked for me in gazebo simulation since that work on grids.
Other solution seemed like obtaining latitude, longitude value to capture my initial state, but using sensors.sensors_dict.get(moveToChanged_latitude') keeps giving me None or 500 default value.
The value of dradians in move_relative function, is this degree of rotation? If so, in which axis does it rotate? Also, I am publishing pyparrot's commands to Bebop 1 for Reinforcement learning, I need to obtain an initial state of the drone. I saw move_relative function as most related to my problem where I can make my algorithm learn how much distance in x, y, z to cover to obtain optimal score. Given a scenario, I run safe_takeoff(5) at default height, and from there I give control to RL algorithm which works on state and actions, it needs to know the initial state in this case x,y,z so it can learn and move relative according to the initial state. How do I find that initial state? It worked for me in gazebo simulation since that work on grids.
Other solution seemed like obtaining latitude, longitude value to capture my initial state, but using sensors.sensors_dict.get(moveToChanged_latitude') keeps giving me None or 500 default value.