ZJU-FAST-Lab / EGO-Planner-v2

Swarm Playground, the codebase of the paper "Swarm of micro flying robots in the wild"
GNU General Public License v3.0
382 stars 70 forks source link

yaw and yaw rate are same #8

Closed shubham-shahh closed 2 years ago

shubham-shahh commented 2 years ago

Hi @bigsuperZZZX , why does the planner publish the equal Yaw and Yaw rate? yaw: 0.563052045148 yaw_dot: 0.563052045148

in traj_server.cpp, In function calculate_yaw() yaw_yawdot.second = yaw_temp;

makes them equal. why is this required?

thanks

shubham-shahh commented 2 years ago

Hi @bigsuperZZZX, any update on this?

bigsuperZZZX commented 2 years ago

I think it is a mistake. Since the controller only takes the yaw commands as the input, yaw_dot is ignored.

shubham-shahh commented 2 years ago

I think it is a mistake. Since the controller only takes the yaw commands as the input, yaw_dot is ignored.

commenting that line mentioned above should help right? If I want to use yaw and yawrate?

bigsuperZZZX commented 2 years ago

yawrate is ignored now, so just comment it.

shubham-shahh commented 2 years ago

yawrate is ignored now, so just comment it.

Ignored where? I am willing to use yaw rate

bigsuperZZZX commented 2 years ago

Ignored in the controller from drone simulation