Getting error process has died for rplidar A2M8 - ros

Im trying to run rviz on my raspberry pi.
Via SSH im connecting to my RP which has the rplidar connected. Im not sure if the lidars are defect, however while using a new one, i dont get the error message.
Do you have any idea what could be the problem here and how i can solve it?
"defect" RPLidar A2M8
"defect" RPLidar A1M8
new RPLidar A2M8 from a friend
The firmware seems to be a different one, can i upgrade it in any way? Im working on Ubuntu 20.04 with ROS and ROSserial
I tried to update the firmware, but couldn't find anything i can use

Related

Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org

I am getting below error-
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.
pub upgrade failed (69) -- attempting retry 2 in 2 seconds...
My understanding is I am on office network(VPN) thats why I am getting this error. I have tried multiple options and I have seen multiple multiple post but no post shows the exact way of doing things. So I will post my all questions here, if anyone help it will be really helpful for all persons who are going to start work on flutter
1) How to set and create a self-signed certificate?
Do we need to create a self signed certificate for pub.dartlang.org domain?
have tried to create a certificate by using this (https://www.akadia.com/services/ssh_test_certificate.html) use domain as pub.dartlang.org, is this a correct way or how to do it?
2)I have put DART_VM_OPTIONS=--root-certs-file=C:\Users\dev\certs\chrome.cer as my certificate but still issue not resolved.
3)If I have to set https_proxy? What are the values for hostname and port in VPN? How can i find these values?
Flutter app behind corporate firewall throws TLS error during packages get
4) To solve this issue I have seen the reference of this comment
https://github.com/dart-lang/pub/issues/1882#issuecomment-415588527
How to implement this?
I have tried multiple things, if anyone can help how to bypass this error that will help many persons, I think.
I have same error on MACbook when running Flutter Create. When I opened the web-browser to access pub.dartlang.org, there is an error message that says: Your Clock is set incorrectly.
Somehow my date was set to a week ago. Fixing the date resolve the TLS issue.
It can be a network error or some kind of permission issue. I was facing same issue. In my case it was due to network permissions in our organisation. I tried with some another network which has full access and my issue was resolved.
It might be problem with restricted network.
You can set proxy
systemProp.http.proxyPort=PortNumber
systemProp.https.proxyPort=PortNumber
systemProp.http.proxyUser=User
systemProp.https.proxyUser=User
systemProp.http.proxyPassword=Password
systemProp.https.proxyPassword=Password
systemProp.https.proxyHost=YourHost
systemProp.http.proxyHost=YourHost
systemProp.http.nonProxyHosts=YourNonHost
systemProp.https.nonProxyHosts=YourNonHost
It might be a problem with the restricted environment variables sequence. You can set bash_profile:
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PUB_HOSTED_URL=https://pub.flutter-io.cn
keynote:
"FLUTTER_STORAGE_BASE_URL" is in front of "PUB_HOSTED_URL"
I was also getting the same error, after upgrading my flutter. I was connected to the internet but my clock was not on correct time. After I have corrected the time on my pc, the error was solved.

Neo4j Desktop Fails to Open - Javascript Error

When trying to start Neo4j Desktop, I'm getting a Javascript error. From the looks of it, it seems like the problem is with the desktop client (seems electron based) itself and not the database itself. Anyone encounter something similar or know how I could troubleshoot further? Running Windows 7.
I never managed to solve this exact issue. However, given that neo4j desktop comes with neo4j server, I could start the server no problem and connect to localhost:7474 and access the web interface which served my needs.

Unknown Error using mosquitto on a new computer

Today i installed mosquitto on a diffrent pc and im getting an error, that i personally cant do anything with.
I have googled for the past 2 hours without any luck regarding the issue.
when calling
mosquitto_pub.exe -t "something" -m "something"
i receive this error message:
"Unable to connect (Lookup error.)."
From what i have been reading the usual Errors come with codes that let u track the issue but this is so vague i have no idea what the problem could be.
I have set it up on 3 other pcs without any issues and the command works without any problems.
Now on this new pc, the error comes constantly.
Has anyone else encountered this, using mosquitto in the past and knows a way of fixing it?
All Pcs are running windows 7 64bit, and similar hardware.
I identified the problem myself.
The network connection was disabled which led to that error.

Does HHVM support IMAP?

I have a new ubuntu server running HHVM that I just installed my PHP application on. Everything seems to work fine except one aspect.
I have a button that queries an external e-mail box, and downloads the attachments to the server, however when I run that function I get:
Fatal error: Call to undefined function imap_sort()
I know there's usually a module for it, but I don't know how to check for it on this setup.
Any help is appreciated.
The HHVM documentation for imap_sort very loudly proclaims
NOT SUPPORTED IN HHVM
so no, HHVM does not currently support this function.

py2neo 2.0.4 remote connection refused

looked into related questions and answers and can't find a solution for the 'connection refused' when trying to use py2neo 2.0.4.
Here the ipython session (python '2.7.5 (default, Mar 9 2014, 22:15:05) \n[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]')
[1]: from py2neo import Graph, watch
[2]: watch('httpstream')
[3]: g = Graph('http://odroid:7474/db/data')
[4]: g.cypher.execute('match (y:Year) return y')
GET http://odroid:7474/db/data/
200 OK [699]
GET http://odroid:7474/
200 OK [94]
POST http://odroid:7474/db/data/transaction/commit [102]
200 OK [chunked]
GET http://0.0.0.0:7474/
! SocketError: Connection refused
The installed bin/cypher also fails.
Same on odroid (odroid-c1 arm quad core) works fine (even with the same url).
Other methods g.create(Node... ) work fine.
This doesn't look like correct behaviour and there's nothing obvious wrong with your code.
I'm not sure which version of Neo4j server you're using but you could try narrowing down the issue to either a problem in the driver or a problem in the server by using cURL against the REST interface directly. Complex network configurations (e.g. using a proxy) can also contribute to unexpected behaviours like this. Depending on your setup, you may want to try to eliminate that too.
If you can narrow this down to either a py2neo or Neo4j problem then your best bet is to raise an issue on the corresponding project on GitHub.

Resources