-
Notifications
You must be signed in to change notification settings - Fork 170
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
How to access HighState while doing low level control? #113
Comments
Hello,we are very sorry that we do not support this at the moment. |
@xyq1223 mate , do you know how to get /gazebo/model_states and /aliengo_gazebo/joint_states in a real robot ? |
Hi! Is there a way to get the estimated state while in low level mode? Or access the state estimator separately and run it ourselves while in low state mode? Why can't the state estimator keep working while in lowlevel control mode? |
what is estimated state ? |
When running the SDK in HighLevel mode, one can access to an estimate of the robot body position and velocity, which I assume is inferred by a built-in state estimator that leverages the onboard sensors of the robot as well as maybe leg kinematics. The problem is that when switching to LowLevel mode, you cannot access that information anymore, which doesn't make sense to me because state estimation should not be coupled to the joint commands outputed by the built-in controller in highlevel mode. |
@alvarobelmontebaeza Oh , do you mean you want to get robot's body position and velocity in low level ? It's definitely could , because I used to access these information by Ros , and I run my RL model in real robot in low_level control successfully. |
@heartInsert Are you sure? I mean, the reason for this topic is issue is that the estimated state is not accessible in LowLevel mode. When you set the robot into lowlevel mode, it stops updating the values of the highLevel state message. If it is working for you, could you share some code? |
@alvarobelmontebaeza I don't know what messages you want , I remember that I can get robot's 12 joint's position and acceleration and orientation , all of these information is updated all the time , do you want these ? I didn't run my robot in High-level , so I don't know the information in High-level. |
That information is joint-level information and IMU sensor raw info, which is quite noisy and you cannot really rely on that. If you run in HighLevel mode, you get also an estimate of global position and velocity of the body, which is what I'm interested in. Maybe @xyq1223 who replied earlier in this thread has more insight |
Hi,
I'm trying to do low-level control but would like to use the in-built state estimator and would like to access the variables in HighState to perform low level control. Any leads on this will be helpful
The text was updated successfully, but these errors were encountered: