Comments (16)
Also, we have to do a trick to use kvaser usb as socketcan interface.
sudo modprobe kvaser_usb
<- unplug and plug kvaser usb here
sudo ip link set can0 up type can bitrate 50000
from autoware.
We have never used ros2_socketcan
on autonomostuff vehicle, so we have to test it on the real vehicle before migrating to ros2_socketcan
.
from autoware.
@IshitaTakeshi Please describe for what reasons you need kvaser-interface
.
Also, is it impossible to replace it with https://github.com/autowarefoundation/ros2_socketcan?
It seems Kvaser devices supports SocketCAN.
https://www.kvaser.com/socketcan-support-for-kvaser-devices-updated/
from autoware.
Okay, then I think we should test it. If it won't work we'll import the role from here.
https://github.com/tier4/AutowareArchitectureProposal.proj/blob/474da436880f93bd59d87107bd9d83254b0cd9b3/ansible/roles/pacmod/tasks/kvaser_library.yml
from autoware.
Thank you. I think it can be supported by some setup scripts for real vehicles.
from autoware.
This is the reason to add kvaser-interface to the requirements. When launching the logging simulator it says that kvaser_interface cannot be found.
root@87a3663a4a81:/autoware# source install/setup.bash
root@87a3663a4a81:/autoware# ros2 launch tier4_autoware_launch logging_simulator.launch.xml sensor_model:=aip_xx1 map_path:=/dataset/kashiwanoha/ vehicle_model:=lexus
[INFO] [launch]: All log files can be found below /root/.ros/log/2022-01-19-09-21-13-992999-87a3663a4a81-60
[INFO] [launch]: Default logging verbosity is set to INFO
Task exception was never retrieved
future: <Task finished name='Task-2' coro=<LaunchService._process_one_event() done, defined at /opt/ros/galactic/lib/python3.8/site-packages/launch/launch_service.py:226> exception=PackageNotFoundError("package 'kvaser_interface' not found,
from autoware.
Why do you need kvaser-interface
for the launch file?
Do you use a physical CAN in the simulation?
from autoware.
Not sure so I grep-ed in the workspace directory and got the following
# find . -type f | xargs grep kvaser_interface
./src/vehicle/lexus_launch/launch/pacmod3.launch.py: package='kvaser_interface',
./install/lexus_description/share/lexus_description/launch/pacmod3.launch.py: package='kvaser_interface',
Apparently pacmod3 requires it.
from autoware.
I know it has the dependency, but my question is, why do you have to launch the node in the simulation?
from autoware.
What node do you refer to?
My current task is to improve the localization accuracy and availability so basically I don't need to launch all the nodes under the logging simulator, but for me, who doesn't know that much about the Autoware architecture, it is easier to launch the logging simulator than disabling unnecessary nodes.
from autoware.
What node do you refer to?
Probably this?
https://github.com/tier4/lexus_description.iv/blob/4a3a06e297f85a737d2b5879b508843b2998038a/launch/pacmod3_with_kvaser-node-launch.py
but for me, who doesn't know that much about the Autoware architecture,
I believe it's better that you'll get familiar with Autoware and do appropriate handling!
I guess, for example, we need to add an option of whether to launch kvaser-interface
, to this file.
from autoware.
Okay, but at least as an OSS it should be much better the logging simulator always works fine so when merging the Dockerfile to the default branch we should disable the node depending on kvaser-interface
(or install kvaser-interface
), otherwise users will regard autoware as just useless.
from autoware.
@IshitaTakeshi Regarding that, I believe we should consider replacing kvaser-interface
by ros2_socketcan
.
#2417
Please understand that adding everything isn't always correct.
from autoware.
Acceptance Criteria:
- Consider replacing
kvaser-interface
byros2_socketcan
.
We need to evaluateros2_socketcan
with Kvaser devices to do that.
Or,
- Consider removing
kvaser-interface
fromlogging_simulator.launch.xml
.
Essentially, no hardware is required for the simulation.
from autoware.
Acceptance Criteria:
- Consider replacing
kvaser-interface
byros2_socketcan
.
We need to evaluateros2_socketcan
with Kvaser devices to do that.Or,
- Consider removing
kvaser-interface
fromlogging_simulator.launch.xml
.
Essentially, no hardware is required for the simulation.
Maybe we should removekvaser-interface
fromlogging_simulator.launch.xml
and using ros2_socketcan. We can setup a fake socket can interface when doing simulation.
from autoware.
Since I've created https://github.com/autowarefoundation/sample_vehicle_launch that doesn't depend on kvaser
or pacmod
, I'll close this.
from autoware.
Related Issues (20)
- Report results of the weekly scenario tests publicly as dashboard
- Autoware weekly scenario tests are failing. HOT 3
- Docker Image OpenADK with CUDA support has an issue with CUDA installation HOT 2
- Prune and document the docker packages HOT 3
- Migration from autoware_auto_msgs to autoware_msgs
- Enhancing scenario_simulator_v2 to print or visualize parameters/modifiers used for test iterations
- When the display scale is set to 200% the Rviz window always crashes HOT 1
- `docker-build-and-push` should not push an image for every commit to main
- `docker-build-and-push-main` is failing HOT 4
- compare_map_segmentation
- Missing environment variables in devel Docker container HOT 2
- Separation of `autoware_common` to `autoware_cmake`, `autoware_utils` and `autoware_lanelet2_extension` HOT 2
- `docker/build.sh` fails with `ssh_auth_sock: no such file or directory` HOT 1
- Only `cuda` jobs generate empty cache on `build-main` and `build-main-self-hosted` workflows
- Autoware packages release from ROS buildfarm
- Lightweight devel build for docker HOT 2
- CMake error during installation
- Autoware docker fails to build when --devel-only is assed as argument to build.sh HOT 2
- Performance analysis of a multi-container Autoware deployment
- AD failure acused by /system/operation_mode/state missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoware.