Comments (5)
For running Icarous on a drone platform, assuming you want to send telemetry to the ground station over a radio (using the serial port) there are couple of things that must be done:
-
You don't have to use the -DSITL=ON flag for compilation. This is only required for connecting to the SITL simulator.
-
Specify the serial port parameters in the #else section in the intf_tbl.c file of the ardupilot app.
-
(2.1) The autopilot interface is defined by apPortType and ap address. These should define the serial port on which your hardware device running icarous connects to the ardupilot (pixhawk hardware). This depends on the actual hardware you are using and you will have to figure this out. For examples, on devices such as beagle bones (https://beagleboard.org/bone), these are /dev/ttyS0, /dev/ttyS1 etc... For Nvidia Jetsons (https://developer.nvidia.com/embedded/buy/jetson-tx2), they are /dev/ttyTHS0, /dev/ttyTHS1,....
-
(2.2) You'll specify the serial port parameters for telemetry radio in gsPortType and gs address. Usually, if you are using a USB radio, this would be /dev/ttyUSB0,/dev/ttyUSB1,... If you are not using a USB radio, it will be similar to the serial port names specified previously (in 2.1)
#else
ArdupilotTable_t TblStruct = {
SERIAL, // apPortType
57600, // baudrate
0, // apPortin
0, // apPortout
"/dev/ttyACM0", // ap address
SERIAL, // gsPortType
57600, // baudrate
0, // gsPortin
0, // gsPortout
"/dev/ttyUSB0" // gs address
};
#endif
- For you ground station, it seems like you are using the runGS.sh script. This script was defined only to connect to the SITL. You can launch mavproxy directly as follows:
mavproxy.py --master=/dev/ttyUSBX,brate
where "/dev/ttyUSBX" should be replaced with the name of the port on which the telemetry radio is connected on your ground station computer and the "brate" specifies the baudrate at which you are sending data. This baudrate should also be equal to the baudrate you specify on the drone in the previous section (2.2).
Hope this helps.
from icarous.
@FabianSchuessler Did you run ICAROUS on another board, like raspberry or beaglebones? Thanks
from icarous.
@aogrcs Yes, it is running on Raspberry.
from icarous.
@FabianSchuessler I see that you use Erle Copter, and do you run ICAROUS and ArduCopter both on Raspberry?
Nice work! Thanks
from icarous.
@aogrcs yes, both are running on the Raspberry
from icarous.
Related Issues (20)
- make error cannot find -lwrap HOT 5
- racecondition in posix platform
- question about interacting with ICAROUS HOT 16
- How to fix -lwrap error? /usr/bin/x86_64-linux-gnu-ld: cannot find -lwrap HOT 6
- Question about interacting with ICAROUS HOT 6
- problems with ./runGS.sh HOT 1
- Issue executing ./core-cpu1 -I 0 -C 1 with a Windows Subsystem for Linux HOT 2
- How to use geofence. HOT 5
- Using Mission Planner as a GS with ICAROUS HOT 2
- Traffic resolution: Pure DAIDALUS stops the drone. HOT 23
- GPS-Denied??? HOT 2
- ICAROUS build issues HOT 2
- [
- execution issue HOT 2
- issues about running core-cpu1 HOT 9
- Build error - multiple definitions of appdata.Intgs HOT 8
- traffic data not recorded in json file HOT 5
- Issues running the examples (Geofence, flight plans) HOT 23
- Apparent bug/typo in dds_interface.c
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 icarous.