repo_name
stringlengths
6
97
path
stringlengths
3
341
text
stringlengths
8
1.02M
stvnrhodes/CNCAirbrush
mbed/StepperMotors/LinearMotion.h
<filename>mbed/StepperMotors/LinearMotion.h /* mbed Stepper Library * Copyright (c) 2012 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including with...
vitorgt/OpenMP-tests
hello.c
<filename>hello.c #include<stdio.h> #include<omp.h> int main(){ #pragma omp parallel { printf("Hello, World from thread #%0X.\n", omp_get_thread_num()); } return 0; }
vitorgt/OpenMP-tests
sum.c
#include<stdio.h> #include<omp.h> int main(int argc, char *argv[]){ int nThreads = 4; omp_set_num_threads(nThreads); int n = 0; scanf("%d", &n); double sum1 = 0, sum2 = 0, sum3 = 0, sum4 = 0; double sum1P[nThreads]; double sum2P[nThreads]; for(int i = 0; i < nThreads+1; i++) sum1P[i] = sum2P[i] = 0; /* ...
vitorgt/OpenMP-tests
pi.c
#include<stdio.h> #include<omp.h> int main(int argc, char *argv[]){ int nThreads = 4; omp_set_num_threads(nThreads); unsigned long long n = 100000000; //scanf("%ld", &n); double sum = 0, step = 1.0/((double)n); /* * FOR * schedule(type, [chunk]) * shared(list) * private(list) * firstprivate(list) ...
vitorgt/OpenMP-tests
nest.c
<gh_stars>0 #include<stdio.h> #include<omp.h> // DOESN'T WORK!! int main(int argc, char *argv[]){ int nThreads = 4; omp_set_num_threads(nThreads); omp_set_nested(1); int n = 0; scanf("%d", &n); #pragma omp parallel { #pragma omp for for(int i = 0; i < n; i++){ #pragma omp for for(int j = 0; j < n;...
QuantumExplorer/dashsync-iOS
DashSync/shared/Models/Identity/DSBlockchainIdentity+Protected.h
// // Created by <NAME> // Copyright © 2020 Dash Core Group. All rights reserved. // // Licensed under the MIT License (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://opensource.org/licenses/MIT // // Unless required by...
QuantumExplorer/dashsync-iOS
DashSync/shared/Models/Identity/DSBlockchainIdentity.h
<gh_stars>10-100 // // DSBlockchainIdentity.h // DashSync // // Created by <NAME> on 7/26/18. // #import "BigIntTypes.h" #import "DSDAPIClient.h" #import "DSDerivationPath.h" #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @class DSWallet, DSBlockchainIdentityRegistrationTransition, DSBlockchainIdentityT...
QuantumExplorer/dashsync-iOS
DashSync/shared/Models/DAPI/Networking/DSDAPICoreNetworkServiceProtocol.h
// // Created by <NAME> // Copyright © 2021 Dash Core Group. All rights reserved. // // Licensed under the MIT License (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://opensource.org/licenses/MIT // // Unless required by...
QuantumExplorer/dashsync-iOS
DashSync/shared/Models/Chain/DSChain.h
// // DSChain.h // DashSync // // Created by Quantum Explorer on 05/05/18. // Copyright (c) 2018 Quantum Explorer <<EMAIL>> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software withou...
QuantumExplorer/dashsync-iOS
DashSync/shared/Models/Wallet/DSWallet.h
// // DSWallet.h // DashSync // // Created by <NAME> on 5/20/18. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // t...
QuantumExplorer/dashsync-iOS
DashSync/shared/Models/Identity/DSBlockchainInvitation.h
<reponame>QuantumExplorer/dashsync-iOS<gh_stars>10-100 // // Created by <NAME> // Copyright © 2564 Dash Core Group. All rights reserved. // // Licensed under the MIT License (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https:...
QuantumExplorer/dashsync-iOS
DashSync/shared/Models/Masternode/DSMasternodeList.h
<reponame>QuantumExplorer/dashsync-iOS // // DSMasternodeList.h // DashSync // // Created by <NAME> on 5/20/19. // #import "BigIntTypes.h" #import "DSQuorumEntry.h" #import <Foundation/Foundation.h> #define MASTERNODE_LIST_ADDED_NODES @"MASTERNODE_LIST_ADDED_NODES" #define MASTERNODE_LIST_ADDED_VALIDITY @"MASTERNO...
BoatData/pi_config
sources/imgkap.c
<reponame>BoatData/pi_config<gh_stars>1-10 /* * This source is free writen by M'dJ at 17/05/2011 * Use open source FreeImage and gnu gcc * Thank to freeimage, libsb and opencpn * * imgkap.c - Convert kap a file from/to a image file and kml to kap * modified by nohal 2011-0812 - changed the format of CED/ED to ...
mrmotta/progetto-asd-2020-2021
graphranker.c
<reponame>mrmotta/progetto-asd-2020-2021<filename>graphranker.c // +---------------------------------------+ // | | // | Progetto realizzato da <NAME> | // | | // +---------------------------------------+ #include <stdio.h> #include <stdlib.h>...
rkrajnc/hdr-plus
src/finish.h
#ifndef HDRPLUS_FINISH_H_ #define HDRPLUS_FINISH_H_ #include "Halide.h" struct WhiteBalance { float r; float g0; float g1; float b; }; typedef uint16_t BlackPoint; typedef uint16_t WhitePoint; typedef float Compression; typedef float Gain; /* * finish -- Applies a series of standard local a...
rkrajnc/hdr-plus
src/align.h
#ifndef HDRPLUS_ALIGN_H_ #define HDRPLUS_ALIGN_H_ #define T_SIZE 32 // Size of a tile in the bayer mosaiced image #define T_SIZE_2 16 // Half of T_SIZE and the size of a tile throughout the alignment pyramid #define MIN_OFFSET -168 // Min total alignment (based on three levels and downsamp...
kildevaeld/restler
Example/Pods/Target Support Files/Pods-Restler_Tests/Pods-Restler_Tests-umbrella.h
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_Restler_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_Restler_TestsVersionString[];
kildevaeld/restler
Example/Pods/Target Support Files/Restler/Restler-umbrella.h
<gh_stars>0 #import <UIKit/UIKit.h> FOUNDATION_EXPORT double RestlerVersionNumber; FOUNDATION_EXPORT const unsigned char RestlerVersionString[];
kildevaeld/restler
Example/Pods/Target Support Files/Pods-Restler_Example/Pods-Restler_Example-umbrella.h
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_Restler_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_Restler_ExampleVersionString[];
kildevaeld/restler
Example/Pods/Target Support Files/Promissum/Promissum-umbrella.h
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double PromissumVersionNumber; FOUNDATION_EXPORT const unsigned char PromissumVersionString[];
rontian/xLua
build/pbc/src/map.h
#ifndef PROTOBUF_C_MAP_H #define PROTOBUF_C_MAP_H #include "alloc.h" struct map_ip; struct map_si; struct map_sp; struct map_kv { int id; void *pointer; }; struct map_si * _pbcM_si_new(struct map_kv * table, int size); int _pbcM_si_query(struct map_si *map, const char *key, int *result); void _pbcM_si_delete(stru...
rontian/xLua
build/luasocket/luasocket_scripts.h
/* luasocket_scripts.h.h */ #ifndef __LUA_MODULES_606BA1C00D116CA81B695C141D124DB7_H_ #define __LUA_MODULES_606BA1C00D116CA81B695C141D124DB7_H_ #if __cplusplus extern "C" { #endif #include "lua.h" void luaopen_luasocket_scripts(lua_State* L); /* int luaopen_lua_m_ltn12(lua_State* L); int luaopen_l...
rontian/xLua
build/pbc/test/readfile.h
<filename>build/pbc/test/readfile.h #ifndef readfile_h #define readfile_h #include <stdio.h> #include <stdlib.h> static void read_file (const char *filename , struct pbc_slice *slice) { FILE *f = fopen(filename, "rb"); if (f == NULL) { slice->buffer = NULL; slice->len = 0; return; } fseek(f,0,SEEK_END); sl...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArMapObject.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This pro...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArSimulatedLaser.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArLCDConnector.h
<filename>Aria/ArLCDConnector.h /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software;...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ariaUtil.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArRobotTypes.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionDriveDistance.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionLimiterRot.h
<filename>Aria/ArActionLimiterRot.h<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArBumpers.h
<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribut...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArPTZ.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArTaskState.h
<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribut...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArSimpleConnector.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Path/pathNode.h
<filename>Path/pathNode.h<gh_stars>0 /** * @file pathNode.h * @Author <NAME> (<EMAIL>) * @date December 30th, 2020 * @brief PathNode struct declaration * * * This file declares the PathNode declaration and all it's necessary * pointers */ #ifndef _PATHNODE_ #define _PATHNODE_ #include <iostream> #include "../Position/...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionMovementParameters.h
<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribut...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArNMEAParser.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This pro...
Muhammedsuwaneh/Mobile_Robot_Control_System
Path/Path.h
/** * @file Path.h * @Author <NAME> (<EMAIL>) * @date December 30th, 2020 * @brief Path class declaration * * * This file declares the Path class and all it's necessary functions */ #ifndef _PATH_ #define _PATH_ #include <iostream> #include "pathNode.h" #include "../Position/Pose.h" using namespace std; class Path {...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/wrapper_Functors.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArDeviceConnection.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This pro...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionConstantVelocity.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArLMS1XX.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArResolver.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This pro...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionColorFollow.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArPTZConnector.h
<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribut...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArLineFinder.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArStringInfoGroup.h
<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribut...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionGotoStraight.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This pro...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArMapComponents.h
<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribut...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArSensorReading.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Sensors/RangeSensor.h
/** * @file RangeSensor.h * @Author <NAME> * @date January, 2021 * @brief RangeSensor Declaration * * * This file includes the RangeSensor class declaration and whole it's necessary functions */ #ifndef RANGE_SENSOR_H #define RANGE_SENSOR_H #include "../API/PioneerRobotAPI.h" class RangeSensor { public: RangeSensor(...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArFunctor.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionIRs.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArLMS2xx.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArSyncTask.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArIrrfDevice.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArNetServer.h
<filename>Aria/ArNetServer.h /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; yo...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionDeceleratingLimiter.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionKeydrive.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArBatteryMTX.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArActionBumpers.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArFileDeviceConnection.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArRobotPacket.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
Muhammedsuwaneh/Mobile_Robot_Control_System
API/PioneerRobotInterface.h
/** * @file PioneerRobotInterface.h * @Author <NAME> (<EMAIL>) * @date last January, 24th, 2021 * @brief PioneerRobotInterface class declaration * * * This file defines the MainMenu's necessary functions */ #ifndef _PIONEERROBOTINTERFACE_ #define _PIONEERROBOTINTERFACE_ #include "PioneerRobotAPI.h" #include "RobotInte...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArDPPTU.h
<reponame>Muhammedsuwaneh/Mobile_Robot_Control_System /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This pro...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArASyncTask.h
<filename>Aria/ArASyncTask.h /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; yo...
Muhammedsuwaneh/Mobile_Robot_Control_System
Position/Pose.h
<gh_stars>0 /** * @file Pose.h * @Author <NAME> * @date December, 2020 * @brief This class is responsible for holding location info and management of the robot. */ #ifndef POSE_H #define POSE_H class Pose { public: Pose() { x = 0; y = 0; th = 0; } Pose(float, float, float); float getX(); void setX(float); fl...
Muhammedsuwaneh/Mobile_Robot_Control_System
Console Menu/mainMenu.h
/** * @file mainMenu.h * @Author <NAME> (<EMAIL>) * @date last updated January 24th, 2021 * @brief Path class declaration * * * This file declares the MainMenu class and all it's necessary functions */ #ifndef _MAINMENU_ #define _MAINMENU_ #include <iostream> #include "../API/PioneerRobotAPI.h" #include "../Controls/Ro...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArJoyHandler.h
<gh_stars>0 /* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribut...
Muhammedsuwaneh/Mobile_Robot_Control_System
Aria/ArExitErrorSource.h
/* Adept MobileRobots Robotics Interface for Applications (ARIA) Copyright (C) 2004-2005 ActivMedia Robotics LLC Copyright (C) 2006-2010 MobileRobots Inc. Copyright (C) 2011-2015 Adept Technology, Inc. Copyright (C) 2016 Omron Adept Technologies, Inc. This program is free software; you can redistribute it and/or ...
trixbrix/All-In-One_Controller_2.0
lib/Trixbrix/Trixbrix/Defines.h
#ifndef TRIXBRIX_DEFINES_H #define TRIXBRIX_DEFINES_H //////////////////////////////////////// PINS //////////////////////////////////////// #define LED_PCB1 10 //PB2 PCINT2 SS OC1B #define LED_PCB2 7 //PD7 PCINT23 AIN1 #define LED_SIGNAL1 14 //PC0 PCINT8 ADC0 #define LED_SIGNAL2 15 //PC1 PCINT9 ADC1 #de...
trixbrix/All-In-One_Controller_2.0
lib/Trixbrix/Trixbrix/Globals.h
#ifndef TRIXBRIX_GLOBALS_H #define TRIXBRIX_GLOBALS_H #include "Trixbrix/Types.h" extern volatile enum boom_barrier_position actualBoomBarrierPosition; extern char activePcbLed; extern char activeSignalLed; extern enum mode distanceSensorMode; extern char ledChangeMode; extern volatile char buttonPressedOrD...
trixbrix/All-In-One_Controller_2.0
lib/Trixbrix/Trixbrix/ServoLedControl.h
#ifndef TRIXBRIX_SERVOLEDCONTROL_H #define TRIXBRIX_SERVOLEDCONTROL_H #include "Trixbrix/Trixbrix.h" void bothLedBlink(char blinks); void signalLedChange(int changeMode); void moveServo(enum servos servo, unsigned int angle, unsigned int timesOfRepeat); void slowMoveServo(enum servos servo, int startPosition,...
trixbrix/All-In-One_Controller_2.0
lib/Trixbrix/Trixbrix/TimersAndInterruptsHandle.h
#ifndef TRIXBRIX_TIMERS_AND_INTERRUPTS_HANDLE #define TRIXBRIX_TIMERS_AND_INTERRUPTS_HANDLE #include "Trixbrix/Trixbrix.h" void timerLedBlinkInit(void); void timerLedBlinkDeinit(void); void timerCooldownInit(int timerInput); void timerCooldownDeinit(void); void slopeDetDistSens1Init(enum edge_detection risin...
trixbrix/All-In-One_Controller_2.0
lib/Trixbrix/Trixbrix/Trixbrix.h
<reponame>trixbrix/All-In-One_Controller_2.0 #ifndef TRiXBRIX_TRIXBRIX_H #define TRiXBRIX_TRIXBRIX_H #include <Arduino.h> #include <avr/io.h> #include <avr/interrupt.h> #include "Trixbrix/Defines.h" #include "Trixbrix/Globals.h" #include "Trixbrix/Types.h" #include "Trixbrix/ServoLedControl.h" #include "Trix...
trixbrix/All-In-One_Controller_2.0
lib/Trixbrix/Trixbrix/Types.h
<gh_stars>1-10 #ifndef TRIXBRIX_TYPES_H #define TRIXBRIX_TYPES_H enum edge_detection {rising, falling}; //rising or falling enum train_detected {not_detected, detected}; //not detected or detected enum mode {switch_mode, boom_barrier_mode}; //switch mode or boom barriers mode(1 blik - switch_mode, 2 bliks - boom_...
keystone-enclave/FreeRTOS-Kernel
main/include/msg_test.h
<filename>main/include/msg_test.h #ifndef MSG_CONF_H #define MSG_CONF_H #define DATA_SIZE 512 #endif
keystone-enclave/FreeRTOS-Kernel
main/include/rl_config.h
#ifndef _RL_CONFIG_H /* *** Configurations *** */ /* Enables all tasks to be switched via the SM*/ /* All tasks must be registered by the SM */ // #define TASK_REGISTER_ALL /* Enclave Agent <-> Enclave Driver*/ // #define EA_ED_RL /* Task Agent <-> Task Driver*/ // #define TA_TD_RL /* Enclave Agent <-> Task Driv...
keystone-enclave/FreeRTOS-Kernel
sdk/agent/agent.c
<reponame>keystone-enclave/FreeRTOS-Kernel #include <stdint.h> #include <timex.h> #include "enclave_rl.h" #include "printf.h" #include "eapp_utils.h" #define RAND_MAX 2147483647 static unsigned long my_rand_state = 1; long rand() { my_rand_state = (my_rand_state * 1103515245 + 12345) % 2147483648; return ...
keystone-enclave/FreeRTOS-Kernel
sdk/rv8/norx/norx.c
/* * cifra - embedded cryptography library * Written in 2014 by <NAME> <<EMAIL>> * * To the extent possible under law, the author(s) have dedicated all * copyright and related and neighboring rights to this software to the * public domain worldwide. This software is distributed without any * warranty. * * You ...
keystone-enclave/FreeRTOS-Kernel
main/include/commands.h
<gh_stars>1-10 void vRegisterCLICommands( void );
keystone-enclave/FreeRTOS-Kernel
lib/utils/FreeRTOS-Plus-CLI/include/console.h
void vCommandConsoleTask( void *pvParameters );
keystone-enclave/FreeRTOS-Kernel
lib/rtos/src/enclave.c
/* Standard includes. */ #include <stdlib.h> #include <string.h> /* FreeRTOS includes. */ #include "FreeRTOS.h" #include "task.h" #include "timers.h" #include "stack_macros.h" #include "regs.h" #include "syscall.h" #include "elf.h" uintptr_t xTaskCreateEnclave(uintptr_t start, uintptr_t size, ...
keystone-enclave/FreeRTOS-Kernel
lib/rtos/include/timex.h
#ifndef _TIME_X_ #define _TIME_X_ typedef unsigned long cycles_t; static inline cycles_t get_cycles_inline(void) { cycles_t n; __asm__ __volatile__ ( "rdcycle %0" : "=r" (n)); return n; } #define get_cycles get_cycles_inline static inline uint64_t get_cycles64(void) { return get_cycles(); } #define A...
keystone-enclave/FreeRTOS-Kernel
sdk/lib/include/malloc.h
<filename>sdk/lib/include/malloc.h #ifndef __MALLOC_H__ #define __MALLOC_H__ #include <stddef.h> void* malloc(size_t); void free(void*); void* realloc(void*, size_t); void* memalign(size_t, size_t); void* valloc(size_t); void* pvalloc(size_t); void* calloc(size_t, size_t); void cfree(void*); int malloc_trim(size_t); ...
keystone-enclave/FreeRTOS-Kernel
lib/rtos/src/syscall.c
#include "FreeRTOS.h" #include "task.h" #include "csr.h" #include "syscall.h" #include "timex.h" #include "regs.h" #include "printf.h" #include "portmacro.h" extern void vTaskSwitchContext( void ); extern void vTaskDeleteSelf(); int syscall_getchar() { return SBI_CALL_0(SBI_CONSOLE_GETCHAR); } uintptr_t syscal...
keystone-enclave/FreeRTOS-Kernel
lib/rtos/include/csr.h
/* * Copyright (C) 2015 Regents of the University of California * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it wi...
keystone-enclave/FreeRTOS-Kernel
sdk/lib/src/eapp_utils.c
<filename>sdk/lib/src/eapp_utils.c<gh_stars>1-10 #include "eapp_utils.h" void sbi_putchar(char character) { SBI_CALL_1(SBI_CONSOLE_PUTCHAR, character); } /* Yields the task back to the scheduler. MUST be called in a task context. */ void syscall_task_yield(){ SBI_CALL_2(SBI_SWITCH_TASK, 0, RET_YIELD); ...
keystone-enclave/FreeRTOS-Kernel
main/src/simulator_task.c
<filename>main/src/simulator_task.c<gh_stars>1-10 #include <FreeRTOS.h> #include <task.h> #include <printf.h> #include <csr.h> #include <sbi.h> #include <syscall.h> #include <enclave.h> #include <elf.h> #include <stdio.h> #include <string.h> #include <queue.h> #include <rl.h> #include "FreeRTOS_IO.h" #include "con...
keystone-enclave/FreeRTOS-Kernel
sdk/lib/include/enclave_rl.h
#ifndef _SIM_H #define _SIM_H #ifdef EIGHT #define Q_STATE_N 8 #else #define Q_STATE_N 4 #endif #define Q_STATE Q_STATE_N *Q_STATE_N #define N_ACTION 4 #define YIELD 0 #define NUM_EPISODES 1000 #define STEPS_PER_EP 1000 #define LEARN_RATE 0.5 #define DISCOUNT 0.95 #define TRUE 1 #define FALSE 0 #define E_GREED...
keystone-enclave/FreeRTOS-Kernel
main/src/main.c
<reponame>keystone-enclave/FreeRTOS-Kernel<gh_stars>1-10 #include <FreeRTOS.h> #include <task.h> #include <printf.h> #include <csr.h> #include <sbi.h> #include <syscall.h> #include <enclave.h> #include <elf.h> #include <stdio.h> #include <string.h> #include <queue.h> #include <rl.h> #include <rl_config.h> #include ...
keystone-enclave/FreeRTOS-Kernel
main/src/primes_task.c
<filename>main/src/primes_task.c #include <FreeRTOS.h> #include <task.h> #include <printf.h> #include <csr.h> #include <sbi.h> #include <syscall.h> #include <enclave.h> #include <elf.h> #include <stdio.h> #include <string.h> #include <queue.h> #include <rl.h> #include <rl_config.h> #include <timex.h> #define test...
keystone-enclave/FreeRTOS-Kernel
lib/utils/lib/src/string.c
<reponame>keystone-enclave/FreeRTOS-Kernel #include "string.h" /* TODO This is a temporary place to put libc functionality until we * decide on a lib to provide such functionality to the runtime */ #include <stdint.h> #include <ctype.h> void* memcpy(void* dest, const void* src, size_t len) { const char* s = src; ...
keystone-enclave/FreeRTOS-Kernel
lib/rtos/include/syscall.h
#ifndef __SYSCALL_H__ #define __SYSCALL_H__ #include "sbi.h" #include "regs.h" #include <stddef.h> #include <stdint.h> #define SBI_SHUTDOWN 8 #define SBI_ENABLE_INTERRUPT 200 #define SBI_SWITCH_TASK 201 #define SBI_REGISTER_TASK 202 #define RET_EXIT 0 #define RET_YIELD 1 #define RET_TIMER 2 #d...
keystone-enclave/FreeRTOS-Kernel
main/include/devices.h
void vRegisterIODevices( void );
keystone-enclave/FreeRTOS-Kernel
lib/utils/elf/include/elf.h
<filename>lib/utils/elf/include/elf.h /* @LICENSE(UNSW_OZPLB) */ /* * Australian Public Licence B (OZPLB) * * Version 1-0 * * Copyright (c) 1999-2004 University of New South Wales * * All rights reserved. * * Developed by: Operating Systems and Distributed Systems Group (DiSy) * University of N...
keystone-enclave/FreeRTOS-Kernel
lib/utils/FreeRTOS-Plus-CLI/src/console.c
<gh_stars>1-10 #include <stdint.h> #include <string.h> /* FreeRTOS includes. */ #include "FreeRTOS.h" #include "task.h" #include "FreeRTOS_IO.h" #include "FreeRTOS_CLI.h" #define MAX_INPUT_LENGTH 50 #define MAX_OUTPUT_LENGTH 100 static const char * const pcWelcomeMessage = "FreeRTOS command server.\nType Hel...
keystone-enclave/FreeRTOS-Kernel
lib/utils/lib/include/stdlib.h
int atol (const char *nptr);
keystone-enclave/FreeRTOS-Kernel
sdk/sender/sender.c
#include <stdint.h> #include <timex.h> #include "enclave_rl.h" #include "printf.h" #include "eapp_utils.h" #include "msg_test.h" char send_buf[DATA_SIZE]; char recv_buf[DATA_SIZE]; void EAPP_ENTRY eapp_entry(int RECEIVER_TID){ cycles_t st = get_cycles(); cycles_t et; sbi_send(RECEIVER_TID, send_buf, DA...
keystone-enclave/FreeRTOS-Kernel
lib/utils/FreeRTOS-Plus-CLI/include/CLI_functions.h
#include <stdlib.h> #include <stdint.h> #include "FreeRTOS.h" #include "FreeRTOS_CLI.h" #include "portmacro.h" #ifndef CLI_FUNCTIONS_H #define CLI_FUNCTIONS_H /* The structure that defines command line commands. A command line command should be defined by declaring a const structure of this type. */ typedef struct ...