[px4仿真]单独启动编译和Gazebo仿真器
来源:互联网 发布:团购网站 淘宝折扣 编辑:程序博客网 时间:2024/05/21 10:47
This article shows how to starting Gazebo and PX4 separately
按照官方教程并没有成功。中文教程和英文教程都有错误,应该如下
cd src/Firmwaremake posix_sitl_defaultsource ~/catkin_ws/devel/setup.bash // (只有mavros是用源码编译的才需要)source Tools/setup_gazebo.bash $(pwd) $(pwd)/build_posix_sitl_defaultexport ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:$(pwd)/Tools/sitl_gazeboroslaunch px4 mavros_posix_sitl.launch
如此还是有问题,运行offb offb_node会显示
MODE: Unsupported FCU
折腾了好久才解决问题
需要打开src/Firmware/launch/mavros_posix_sitl.launch(如需使用其他launch文件修改方法类似)
将这一行:
<arg name="fcu_url" default="udp://:14540@localhost:14557"/>
改成:
<arg name="fcu_url" default="udp://:14540@127.0.0.1:14557"/>
参考资料:https://discuss.ardupilot.org/t/problem-calling-ros-service-for-arducopter-ros-sitl-tutorial/18992
阅读全文
1 0
- [px4仿真]单独启动编译和Gazebo仿真器
- [px4仿真]取消Gazebo仿真中的传感器噪声
- Gazebo仿真
- ROS Gazebo(五):ros_control和gazebo仿真总结
- Pioneer3-dx Gazebo 仿真
- ROS(indigo)_turtlebot仿真示例包括stage和gazebo
- ros下gazebo的安装,模型加载和仿真
- px4 多旋翼SITL仿真
- ROS_Kinetic_x 基於ROS和Gazebo的RoboCup中型組仿真系統(多機器人協作)
- Gazebo機器人仿真學習探索筆記(六)工具和实用程序
- ROS 环境下利用gazebo和Rviz进行Turtlebot仿真建图
- 在ROS Kinetic和Gazebo 8中使用智能汽车仿真演示
- ROS Gazebo(三):启动gazebo/URDF
- PX4源码和ardupilot使用Ubuntu命令下载和编译
- PX4 Software-In-The-Loop(SITL) Simulation on Gazebo
- PX4源码分析1_PX4源码的下载和编译
- ROS(indigo)_pr2_simulator仿真(gazebo)示例
- gazebo实例学习-----LRRP_2nd_chapter9仿真失败分析
- Java类和对象 详解(二)
- [HDU
- Xamarin.Forms 用户界面——控件——WebView
- Vue Vue-Cli
- 【复习笔记】手写三种O(n^2)的基础排序算法
- [px4仿真]单独启动编译和Gazebo仿真器
- quota限制用户空间
- 最少拦截系统
- 反射的基本使用
- No symbol table is loaded. Use the "file" command 解决方案
- jq三级联动
- HDU 2825-Wireless Password(AC自动机+状压DP)
- 51NOD-最大子段和问题
- 大数据环境下该如何优雅地设计数据分层