Giter Site home page Giter Site logo

Comments (7)

nrlhozkan avatar nrlhozkan commented on September 27, 2024 1

Thank you for your reply. I will let you know if they help in future.

from crazys.

welcome avatar welcome commented on September 27, 2024

Thanks for opening your first issue here! Make sure that no other issues on the same topic have already been opened!

from crazys.

gsilano avatar gsilano commented on September 27, 2024

Hi! Have you read this page?

from crazys.

nrlhozkan avatar nrlhozkan commented on September 27, 2024

Yes, I have read it. I have tried to do it with Matlab script and Simulink. But it same error "Unrecognized message type mav_msgs/Actuators".

from crazys.

gsilano avatar gsilano commented on September 27, 2024

I hope this guideline helps

from crazys.

nrlhozkan avatar nrlhozkan commented on September 27, 2024

Thank you but I tried that one too but still the same result. I can send messages using Python but MATLAB/Simulink does not allow it. I do not know why. I also have another problem maybe you would know it. This time in Python. I have my own controller for crazfiles based on feedback linearization. I am using ode to integrate my differential equations. In each iteration, I would like to publish the actuator speeds. However, I am facing issues probably related to time rates. Have you ever faced such an issue?

from crazys.

gsilano avatar gsilano commented on September 27, 2024

Hey there! I've been through this issue before. It seems like it affected earlier releases of the Robotics System Toolbox. I don't use it anymore; instead, I use Genom for my MATLAB/Simulink simulations. However, this is another thread not related to this issue. Try out this guideline I wrote: LINK.

Back then, I found a simple workaround using ROS services to freeze and resume Gazebo simulations and Simulink for message reading. It was slow, but it allowed me to control the quadrotor. You can find the MATLAB script here, along with additional scripts on that page.

As for the rate issue, I honestly can't recall how I fixed it. It's been quite some time. However, you could take a look at the code to see if it helps. If you're okay with Italian (sorry, I haven't had time to translate this contribution), there's a useful repo here.

By the way, Stefano managed to come up with a simple script for controlling the Crazyflie using MATLAB and ROS messages. You can find it in the matlab_lee_controller folder. An example of this script can be found here

from crazys.

Related Issues (20)

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.