Commit Graph

1023 Commits

Author SHA1 Message Date
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
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