正常提交报错:[heige@archlinux source]$ git push origin main To github.com:1hei1/haos.git ! [rejected] main -> main (non-fast-forward) error: failed to push some refs to 'github.com:1hei1/haos.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. 使用强制提交git push -f origin main输出:Enume
硬件:树莓派3b,arduino开发板,霍尔ab电机,电机驱动模块,激光雷达软件:ros操作系统,ros_arduino_bridge软件包(包括ros端运行和下位机运行代码),雷达驱动,gmapping包,navigation包,map_server包步骤:1.下载ros_arduino_bridge包,配置开发环境(用来烧录程序到下位机)具体安装步骤见下文ros_arduino_bridge开发环境搭建2.修改ros——arduino——bridge参数并编译进arduino(使得arduino可以正确的驱动电机,以及确定哪些引脚连接电机驱动板的哪里)具体步骤见下文arduino修改以适应自定义电机note:这里面有几个小问题2—1.需要将arduino的IDE的串口监视器设置成如下格式2-2.上文提到的添加xxxx内容,这里的添加位置是2-3.记好你设置的引脚,那个是pwm,那个是控制器2-4.还有一点,上文设置的的时候我以为最后 #define L298P_MOTOR_DRIVER是把 #define L298_MOTOR_DRIVER前面的注释取消,谁知道他两个不一样
1.下载源码包 git clone https://github.com/ros-planning/navigation.git 2.将源码包移入工作空间的src中3.下载依赖 rosdep install --from-paths src --ignore-src -r -y 4.编译catkin_make编译成功截图
1.在工作空间的根目录下下载hector的源码包wget https://heiblog.top/app/hector_slam.zip unzip hector_slam.zip2.下载完成后放在工作空间的src目录下cd src mv hector_slam src3.编译cd .. catkin_make4.设置雷达的farm_id为laser(根据自己的雷达进行设置)5.运行source ./devel/setup.bash roslaunch hector_slam_launch tutorial.launch6.添加订阅map话题
在vmware-tools不是灰色的情况下,直接安装就可以了在vmware-tools是灰色的情况下,输入以下命令:sudo apt-get install open-vm-tools2.安装依赖sudo apt-get install open-vm*3.重启rebot
admin
尽管我有着强大的技术实力,但我始终保持低调。我相信,真正的强者,不需要通过炫耀来证明自己的实力。我更愿意通过我的实际行动,来证明我是一名优秀的程序员。 我是浩哥,一名强大而低调的程序员。我在这里,期待与你们一起创造更多的可能。