Comments (3)
Modifying the following parameters I obtained a trajectory with very small rotations:
faster.yaml
w_max: 0.2 #4.0 # [rd/s] Maximum angular velocity. ~4.0 for Hardware
alpha_filter_dyaw: 0.99 #0 #was 0.92 #[] Filter parameter for dyaw, \in [0,1]. Higher--> More aggressive filtering
v_max: 1 # 5.0 #[m/s] 1.4
a_max: 1 #5.0 #[m/s2] 1.4
j_max: 35 #8.0 #[m/s3] 35
Does anyone have any further advice?
from faster.
When you do this:
self.desired_position.pose.position.x = data.p.x
self.desired_position.pose.position.y = data.p.y
self.desired_position.pose.position.z = data.p.z
q = quaternion_from_euler(0, 0, data.yaw)
self.desired_position.pose.orientation.x = q[0]
self.desired_position.pose.orientation.y = q[1]
self.desired_position.pose.orientation.z = q[2]
self.desired_position.pose.orientation.w = q[3]
I think you are not taking into account that the acceleration of the goal
message is determining two degrees of freedom of the orientation of the drone. The last degree of freedom is determined by yaw
.
You can find an example of how to map acceleration and yaw to a quaternion in this file, which is the one used by FASTER in the simulation. More info is available in Table 3 of this paper.
Hope this helps!
from faster.
Closing this for now, feel free to reopen it if you are still facing this issue
from faster.
Related Issues (20)
- tf time error in global mapper
- a problem happend during building HOT 4
- Help needed finding the parameters/variables HOT 3
- Gazebo+PX4-SITL implementation problem HOT 2
- faster has died with GRBException HOT 3
- Cannot run the second :roslaunch acl_sim perfect_tracker_and_sim.launch HOT 1
- cmake error
- An error occurred while building HOT 2
- can not open the cvx_JA01.rviz
- ERROR HOT 2
- Faster in 3D HOT 2
- Error
- snapstack_msgs missing
- rvize & gazebo
- how to use faster
- mapping HOT 1
- nlopt HOT 1
- FASTER terminate called after throwing an instance of 'GRBException' HOT 1
- How to run faster when the map is completely known? HOT 1
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 faster.