-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imu values from AirSim #4
Comments
sure, but if using vio, you need to modify vio configuration for imu |
Oh!! Can you pls guide me? This is what i tried:: :) imu_topic: "/mavros/imu/data" |
emm, did you mean that you need imu data from AirSim? Or imu data from Gazebo through MAVROS? |
If you just want to get imu data through AirSim, you may refer to this code: import setup_path
import airsim
client = airsim.MultirotorClient()
imu_data = client.getImuData() |
If you need the imu data from MAVROS, you may have to get the IMU data using AirSim's API and do some data processing and transfer them using MAVROS. |
Besides, you also raise an issue here: |
I would like to try both. At the moment, ROS/Gazebo seems to work. For some reason, Airsim is not completely trustable yet (but looks good though). Anyways, thanks. As you said, I will try and get the IMU from Airsim and transfer them using MAVROS. |
After you successfully complete, welcome to share your experience here with everyone! |
Sure. I have already raised an issue with Airsim group and working with them. Will let you know how it goes. ;) |
Multiple people have raised multiple issues regarding this, which is causing some important changes to be made. They are making some changes in their end on the ROS repo. That's why the delay along with some delays due to my paper submission. At the moment, I am following the recent repos https://github.com/MichaelHannalla/airsim_ros_bridge and https://github.com/microsoft/AirSim/tree/master/ros/src/airsim_ros_pkgs for updates. Please look out for changes in microsoft/AirSim#2743 microsoft/AirSim#2369 microsoft/AirSim#2396. Meanwhile, I'll try and keep things updated as well. |
I am trying to replicate this work using Airsim.
I didn't know how to take the imu values from airsim. So, can I use imu from MAVROS instead of Gazebo?
#imu_topic: "/iris_0/imu_gazebo"
imu_topic: "/mavros/imu/data"
The text was updated successfully, but these errors were encountered: