Commit Graph

1035 Commits

Author SHA1 Message Date
doterop a0fc0178a5 Removed BB on PythonAPI 2020-10-19 21:31:45 +02:00
doterop 2fbfda2f24 Renamed and added enable/disable call 2020-10-19 21:31:45 +02:00
doterop df6e6eef65 Renamed object to mesh 2020-10-19 21:31:45 +02:00
doterop 374995b835 Added CarlaObject and objects function. 2020-10-19 21:31:45 +02:00
Axel 97be57b11a Added comments 2020-10-19 10:30:46 +02:00
Axel1092 aedd709119 Fixed map.get_waypoint function crashing with LaneType.Any 2020-10-19 10:30:46 +02:00
sergi.e 31fff28bc6
sergi-e/api-snipets (#3409)
* First iteration with snipets, copy button and snippet button for all methods

* New iteration with snipets implemented and test snipets

* New iteration without yaml intervention, with auxiliary doc deleted and responsive buttons to window width

* New iteration with snipets copied from recipes, images added, and invisible button for small window

* Fixed some marging issues & code formatting

* Removed recipe reference and its instances. Snipets are now scalable to window width. Added button to close snipet. doc_gen_snipets.py is now imported in doc_gen.py. Cleaned css inside .py and added to extra.css

* New iteration with two functionalities for snipet buttons. Pop up for small windows.

* Fixed bp_library.md

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-10-15 16:48:48 +02:00
sergi.e 00b2d85fe8
sergi-e/warning-docs-version (#3435)
* Fixed get_lightmanager remaining instances

* added warning regarding docs version

* fixed deg/s in carla.Actor
2020-10-13 14:41:10 +02:00
sergi-e 79100c1571 Fixed carla.Imaage iter 2020-10-08 16:27:40 +02:00
sergi-e 507121620d First iteration on iter methods 2020-10-08 16:27:40 +02:00
berndgassmann b91e1b5e0e
Merge pull request #3388 from carla-simulator/fix_rss_sensor 2020-10-08 11:29:25 +02:00
sergi-e a12943d329 First iteration of sync 2020-10-07 11:42:28 +02:00
Daniel Santos-Olivan 95abf25a10 Added EnableGravity and better SetSimulatePhysics 2020-09-30 19:38:54 +02:00
Axel c2cb39afca Removed libxerces-c from prerequisites and documentation 2020-09-30 12:52:00 +02:00
Axel a4eaba572f Added Xerces-c library to setup.sh 2020-09-30 12:52:00 +02:00
doterop e05b58c2a4
Retrieve BBs of level (#3360)
* 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

* Fixing wrong BB on splines

* Fixed ISM transform to World

* Fixed duplication of RotateVector

* Added Rotation to BB output string

* Removed hidden components and procedural building

* Fixed string BB output

* Removed logs

* Fixed filter on pedestrians

* Fixed black debug lines in package

Co-authored-by: Marc Garcia Puig <marcgpuig@gmail.com>
2020-09-24 23:33:11 +02:00
sergi-e 568ca0ee33 Last fixes 2020-09-24 17:04:39 +02:00
sergi-e a58a1f5b6d First iteration 2020-09-24 17:04:39 +02:00
sergi-e 79457a6e76 New iteration on Ja comments 2020-09-24 14:48:55 +02:00
sergi-e b17b2e44df Notes on spawn_npc.py 2020-09-24 14:48:55 +02:00
sergi-e aa2d37a124 New iteration on Ja comments 2020-09-24 14:48:55 +02:00
sergi-e 017f8e3290 Changed parameter name 2020-09-24 14:48:55 +02:00
sergi-e e97bb44b5c First iteration 2020-09-24 14:48:55 +02:00
sergi-e fda9e9fb9e New iteration on M comments 2020-09-24 13:31:39 +02:00
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