ethz-asl / asctec_mav_framework

Framework for data aquisition and position control to be used with the highlevel processor of Ascending Technologies helicopters
http://www.ros.org/wiki/asctec_mav_framework
37 stars 40 forks source link

Convert Vicon Data from ENU to NED and some other issues #75

Closed DzungTmd closed 7 years ago

DzungTmd commented 7 years ago

Hello,

Our lab recently got a hummingbird with an atomboard, and I try to follow the tutorials to set it up, but I still have some issues as below:

1) My first question is that: Is the data in /fcu/current_postion and when executing plot_position_input the same? (I can remote to the atomboard through ssh to read /fcu/current_position but I cannot connect it to a monitor and run directly to see the plot_position_input). If they are the same, then I know that they have to be in NED, but my Vicon data currently is in ENU, so where should I adjust to convert it to NED? ( I know that for the conversion x=x, y=-y, z=-z, but I don't know where can I change these).

2) I have noticed that when I turn on the serial interface and switch to the GPS mode (the switch come close to the pilot) on the RC while monitoring /fcu/status, the serial interface status does come from False to True value, but the GPS mode doesn't. It keeps showing "acc". I wonder why this happens, is it a problem, and how can I solve it?

3) In the near future, I also want to control the motor individually (i.e., I want to convert the command Roll Pitch Yaw rate + Thrust to each motor rpm). Therefore, I wonder with the current package, is there a way to do that? If not, can you give me some suggestions on this.

Thank you very much.