Comments (6)
For the crash, did you verify that the coordinate system matches the ROS coordinate system, especially the orientation?
Hover.py uses a rate-based setpoint, which might not be implemented in all controllers. Are you using the Mellinger or PID controller? (I think PID should work, but Mellinger might not). There should be no limitation with respect to external_pose messages or Kalman estimator.
from crazyflie_ros.
Hmm you mean make sure the vicon data are aligned with the Body frame as seen in " https://www.bitcraze.io/2020/01/state-estimation-to-be-or-not-to-be/ "? I will have to check that for sure
Isn't the PID the default controller? In the code I'm running I'm specifying the Kalman estimator should be used, but I'm not specifying the controller so I would assume it is using the PID. But I'll check that too
from crazyflie_ros.
Yes, that was the issue, I hadn't aligned the object's orientation in Vicon with the Crazyflie's IMU.
However, now that I've got it all to work, I'm conflicted about something.
For the purposes of a specific experiment, I want to look into commanding specific motor thrusts to the motors. I know this can be done using the bitcraze python libs and perhaps tweaking the firmware a bit, but is there a way to do this using your crazyflie_ros package?
Otherwise I will probably have to switch to using the crazyflie-python-libs entirely, cause I don't think I could be using the libs for control, while also communicating with the crazyflie using crazyflie-ros, am I correct?
from crazyflie_ros.
Oh and another thing. Would you say that sending "cmd_vel" messages using this package (i.e. crazyflie_ros) corresponds to the same thing as sending RPYThrust setpoints using the cf_commander of the crazyflie-python libs?
from crazyflie_ros.
You cannot use both crazyflie_ros and crazyflie-python-libs simultaneously. I am not aware of any functionality in the official firmware/python-lib that lets you control the motor PWM directly (other than using parameters, but those cannot be changed in realtime). If that's possible there, it would be easy to add in crazyflie_ros also. Finally cmd_vel
is the same as sending rpy-thrust setpoints.
from crazyflie_ros.
Thanks, I know there is no method for PWM, but I should be able to add a port and type in the firmware to take advantage of the motorSetRatio firmware methods. Anyway, thanks for the response regarding cmd_vel as well, this might be all I need in the end
from crazyflie_ros.
Related Issues (20)
- Failure to launch crazyflie_server.launch with cf firmware: 2020.06 HOT 3
- Failing to log valid LOG_GROUP ctrltarget (setpoint) HOT 2
- Frames HOT 5
- Issues about hover_vicon.launch HOT 2
- Roscpp Update Params HOT 2
- Logging Pose Fails HOT 5
- Advice on how to use the crazyflie server for low level control HOT 2
- Questions on cmd_vel HOT 1
- Cmake error HOT 4
- Reading Ranger Deck Sensor HOT 4
- 运行crazyswarm中的hove_vicon.launch报错,出现terminate called after throwing an instance of 'std::runtime_error' what(): timeout HOT 1
- Could not find <log> in log toc!
- CMake Error HOT 2
- `LIBUSB_ERROR_ACCESS` What should I DO? HOT 2
- teleop_xbox360.launch,error occurred HOT 5
- Problems about test_high_level
- hover_vicon.launch error HOT 1
- vicon_bridge: zero pose and View frame issue
- The velocity of crazyflie
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 crazyflie_ros.