Openpilot in Simulation Mode is not using IMU data.
See original GitHub issueDescribe the bug
When running the bridge.py script to bridge the Carla server, in the IMU callback, the sensorEvent packet does not set a timestamp, and hence in locationd, the packet is rejected as it checks the timestamp to 0, and rejects the packet as it assumes there is no valid data.
I am not sure if in simulation mode this is the expected behaviour or a bug and wanted to point it out.
A possible solution would be to extend common.clock.pyx to include a nanosec_since_boot()
function as the carla server maintains simulation time apart from linux.
OS Version
Ubuntu 20.04
openpilot version or commit
No response
Additional info
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
openpilot port guide for Toyota models | by comma ai - Medium
The purpose of this post is to provide a simple how-to guide to port openpilot on currently unsupported Toyota models and trims. Making...
Read more >OpenPilot Revolution and RevoMini — Copter documentation
OPLink port on RevoMini. OPLink hardware is not supported by ArduPilot, but this port exposes external SPI pins (SCK, CS, MOSI, MISO) that...
Read more >How openpilot works in 2021 - comma.ai blog
Essentially, openpilot reads data from various sensors (camera, IMU, steering wheel angle sensor, GNSS receiver, etc.), processes their outputs ...
Read more >Simulation and Control of Deformable Autonomous Airships in ...
This is not the case for airships, a simulation of which needs to ... with an Openpilot Revolution flight controller (including an IMU, ......
Read more >Estimate Position and Orientation of a Ground Vehicle
Typically, ground vehicles use a 6-axis IMU sensor for pose estimation. ... truth trajectory to ensure the first sample is not % skipped...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can I start working on an issue or does it need to be assigned first ?
You need to run the python script from the main
openpilot
folder, or update$PYTHONPATH
to include the openpilot directory.carla
is another python package you need along with the carla server.