Summary: 142 instances, 126 unique Text Count // TODO: Figure out a better way to add more fields 1 //TODO: because this bug we are using alternative code with stringstream 1 //TODO: handle -ve altitude better (shouldn't grow indefinitely!) 1 // TODO: Is it incorrect to assume LidarSimple here? 1 // TODO: enable reading of these params from AirSim settings 1 // TODO: Validate framerate of sensor data when the NoDisplay setting is turned on. 1 //TODO: put in common place? 1 // TODO think more about how best to determine/indicate ground level, if anyone cares 1 //TODO: use same formula as in driver code? 1 //TODO: optimize below 1 //TODO: refactor below code used for playback 1 wrench.torque = normal * output_.torque_scaler * air_density_ratio_; //TODO: try using filtered control here 1 // TODO: VehicleApiBase implementation 1 //TODO: Tick is not working 1 //TODO: below we are using double instead of RealT because of VC++2017 bug in random implementation 1 //TODO: may be we should have these methods non-const? 1 //TODO: this method can't be const yet because it clears previous messages 1 //TODO: how do we get angular acceleration? 1 // TODO: Add noise in orientation? 1 //TODO: bugbug: really need a downward pointing distance to ground sensor to do this properly, for now 1 //TODO: better handling of landed & takenoff states 1 // TODO: Optimization -- instead of doing this for every point, it should be possible to do this 1 //TODO: better handle no FPV vehicles scenario 1 //TODO: explore screenshot option 1 //TODO: this is now being done in PawnSimApi::update. We need to re-think this sequence 1 //TODO: HACK!! below are added temporariliy because something is defining min, max macros 1 //TODO: move this to SimModeBase? 1 //TODO: add WaitForCompletion command 1 //TODO: implement arming for car 1 //TODO: update other fields? 1 api_server_->start(false, vehicle_sim_apis_.size() + 4); //TODO: set thread for vehicle count 1 77, //sensor id, //TODO: should this be something real? 1 //TODO: can we eliminate storing NedTransform? 1 //TODO: replace with std::clamp after moving to C++17 3 // TODO consider whether we want to make us of the 'connection_info_.model' field (perhaps to indicate different sensor configs, say? not sure...) 1 //TODO: set below to false? 1 //TODO: below was made protected from private to support Ardupilot 1 //TODO: do we need this for cars? 2 //TODO: use covariance parameter? 1 //TODO: use growing window here 1 // TODO: Do we need an intensity place-holder [x,y,z, intensity]? 1 //TODO: below should be lower than 1E3 and configurable 1 //TODO: limit scope of below statements required to suppress VC++ warnings 2 #TODO : below str() conversion is only needed for legacy reason and should be removed in future 3 //TODO: this won't work if simple_flight and PX4 is combined together! 1 //TODO: implement this 1 0, //sensor type: //TODO: allow changing in settings? 1 ## TODO: we are not using Boost any more so below shouldn't be needed 1 //TODO: add erase methods 1 //TODO: get these in one call 1 ## TODO: probably should set x64 explicitly 1 //TODO: set below properly for better high speed safety 1 //TODO: above returns wrong altitude if down was positive. This is because sqrt return value would be -ve 1 //TODO: reduce code duplication in getPosition() etc methods? 1 // TODO: Temporary constructor for the Unity implementation which does not use the new Sensor Configuration Settings implementation. 1 //TODO: because this bug we are using alternative code with stringstream 1 //TODO: is it good idea to keep the last mode? 1 //TODO: implement better rolling friction 1 //TODO: should we use UAirBlueprintLib::GetDisplayGamma()? 1 //TODO: implement this for linux 2 //TODO: something defines max macro which interfears with code here 1 // TODO: Seems like pose is in vehicle inertial-frame (NOT in Global NED frame). 1 //TODO: use nan instead 0? 1 public: //TODO:MultirotorApiBase implementation 1 //TODO: this code should be reused in OffboardApi 1 printf("TODO: for SITL to work, mavlinktest needs to simulate HIL_SENSOR messages...\n"); 1 gps_point.altitude, //TODO: gps_point.height, gps_point.health, 1 //TODO: cleanup GPS structures that are not needed 1 //TODO: there is a crash in Linux due to settings_json.saveJSonString(). Remove this workaround after we only support Unreal 4.17 1 //TODO: avoid passing hadcoded HIL flag 1 //TODO: perhaps we should be using supplied reporter? 1 //TODO: this is going to cause circular references which is fine here but 1 connection_->ignoreMessage(mavlinkcom::MavLinkAttPosMocap::kMessageId); //TODO: find better way to communicate debug pose instead of using fake Mo-cap messages 1 //TODO: avoid recalculating square roots 1 //TODO: anyway to workaround const_cast? 1 //TODO: should we be ignoring position and orientation settings here? 1 // TODO: we should be selecting remote if available else keyboard 1 // TODO: How to handle POSIX thread priorities on OSX? 1 //for use in physics engine: //TODO: use getter/setter or friend method? 1 //TODO: add GPS health, accuracy in API 1 //TODO: enable temperature? diff_pressure 1 //TODO: this code should be reused in OffboardApi 1 //TODO: need better line end handling 1 //TODO: do we still need this method? 2 //TODO: investigate below alternatives 1 // FIXME: The windows api docs are not very clear about read timeouts, 1 //TODO: below we should have float instead of double but VC++2017 has a bug :( 1 //TODO: make this function thread safe by using atomic types 1 //TODO: Do we need this check anymore? Maybe reset() should be idempotent. 1 //TODO: we should be selecting remote if available else keyboard 1 //TODO: check FPlatformProcess::SupportsMultithreading()? 1 //TODO: directly accept getVehicleSimApis() using generic container 1 //TODO: is below really needed? 1 //TODO: we need to protect contention between physics thread and API server thread 1 //TODO: below exist only due to legacy reason and can be replaced by "" in future 1 ground_margin_ = FVector(0, 0, 20); //TODO: can we explain params_.pawn experimental setting? 7 seems to be minimum 1 //TODO: decouple MultirotorApiBase, VehicalParams and SafetyEval 1 //TODO: below exception doesn't actually get raised right now because of issue in Unreal Engine? 1 //TODO: this method used to send collision to external sim. Do we still need this? 1 // TODO: reference additional headers your program requires here 1 //TODO: Use GCC and Clang version from https://github.com/scottt/debugbreak 2 //TODO: make this configurable? 1 //TODO: should we worry about spurious failures in try_lock? 1 // TODO:VehicleApiBase implementation 1 //TODO: implement weather for Unity 2 // TODO: reference any additional headers you need in STDAFX.H 1 //TODO: minimize use of exp 1 //TODO: should we only do below on SceneCapture2D components and cameras? 1 //TODO: avoid the need to override const cast here 1 //TODO: change naming conventions to same as other files? 1 //TODO: probably we shouldn't be passing around fixed period 1 distance_output.relative_pose.orientation); //TODO: convert from radians to degrees? 1 std::ofstream f(path); // TODO: need 'std::ios::binary'? 1 //TODO: below doesn't work right now because it must be running in game thread 1 //TODO: HACK: UE4 defines macro with stupid names like "check" that conflicts with msgpack library 6 //TODO: add command line args help, arg count validation 1 //TODO: should do reset() here? 2 //TODO: update sigma based on documentation, maybe as a function increasing with measured distance 1 // TODO: it would be better if we did this based on the material we are landing on. 1 // Minor TODO: consider msgpack magic for GeoPoint, so we can have one arg instead of three 1 //TODO: we should be selecting remote if available else keyboard 1 #include "ClockFactory.hpp" //TODO: move this out of common_utils 1 //TODO: should below be at controller level info? 1 // And this is what works currently - TODO sort out why ArduPilot isn't providing sufficient rotor power for default Solo weight - presumably some param setting? 1 // TODO: ros::TransportHints().tcpNoDelay(); 1 //TODO: shouldn't we pass folder path? 1