Comments (4)
The UAV speed is defined by the system "constraints", which are managed by the ConstraintManager. The speed defined within the constraints is the "maximum limit", so the trackers should not allow you to fly faster. So those are the "limits".
However, if you want to control the UAV by specifying the desired speed, please, use the control_manager/velocity_reference topic while the MpcTracker is active.
from mrs_uav_system.
I'm trying to set the speed by constrainst_manager.yaml setting the speed and acceleration to 4, and the jerk and snap to 50. But the maximum speed I get is 1.4, do you know why?
MpcTracker is active by default, and even if you set it manually, the control_manager/velocity_reference topic doesn't exist.
from mrs_uav_system.
Please check the topic control_manager/current_constraints
to see what is currently set. Beware, If you fly with the MpcController, the current constraints are overridden to much slower than what you set with the ConstraintManager. Also, the topic control_manager/velocity_reference
should exist since 4108be5 in uav_core.
from mrs_uav_system.
@klaxalk I am using MpcTracker and MpcController to fly. When I check control_manager/current_constraints
the constraints are fast (horizontal speed = 8) but when the UAV takeoff the constraints switch to slow (horizontal speed = 1). I updated the MRS and used the topic control_manager/velocity_reference
but nothing happens (have tried with services too).
rostopic pub /uav1/control_manager/velocity_reference mrs_msgs/VelocityReferenceStamped "header:
seq: 0
stamp:
secs: 0
nsecs: 0
frame_id: ''
reference:
velocity: {x: 5.0, y: 5.0, z: 5.0}
altitude: 0.0
heading: 0.0
heading_rate: 0.0
use_altitude: false
use_heading: false
use_heading_rate: false"
I am using RTK as odometry and setting the constraints to fast as follow in these config files (.yaml). And calling them in the start.sh 'Control' "waitForOdometry; roslaunch mrs_uav_general core.launch WORLD_FILE:=./world.yaml config_constraint_manager:=./custom_configs/constraint_manager.yaml config_odometry:=./custom_configs/odometry.yaml"
.
How do I keep the fast constraints after the takeoff?
from mrs_uav_system.
Related Issues (20)
- Make the swap persistent after reboot. HOT 3
- [DOUBT] Why are the ROS packages linked externally and not directly placed within the workspace? HOT 2
- Allow (again) to see and set non-ctu controllers and tracker in mrs_uav_status windowπ HOT 2
- Troubles running Rviz after installing the mrs_uav_systemπ HOT 13
- Update px4_firmware to 1.12.3. HOT 3
- Collision avoidance uses gps_origin even when rtk_origin is available. HOT 3
- MRS Bumper does not work well with complex trajectories.
- π Simulation does not start, PX4 crashes HOT 1
- π Backward incompatibility: we are no longer bulding with -march=native, please README
- π Backward incompatibility: `mrs_lib::Transformer` API changes, please README
- gzserver: symbol lookup error HOT 2
- ROS2 version HOT 7
- π Backward incompatibility: Updates for px4 firmware v1.13.2 HOT 8
- π Lockstep is not working as it should in the new version of the simulation. HOT 1
- π Calling rosdep init fails HOT 1
- Is there a easy way to implement a simulation environment with mrs? HOT 2
- π Towards the MRS UAV System 1.5 - please help updating the documentation
- Update README.md
- π Error installation via stable PPA HOT 1
- one_drone_gps_baro drone's altitude keeps increasingπ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mrs_uav_system.