Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation Error: "no server running on /tmp/tmux-0/default" #30

Open
ryne2010 opened this issue Jul 7, 2023 · 1 comment
Open

Simulation Error: "no server running on /tmp/tmux-0/default" #30

ryne2010 opened this issue Jul 7, 2023 · 1 comment

Comments

@ryne2010
Copy link

ryne2010 commented Jul 7, 2023

After successfully building and starting the two containers and connecting to the vehicle container, I get the following error when attempting to list the processes.

"no server running on /tmp/tmux-0/default"

And subsequently receive the following error when attempting to connect to the main process.

"no sessions"

Untitled
@merlinran
Copy link
Collaborator

the tmux sessions are started by vehicle/autolaunch_vehicle_sim.sh. You can manually run the scripts there. Here's the result, so yeah there are some dependency issues

root@docker-desktop:/home/acorn # /home/acorn/vehicle/start_main.sh --sim
Traceback (most recent call last):
  File "/home/acorn/vehicle/master_process.py", line 36, in <module>
    import nvidia_power_process
  File "/home/acorn/vehicle/nvidia_power_process.py", line 30, in <module>
    import RPi.GPIO as GPIO
  File "/usr/local/lib/python3.8/dist-packages/RPi/GPIO/__init__.py", line 23, in <module>
    from RPi._GPIO import *
RuntimeError: This module can only be run on a Raspberry Pi!
root@docker-desktop:/home/acorn # /home/acorn/vehicle/start_motors.sh --simulated_hardware
Traceback (most recent call last):
  File "/home/acorn/vehicle/motors.py", line 34, in <module>
    import corner_actuator
  File "/home/acorn/vehicle/corner_actuator.py", line 36, in <module>
    from odrive.enums import *
ModuleNotFoundError: No module named 'odrive'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants