Giter VIP home page Giter VIP logo

rm_control's Issues

官方文档Gazebo底盘部分:仿真中底盘无法运动

您好,在使用官方文档教程的gazebo底盘部分时,我遇到了一些问题

  1. 在rqt中启动chassis_controller后,gazebo提示报错
    图片
  2. 之后,我按照文档发布rm_msgs/ChassisCmd/cmd_vel geometry_msgs/Twist,并且通过rostopic echo检测,两个话题均正常发布,但是仿真的底盘没有运动
  3. 我尝试了舵轮和麦克纳姆轮,以及三种模式,仿真中底盘均不运动,一开始我以为是yaw的问题,
  4. 我尝试修改了chassis_base.cpp
if (cmd_rt_buffer_.readFromRT()->cmd_chassis_.follow_source_frame.empty())
    follow_source_frame_ = "map";
  else
    follow_source_frame_ = cmd_rt_buffer_.readFromRT()->cmd_chassis_.follow_source_frame;
  if (cmd_rt_buffer_.readFromRT()->cmd_chassis_.command_source_frame.empty())
    command_source_frame_ = "map";
  else
    command_source_frame_ = cmd_rt_buffer_.readFromRT()->cmd_chassis_.command_source_frame;

但是无效,尽管1中所述warning消失,但文档设置底盘运动模式和速度后,仿真中底盘依然无法运动,我在查看了已有的issue后,也显示这个问题似乎和yaw的warning并没有关系

我想请问一下,这可能是由于什么原因导致的。

chassis_controller中pid的output输出很小

测试装有4个2006电机的麦轮小车
硬件接口改成了type: rm_2006
四个轮子的坐标和半径都改了
actuator_states中2006的角速度、角度值都正确
但是上车时观察pid的output以及轮子的command都接近0

关于rm_gazebo中的rmuc场地文件

model://rmuc_2022/meshes/place.dae 0.001 0.001 0.001 此处是将真实比赛场地缩小到原来的千分之一,然后再加载到gazebo中吗? 那么如果我用此模型SLAM仿真建图的话,最终得到的地图是否同样需要放大1000倍? 最后想请问是使用什么软件将模型转换成.dae文件的?

全向轮不能左右运动

前后运动和自旋都正常,但是cmd_vel发送y方向的速度,不管发送多少速度,set_point都是0
已测试过麦轮的运动,都正常,只有全向轮会出现这个问题,controller的配置文件都正确
试了一下加载rm_description中的其他机器人urdf模型,hero,standard3,standard5都试过,都是一样的问题

关于无下位机的疑问

https://rm-controls.github.io/ 这个链接中看到了关于这个项目的介绍,
我注意到了在该项目中, 是无需下位机, 是指没有类似于stm32等mcu用作控制对吧, 但是假如像哨兵这种全自动的机器人, 肯定是需要外置光电传感器的, 像这种需要外置传感器的硬件, 是怎么集成到一个电脑上的呢?

官方文档中gazebo底盘部分存在bug

使用官方文档中gazebo底盘部分出现如下问题:
(设置底盘为英雄底盘)
1. 根据文档,设置底盘运动模式为FOLLOW,使用文档提供的命令操控底盘,底盘未直线运动,而是自旋,使用实物时出现相同情况
2023-02-02_21-55
cgi-bin_mmwebwx-bin_webwxgetmsgimg_ MsgID=112687994927960524 skey=@crypt_4ea6157d_3d36aff3bc8a8db41390187bd3d81271 mmweb_appid=wx_webfilehelper

513376327.mp4

2. 当底盘运动模式为FOLLOW时,只给z轴角速度设有正值,其他都为零,底盘直线运动,实物和仿真情况相同。
2023-02-02_22-04

79175018.mp4

3. 使用rm_hw运行底盘实物,rm_hw存在如下warning
2023-02-02_22-03

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.