![]() I've been following your discussion (If this should be a new topic please let me know) and I'm also experimenting with Arduino Mega, Win7 and Flightgear (Nightly 20202.1) and I've picked up on an error in the log not mentioned in the thread (as far as I can tell). I'm not familiar with the arduino uno specifically, but if it doesn't support multiple uarts, then there are other boards (like the mega) that have this capability and wouldn't cost much more. FlightGear should have no problem supporting different messages, different rates, or a different IO direction on separate serial ports. That's extra cabling I realize, but then you can have FlightGear send messages to the arduino via one port, and receive messages back via another port. ![]() One idea for your ardiuno project is to use 2 serial ports. The beaglebone sends back actuator commands. I have a uav flight controller that I can connect directly to flightgear via ethernet (in my case I run the uav flight controller code on a beaglebone, ) FlightGear sends gps, imu, airdata, and pilot inputs to the beaglebone. That sets up a situation where FlightGear and the arduino are fighting over the same variables. Also it looks like you are sending and receiving the same packet definition. I think you'd be ok if the arduino simply received data from FlightGear. It has been a very long time since I've used the serial port communication feature of flightgear, but if I recall, it did not support bi-directional communication. instrumentation/magnetic-compass/indicated-heading-deg generic=socket,in,5,55005,udp,device_status_controltest If you have a Ethernetshield for your Adroino you can use udp. Ludomotico Posts: 1269 Joined: Tue 2:01 pm Version: nightly OS: Windows 10 This is perfectly doable using nasal, but in my opinion is much more difficult than using a dedicated driver. For example, you can smooth the input, reject spurious inputs or manage several input modes (such as a switch COM1/COM2 in your panel and a single knob to select the frequency you are really setting) You can configure the communication much easier using the python script than if you connect directly the arduino to flighgear. In this case, the Python script acts as a driver and it can be as smart as you want it to be. My "solution" was the arduino does not connect directly to flightgear using a serial port, but you use a proxy (in my case, python), and this proxy connects to FlightGear using UDP (from Flightgear to the external word) or telnet (from the external word to Flightgear)Ĭode: Select all Arduino Python script -telnet-> FlightGear Also, I was never able to make the input section of a protocol file to work. Monitor 8 different scenes and easily cue or transition to any of them with merely a single or double click.If I recall correctly, I faced the same problem in the communication between an arduino and flightgear. Get a high level view of your production using the Multiview.Adjust your scenes and sources or create new ones and ensure they're perfect before your viewers ever see them. Studio Mode lets you preview your scenes and sources before pushing them live.Set hotkeys for nearly every sort of action, such as switching between scenes, starting/stopping streams or recordings, muting audio sources, push to talk, and more. ![]() Choose from a number of different and customizable transitions for when you switch between your scenes or add your own stinger video files.You can even pop out each individual Dock to its own window. Modular 'Dock' UI allows you to rearrange the layout exactly as you like.Streamlined Settings panel gives you access to a wide array of configuration options to tweak every aspect of your broadcast or recording.Add new Sources, duplicate existing ones, and adjust their properties effortlessly. Powerful and easy to use configuration options.Take full control with VST plugin support. Intuitive audio mixer with per-source filters such as noise gate, noise suppression, and gain.Set up an unlimited number of scenes you can switch between seamlessly via custom transitions.Create scenes made up of multiple sources including window captures, images, text, browser windows, webcams, capture cards and more. High performance real time video/audio capturing and mixing.Free and open source software for video capturing, recording, and live streaming.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |