Git Product home page Git Product logo

Comments (5)

octopusF avatar octopusF commented on July 19, 2024 1

@gsilano thank you for your reply. I think I have got the answer.

from bebops.

welcome avatar welcome commented on July 19, 2024

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

from bebops.

gsilano avatar gsilano commented on July 19, 2024

What do you mean with "the position of the propeller"? If you want to change the geometry, i.e., the distance of the propellers in terms of x and y-coordinates, just change this line

<origin xyz="0.08440513 -0.09784210 ${rotor_offset_top}" rpy="0 0 0" />
<xacro:insert_block name="rotor_inertia" />

<origin xyz="0.08440513 0.09784210 ${rotor_offset_top}" rpy="0 0 0" />
<xacro:insert_block name="rotor_inertia" />

<origin xyz="-0.06853580 0.09784210 ${rotor_offset_top}" rpy="0 0 0" />
<xacro:insert_block name="rotor_inertia" />

<origin xyz="-0.06853580 -0.09784210 ${rotor_offset_top}" rpy="0 0 0" />
<xacro:insert_block name="rotor_inertia" />

from bebops.

octopusF avatar octopusF commented on July 19, 2024

hi,@gsilano. I did not make myself clear. The velocity of the propeller can be controlled by sending commands in the terminal:
$ rostopic pub /gazebo/command/motor_speed mav_msgs/Actuators '{angular_velocities: [1000, 1000, 1000, 1000]}'
I sent the command
$ rostopic pub /gazebo/command/motor_speed mav_msgs/Actuators '{angles: [1, 1, 1, 1]}'
to control the angle of the propeller, but this does not work. So how to change the angle of the propeller.
Thank you.

from bebops.

gsilano avatar gsilano commented on July 19, 2024

If you need to change it in real-time, during the simulation, as I understand, you would like to simulate a fully actuated platform as described in these papers.

Comparison of Control Methods for Trajectory Tracking in Fully Actuated Unmanned Aerial Vehicles
Full Pose Tracking for a Tilt-Arm Quadrotor UAV
Modeling and control of FAST-Hex: A fully-actuated by synchronized-tilting hexarotor

In this case, it is better to open an issue in RotorS, the repository used as the basis for BebopS.

Instead, if you need to change the rotors configuration before starting the simulation, simply change the rpy="0 0 0" of the part of the code mentioned before.

from bebops.

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.