xuhao1 / airsim_ros_pkgs

An adapter for airsim for SITL or HIL simulation drone app built on DJI-SDK
26 stars 2 forks source link

requirements to build this repo #1

Open yalyounes opened 4 years ago

yalyounes commented 4 years ago

Hi ... Thank you for sharing your work I have issues building this repo. I managed to run AirSim with ROS and simulated the ros tutorial pkgs as well. I would appreciate if you can modify the Readme file and add brief hints on how to run this repo. Thanks in advance

vegnesh commented 4 years ago

Replace this repo contents with the airsim_ros_pkgs contents in <base_airsim_dir>/ros/src/airsim_ros_pkgs.

Run catkin_make under <base_airsim_dir>/ros/ . This may throw errors if you dont have dependencies installed. I think this repo requires the DJI-sdk and its dependencies.

Now, you can run roslaunch airsim_ros_pkgs airsim_node.launch to launch the ros wrapper written by the author

The wrapper takes data from airsim and publishes it in topics. You can view the list of topics published using rostopic list

dddyyy1 commented 4 years ago

Replace this repo contents with the airsim_ros_pkgs contents in <base_airsim_dir>/ros/src/airsim_ros_pkgs.

Run catkin_make under <base_airsim_dir>/ros/ . This may throw errors if you dont have dependencies installed. I think this repo requires the DJI-sdk and its dependencies.

Now, you can run roslaunch airsim_ros_pkgs airsim_node.launch to launch the ros wrapper written by the author

The wrapper takes data from airsim and publishes it in topics. You can view the list of topics published using rostopic list

Hi, when I run catkin_make under /ros/. There comes a problem.

/MavLinkCom/MavLinkTest/Commands.cpp:476:5: error: 'path' was not declared in this scope path diaPath(log_folder_): Did you meet the same problem or do you know which file should be included in? Thank you very much.
wangzhihui22 commented 3 years ago

Replace this repo contents with the airsim_ros_pkgs contents in <base_airsim_dir>/ros/src/airsim_ros_pkgs.

Run catkin_make under <base_airsim_dir>/ros/ . This may throw errors if you dont have dependencies installed. I think this repo requires the DJI-sdk and its dependencies.

Now, you can run roslaunch airsim_ros_pkgs airsim_node.launch to launch the ros wrapper written by the author

The wrapper takes data from airsim and publishes it in topics. You can view the list of topics published using rostopic list

Which DJI-SDK is installed, can you give a link?