Commit Graph

1061 Commits

Author SHA1 Message Date
sergi-e b926304b4c First iteration 2020-09-24 13:31:39 +02:00
sergi-e 6b1298111b New iteration with units and fixes 2020-09-24 12:39:02 +02:00
sergi-e b79461f0c4 New iteration with parameters, commands and fixes on DS comments 2020-09-24 12:39:02 +02:00
sergi-e 402731cefa Fixes on commands 2020-09-24 12:39:02 +02:00
sergi-e d324f3a28b First iteration 2020-09-24 12:39:02 +02:00
sergi-e 8e52da614c Impulse fixed to N*s 2020-09-24 11:14:59 +02:00
sergi-e 2613604bc1 New iteration on O and B reviews 2020-09-24 11:14:59 +02:00
sergi-e c9e8c09b41 New fixes on M and D comments 2020-09-24 11:14:59 +02:00
sergi-e d50cb35a9f Fixed typos on normal impulse and accelerometer. Fixed angular impulse from N*m*s to degrees for carla.Actor and command.ApplyAngularImpulse() 2020-09-24 11:14:59 +02:00
sergi-e 638b43e974 Added some specific notes on rotations 2020-09-24 11:14:59 +02:00
sergi-e 935644d877 First iteration with units 2020-09-24 11:14:59 +02:00
Jacopo Bartiromo e7ff12fa78 Changes default behavior for OSM parameter in TM 2020-09-23 20:43:30 +02:00
Daniel Santos-Olivan b0090775a1 Fix format tabs/newlines 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 8bc91527a7 VehiclePhysics: Small bug fixed 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan ffabf4cf3e Added ApplyForce and ApplyTorque 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan c1f88565d5 Improving the script 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan e93dae859a Change parameters name to be more descrive. 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 11f5a749f4 Removed commented features from PythonAPI 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 14fa890aa9 Added some clarificacion to the example script 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan befe694950 Commented ImpulseLoc/ForceLoc to avoid compiling error 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan ced3a6ab8e Added an script to test vehicle_physics 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 30ba2b3323 Exposed AddForce and AddTorque 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan ad74bef0c3 Added Constant Velocity Mode to manual_control.py 2020-09-23 20:40:44 +02:00
Daniel Santos-Olivan 4447661d66 First version of the Constant velocity mode
This mode can be enabled in the API and it will keep
a velocity constant.
For now, it needs to be disable automatically but this
can be improved in the future.
2020-09-23 20:40:44 +02:00
sergi-e 81de76fa18 First iteration 2020-09-23 10:34:32 +02:00
Jacopo Bartiromo 7360436c9d
Determinism for Traffic Manager (#3333)
* Check for determinism

* Per-vehicle random device

* Parameterised random device seed.

* Changing next waypoint selection logic
to use bucketing random device sample.

Arranging next waypoint selections right to left.

* Change to numpy's random lib

* Sorting blueprints to ensure determinism

* New method for determinism

* ResetAllTrafficLight now works in sync mode.

* Moving recorder stuff to engine module

* Fixed recorder for traffic lights in standalone mode.

* Added check to prevent traffic light from updating during replay.

* Updating old traffic lights to use the traffic light component.

* Moved recorder to posttick.

* Small fix to elapse time function.

* Added reset group function to API.

* Merge with traffic_manager/determinism_check

* Changes in TL reset
Option to save to file for recorder script

* Added automatic signal match with OpenDRIVE.

* Fixed error that caused traffic light actors to be missing in client side.

* Added new frozen behavior.

* Updated documentation and changelog

* Updated ContentVersions.txt

* Review changes.

* fixes merge error

* fixes merge

* Update build_windows.md

Added info about command execution that toke me many time to find out

* Update build_windows.md

Updated as requested in pull request review

* Running Carla when choosing a) deb Carla install

This fixes a minor error in the documentation regarding running carla, if the deb installation was choosen.

* Fix for traffic manager freezing upon map change

* attempt to change sys clock to sim clock

* Remove manual unlock of mutex

* fixing merge error

* Changelog and review fixes

