Comments (4)
Hello,
The joystick is currently required as it provides somewhat simplified navigation functionality such as moving forward and turning using one stick (right). You can use left stick to change altitude or rotate. Joystick's buttons are used to enable/disable some of the functionality like DNN navigation (buttons A
/B
). The joystick runs in parallel with transmitter. The transmitter itself is used for initial takeoff and switching to OFFBOARD
mode. Transmitter also has a kill switch which allows to disable vehicle motors in case of emergency.
As for implementation: ROS joy
node publishes joystick messages which are processed by our px4_controller
. The commands from the joystick are fused with our control commands, with joystick always takes precedence over DNN commands so you can override/correct DNN behavior if needed. The controller then publishes resulting command (pose) via MAVROS.
Refer to px4_controller
code for more information.
There is a minor inconvenience in such setup as you need at least 2 people: one with transmitter and another with joystick. We found that such setup provides sufficient level of safety during our experiments.
from redtail.
Hi Alexey,
Thanks for the quick response.
It looks joy stick is a auxiliary device once DNN control the attitude is not expected.
so, my understanding is it's pixhawk its own design logical, if enter offboard mode, it cannot
accept roll/pitch/yaw/ pwm from transmitter to correct/override DNN behavior. That need user purchase one more device.
from redtail.
That's correct - once the offboard mode enabled, Pixhawk will ignore movement commands from the transmitter. However, Kill switch as well as Offboard switch will always work regardless of offboard mode. This provides a good safety mechanism: the person with transmitter can always take control back by turning off Offboard mode or using Kill switch if needed. You can probably change the controller code to listen to commands from the transmitter (RC channels) but we haven't explored this.
from redtail.
Thanks, Alexey. I will close this topic.
from redtail.
Related Issues (20)
- camera image not received for gscam kind camera in trailnet_debug_gscam.launch/trailnet_debug_zed_gscam.launch
- stereoDNN resnet18 test fails HOT 2
- gscam problem with no video shown, even not shown in rqt-image window, not even gst-launch on host machine HOT 1
- tx2 onboard connection with px4 flushed by apm not connected even with mavros HOT 11
- gscam donot stream on nano,but do stream on tx2
- lateral offset dataset
- Failed with error code 1 in /tmp/pip-build-U_9LbZ/numpy/
- Extended Redtail implementation for Arducopter HOT 7
- Training Resnet18_2D
- Error Loading TensorRT plan for ResNet-18_2D HOT 1
- Testing in Simulator
- Regarding tensorRT of TrailNet_SResNet-18 HOT 1
- Takeoff Mode Initiated Mid-air when starting px4_controller node in Navigate Mode HOT 2
- Unable to complete build_redtail_image.sh script HOT 3
- clarification on difference between visionworks and redtail? HOT 1
- Dataset used for training HOT 2
- The segmentation effect in your video HOT 1
- Jetpack 4.4 caffe_ros node Assertion failed HOT 3
- 2.4 GHz range cut due to Jetson RF noise HOT 6
- Could not find a configuration file for package "OpenCV"
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 redtail.