Jump to content

hossamzayed

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by hossamzayed

  1. Hi Ian , I have read what you said. And as I said I'm not a pro developer. So I went to few friends that could help me out with the matter. Unfortunatly no one could get the idea of how to make pitch and roll included in the general exported info. If someone who understands could help me out by adjusting the Lua file and give just the line of code arduino to read these 2 data ( pitch and roll ) I would really really apreciate that. Btw kindly find a link that documents my project on X-Plane platform where I succeded in exporting same data and syncronizing 2 motors with them. I just want to migrate my project to DCS http://forums.x-plane.org/index.php?showtopic=88536&st=0&p=944535#entry944535
  2. Hi I'm trying to build a sim pit based on DCS , and I have read the DCS BIOS documentation , but couldn't quite understand how to get simple row data from DCS like pitch and roll. Below is a standard arduino DCS code. I just want to know what to write in the dotted space in front of the pitch and roll to get their values from DCS. Thank you #include <DcsBios.h> #include <Servo.h> DcsBios:: ProtocolParser parser; void setup() { Serial.begin(9600); } void loop() { // feed incoming data to the parser while (Serial.available()) { parser.processChar(Serial.read()); } double roll = ................... ; double pitch = ................... ; // poll inputs DcsBios:: PollingInput::pollInputs(); } void onDcsBiosWrite(unsigned int address, unsigned int value) { }
  3. Hi I'm trying to build a sim pit based on DCS , and I have read the DCS BIOS documentation , but couldn't quite understand how to get simple row data from DCS like pitch and roll. Below is a standard arduino DCS code. I just want to know what to write in the dotted space in front of the pitch and roll to get their values from DCS. Thank you #include <DcsBios.h> #include <Servo.h> DcsBios:: ProtocolParser parser; void setup() { Serial.begin(9600); } void loop() { // feed incoming data to the parser while (Serial.available()) { parser.processChar(Serial.read()); } double roll = ................... ; double pitch = ................... ; // poll inputs DcsBios:: PollingInput::pollInputs(); } void onDcsBiosWrite(unsigned int address, unsigned int value) { }
  4. Hi I'm trying to build a sim pit based on DCS , and I have read the DCS BIOS documentation , but couldn't quite understand how to get simple row data from DCS like pitch and roll. Below is a standard arduino DCS code. I just want to know what to write in the dotted space in front of the pitch and roll to get their values from DCS. Thank you #include <DcsBios.h> #include <Servo.h> DcsBios:: ProtocolParser parser; void setup() { Serial.begin(9600); } void loop() { // feed incoming data to the parser while (Serial.available()) { parser.processChar(Serial.read()); } double roll = ................... ; double pitch = ................... ; // poll inputs DcsBios:: PollingInput::pollInputs(); } void onDcsBiosWrite(unsigned int address, unsigned int value) { }
  5. Hi I'm trying to build a sim pit based on DCS , and I have read the DCS BIOS documentation , but couldn't quite understand how to get simple row data from DCS like pitch and roll. Below is a standard arduino DCS code. I just want to know what to write in the dotted space in front of the pitch and roll to get their values from DCS. Thank you #include <DcsBios.h> #include <Servo.h> DcsBios:: ProtocolParser parser; void setup() { Serial.begin(9600); } void loop() { // feed incoming data to the parser while (Serial.available()) { parser.processChar(Serial.read()); } double roll = ................... ; double pitch = ................... ; // poll inputs DcsBios:: PollingInput::pollInputs(); } void onDcsBiosWrite(unsigned int address, unsigned int value) { }
  6. I'm really interested in setting up DCS with Arduino , could you kindly refer me to resources on that matter. I'm working on a 360 2 DOF sim cockpit and managed to get it working fine with xplane and arduino . but DCS quite delivers what I want in a sim more than x-plane and would really appreciate getting info about how to get my sim cockpit to work with DCS. though am not a pro C++ developer still learning and would appreciate if there is already a working plugin of some sort for exporting DCS (plane pitch and roll dataref) directly to arduino via UDP like x-plane. and thanks again.
×
×
  • Create New...