Co-authored-by: Praveen Kumar <pravinblaze@hotmail.com>
Co-authored-by: bernat <bernatx@gmail.com>
Co-authored-by: Axel1092 <axellopez92@outlook.com>
Co-authored-by: Axel1092 <35765780+Axel1092@users.noreply.github.com>
Co-authored-by: Néstor Sabater <web.nsabater@gmail.com>
Co-authored-by: ll7 <32880741+ll7@users.noreply.github.com>
2020-09-22 15:20:52 +02:00
Axel b963a9e367 Updated docs. 2020-09-22 15:04:28 +02:00
Axel a75fc59eb0 Added reset all traffic lights function. 2020-09-22 15:04:28 +02:00
Daniel Santos-Olivan f1dd2d77fa Added the change of name also in Commands of PythonAPI 2020-09-22 12:00:22 +02:00
Daniel Santos-Olivan 9f5758577d SetVelocity -> SetTargetVelocity
Change the commands set_velocity to set_target_velocity
for both linear and angular velocities.
2020-09-22 12:00:22 +02:00
doterop cc7b1ea910
Retrieve BBs of all the elements of the level (#3301)
* Added new function to calculate BBs on SKM and SM

* Added BB calculation for an array of actors

* Added BB folliage calculation

* Added a call on the GM to get all the BBs of the level

* Fixed Folliage BB calculation.

* GM::GetAllBBsOfLevel now returns the array of BBs

* Added call on the server side to retrieve the BBs

* Removed debug draw calls

* Added call to the PythonAPI

* Added check for empty folliage actors

* Added missing EOF

* Added new RotateVector function

* Added rotation to the BBs

* Update changelog

* Split BB calculation on more functions

* Add tag query and simplified Folliage actor BB calculation

* Look for ISM instead of HISM

* Cleaning comments

* Fixed BB duplication on BP_Procedural_Buildings

* Fixed BB duplication on vehicles BPs

* Added pedestrians case

* Added CityObjectLabel enum on PythonAPI

* Splitted logic in small functions

* Fixed uint8_t

* Merged BB of the lights in a TL

* Splitted work into more functions

* Added missing BB and rotation to TL

* Cleaned comments

* Added missing include

* Changed None to Any in PythonAPI

* Fixed Any enum

* Added check for empty folliage actors

* Added missing EOF

* Added new RotateVector function

* Added rotation to the BBs

* Update changelog

* Split BB calculation on more functions

* Add tag query and simplified Folliage actor BB calculation

* Look for ISM instead of HISM

* Cleaning comments

* Fixed BB duplication on BP_Procedural_Buildings

* Fixed BB duplication on vehicles BPs

* Added pedestrians case

* Added CityObjectLabel enum on PythonAPI

* Splitted logic in small functions

* Fixed uint8_t

* Merged BB of the lights in a TL

* Splitted work into more functions

* Added missing BB and rotation to TL

* Cleaned comments

* Changed None to Any in PythonAPI

* Fixed Any enum

* Fixed rebase
2020-09-21 18:22:03 +02:00
Marc Garcia Puig 7e0546f9c8 Fixed open3d example name 2020-09-18 17:24:56 +02:00
Praveen Kumar f3d357d7d0 Implemented vehicle removal in OSM mode. 2020-09-18 14:55:14 +02:00
Praveen Kumar bc5871330a Implemented parameter for OSM mode. 2020-09-18 14:55:14 +02:00
glopezdiest 32721d951f
Waypoint buffer cleans on route reset (#3264) 2020-09-17 15:48:09 +02:00
doterop 5bdd65ca0e Added call to the PythonAPI 2020-09-10 15:48:22 +02:00
bernat b574ca57e8 Fix manual_control_steeringwheel.py memory leak 2020-09-09 23:07:34 +02:00
bernat 6de460466e Fix manual_control.py memory leak 2020-09-09 23:07:34 +02:00
sergi-e 140bb675d1 Minor fix in Python API 2020-09-03 23:03:13 +02:00
Pasch, Frederik 251d2bbbb7 Remove switch to different default rss parameter, add new members 2020-09-03 16:15:54 +02:00
Pasch, Frederik 5f67e28821 Update RSS library to 4.1.0
Add setMapLogLevel() to rss sensor API
2020-09-03 16:15:54 +02:00
Marc Garcia Puig d75e1516b3 Fixed open3d name 2020-09-02 14:44:42 +02:00
Marc Garcia Puig aabde2182b Small color fix 2020-09-02 14:44:42 +02:00
Marc Garcia Puig 564a15989b Added sem seg water and changed Dynamic color 2020-09-02 14:44:42 +02:00
Marc Garcia Puig c6b6fe6d71 Added color tags in opend3d.py 2020-09-02 14:44:42 +02:00
bernat 9e8f91337b Change to 0.9.10 version 2020-07-31 23:00:20 +02:00
doterop 77f812aed4 Added tick after apply_settings 2020-07-31 21:55:30 +02:00
doterop 91786a7596 Removed wait 2020-07-31 21:55:30 +02:00
doterop a4fa5a82dd Added prints to see what test is running and added wait before starting sync mode 2020-07-31 21:55:30 +02:00
Axel 6d56aa843f Updated function naming. 2020-07-31 21:50:19 +02:00
sergi-e 8765f0fd62 New iteration: PythonAPI, default params, and fixes for Linux build and FAQ 2020-07-31 21:50:19 +02:00
Axel1092 b25b1c4ba6 Updated docs 2020-07-31 21:50:19 +02:00
Axel1092 41ef5040f0 Updated docs 2020-07-31 21:50:19 +02:00
Axel1092 550c252813 Renaming OSM2ODR 2020-07-31 21:50:19 +02:00
Axel1092 8f5a5b43dc Added converter build system for windows. 2020-07-31 21:50:19 +02:00
Axel1092 1047c76d2b Added settings class for osm to odr conversion and documentation. 2020-07-31 21:50:19 +02:00
Axel1092 ed4805557b Finishing fist iteration of the OSM2ODR API 2020-07-31 21:50:19 +02:00
Axel1092 a3fa0f7bed Added xsd schema files to PythonAPI 2020-07-31 21:50:19 +02:00
Axel1092 f9baef5050 Added OSM to XODR to PythonAPI. 2020-07-31 21:50:19 +02:00
Axel1092 f87593aa30 Removed executable. Integration with PythonAPI. 2020-07-31 21:50:19 +02:00
Daniel Santos-Olivan 7a413c845a Added new semantic tags to open3d script 2020-07-31 20:19:40 +02:00
Daniel Santos-Olivan 66a123e2e3 Sensor Sincronization
Added script as an example to syncronize all gathering
of sensor data in the client.

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-07-31 16:39:06 +02:00
bernat 9430d7e6f3 Update documentation 2020-07-31 16:38:41 +02:00
bernat d23ce106bc Add stop for the replayer 2020-07-31 16:38:41 +02:00
sergi-e 3ebcc89dd3 New iteration by S 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 2454972098 Refactored documentation 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 96d0ae27e6 Refactor SemanticLidar in LibCarla and PythonAPI 2020-07-31 15:15:01 +02:00
Daniel Santos-Olivan 187b720902 Updated documentation for RawLidar 2020-07-31 15:15:01 +02:00
Guillermo 8c1181ca00 Fixed global planner's RoadOptions 2020-07-30 16:13:17 +02:00
Daniel Santos-Olivan 245cd0abe9 Removed comment to avoid codacy error 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 573830453f Minor change to satisfy pylint 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan a67d9732f2 Added open3d and matplotlib to requirements.txt 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 378a526524 Minor modification in open3d script
Be careful with the sleep time, its correct value
may vary between machines
2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan f5f992ceff Change delta time reference for profiling 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 65ae2c0366 Minor changes in raycast sensor script 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f94a9bad91 Added Open3D example script 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan f972b32a33 Minor changes to raycast sensor script to adapt to last changes 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 07b4decbfa Update script for rawlidar 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan 3c5f051f93 Changed data structures to data folder 2020-07-30 15:16:42 +02:00
Daniel Santos-Olivan fdb3553b2c Added data/serializer structures for RayLidar 2020-07-30 15:16:42 +02:00
Daniel Santos-Oliván 2b606fc639 Added RayCastRawLidar to the test script 2020-07-30 15:16:42 +02:00
Marc Garcia Puig f11747892f Small fix on environment.py regaring the lights 2020-07-29 16:09:18 +02:00
Pasch, Frederik e70480c664 RSS: Fix calculation of steering angle
As ad-rss-lib is using a right-handed and CARLA left-handed coordinate system, the calculation of the steering angle must be inverted

+ remove obsolete openscenario
2020-07-23 12:59:37 +02:00
sergi.e 9fcde86b05
First iteration (#3089) 2020-07-23 00:52:16 +02:00
Axel1092 bb553e1073 Updated docs. removed coma separations. 2020-07-20 15:10:34 +02:00
sergi.e e5e993c7b1
Fixed transform coord (#3047) 2020-07-15 17:20:52 +02:00
sergi.e b24dedc5d8
sergi-e/fix-actor-alive (#3055)
* First draft

* Fix on recorder show info
2020-07-15 13:39:55 +02:00
sergi.e db9572faa6
sergi-e/dif-rigid-spring (#3043)
* First iteration

* Added warning regarding springarm bug

* Fix on warning
2020-07-15 11:27:41 +02:00
Pasch, Frederik baffc906be Fix egg inclusion 2020-07-14 17:53:28 +02:00
Pasch, Frederik 89443073bf Disable pylint check 2020-07-14 17:53:28 +02:00
Pasch, Frederik 05aac9c0fb Update pylintrc, fix vehicle lights on restricted vehicle control 2020-07-14 17:53:28 +02:00
Pasch, Frederik 805f7c2863 Pylint cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik 2cb29ba938 Further cleanup 2020-07-14 17:53:28 +02:00
Pasch, Frederik bc898acdf9 Cleanup 2020-07-14 17:53:28 +02:00
Bernd Gassmann 0332185e6f Update PythonAPI docu
+ Codeformatting of RSS parts
2020-07-14 17:53:28 +02:00
Pasch, Frederik 88ae9d04ae Update to AD RSS Library 4.0.0
- Added support for unstructured scenes and pedestrians.
- Rework rss example folder structure
- Python based debug drawing
- Handle negative speeds
- Fixes #2871 by linking libproj statically.
- Fixes #2958 by using sequential colcon build
- Allow setting log level
- Add ActorConstellationCallback
- Move setting of RssDynamics to python code
2020-07-14 17:53:28 +02:00
Axel1092 fcc5140873 Updated documentation and changelog 2020-07-10 11:36:31 +02:00
Axel1092 2d26512209 Added new frozen behavior. 2020-07-10 11:36:31 +02:00
Axel1092 07d016d318 Added reset group function to API. 2020-07-10 11:36:31 +02:00
Markus Hofbauer 13d9ac7de1 replace deprecated platform dist with distro linux distribution call 2020-07-08 23:17:33 +02:00